> Therefore, only -Wswitch is enabled by -Wall but neither of 
> Wswitch-default or Wswitch-enum are.

The statement for -Wall says:

-Wall
    All of the above `-W' options combined. This enables all the warnings about 
constructions that some users consider questionable, and that are easy to avoid 
(or modify to prevent the warning), even in conjunction with macros. This also 
enables some language-specific warnings described in C++ Dialect Options and 
Objective-C and Objective-C++ Dialect Options. 

Note; a bunch of -W options has the sentence "This warning is enabled by -Wall".
But there are a few that doesn't, but they are in the "All of the above" list.  
Perhaps
the description for -Wall shouldn't include "All of the above '-W' options 
combined".
Or move the descriptions that doesn't include the "This warning is enabled by 
-Wall"
below the -Wall description.

It is confusing to read "All of the above" when it doesn't mean all of the 
above.

--jc

Reply via email to