------- Comment #4 from manu at gcc dot gnu dot org 2010-05-20 17:04 ------- The manual documents what is enabled by -Wall and -Wextra and all other groups options. We will accept patches fixing any missing/mistaken entries. You could also propose some warnings to be moved to Wextra. Getting into Wall is more difficult because they have to be pretty clear and serious warnings without few false positives.
See also the option -fdiagnostics-show-option. It would be extremely useful to go through the manual and: * Document which warnings are exactly enabled by -pedantic -Wall and -Wextra. Wall and Wextra should be ok but could be good to double check them. * Document which warnings are not enabled by default or by one of the above. Provide a complete list of those warnings. * With this list at hand, one could suggest to move some warnings to Wextra or... * perhaps provide a "Wparanoid" setting that includes all those warnings. Although some may be too specific to make sense at all except for very specific situations. That is why the list might be interesting. * A list of warnings enabled by default would also be interesting. (They are mentioned in the manual for each warning, but there is no complete list.) Instead of -show-warnings, I would propose to extend the current --help=warnings --verbose. However, that would mean documenting within GCC the relations between the warnings options. That by itself (even without the output) would be EXTREMELY useful if done properly, that is, by adding the information to the *.opt files that define the flags. I can provide pointers on how this could be implemented. A follow-up patch could even fill the details of the manual from that information automatically! So, I think yes, we are interested in any of the above, so if you are interested in providing patches, choose something small to start with (some small documentation patch to the manual), and ask whatever you want. You may ask here or write to me directly. -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu dot org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-05-20 17:04:01 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44210