What does the clang compiler's `-Weverything` option include and where is it documented?
问题 clang, but NOT gcc, has a -Weverything option which appears to include things such as -Wpedantic . You can test it here: https://godbolt.org/z/qcYKd1. See the top-right of the window for where I have typed in -Weverything as an explicit compiler option. Notice the -Wvla-extension warning we get since we are relying on a C99 extension in C++ in this case, and we have -Weverything set. We get the same warning if we just use -Wpedantic , as shown here: https://godbolt.org/z/M9ahE4, indicating