Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Rhys_Ulerich
New Contributor I
28 Views

What specific warnings do -Wall and -Wcheck enable?

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

[1] http://software.intel.com/sites/products/documentation/hpc/compilerpro/en-us/cpp/lin/compiler_c/copt...

[2] http://software.intel.com/sites/products/documentation/hpc/compilerpro/en-us/cpp/lin/compiler_c/copt...

[3] http://software.intel.com/sites/products/documentation/hpc/compilerpro/en-us/cpp/lin/compiler_c/copt...

0 Kudos
0 Replies