gcc --help=warnings,seperate gcc --help=warnings,joined gcc --help=warnings,undocumented gcc --help=warnings
individual flags are similar to booleans; they are either on or off.
-Wflag means on. -Wno-flag means off.
attached flags are flags that require a value.
-Wflag = value
by typing gcc --help = warnings , you will get all the warning options provided by your compiler.
EDIT:
looking at the GNU Documentation , these warning messages existed after GCC 4.3.6
source share