Is there a way to find out what warnings/checks are enabled when either -Wall or -Wcheck is specified? Neither reference page in the compiler manual [1,2] lists the relevant options. There's some discussion of /W4 on the -Wall documentation, but I've been unable to find a table of which warnings are enabled at /W4 (or any other /Wn).
Other options reference pages, e.g. -Wreorder, give no information about whether or not -Wall enables them. For comparison, GCC's -Wall does appear to turn on -Wreorder.
Thanks,
Rhys
Link Copied
For more complete information about compiler optimizations, see our Optimization Notice.