This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Lots of suggestions for the gcc manual


stl@caltech.edu (Stephan Thomas Lavavej)  wrote on 13.09.03 in <Pine.GSO.4.58.0309130347490.24873@blinky>:

> I propose a clearer layout would be to begin the document with
> -fsyntax-only, -pedantic, -pedantic-errors, and -w as it currently
> does, and then to begin a whole new section: Warnings Included In -Wall.
> Every warning that -Wall enables would go in that section and nothing
> else. If a warning can be further modified, as -Wformat can be, then
> it should link to /another/ section that explains all the modifications
> that can be done, but under no circumstances should any warnings not
> in -Wall appear in the -Wall section.

I have an alternate proposal: every warning that is in -Wall should be  
listed as

`-Wformat' (in -Wall)

and similar for -Wextra.

Oh, and for always-on-but-can-be-disabled there should be a similar remark  
right after the option name, possibly "(default on)". Similar "(C++ only)"  
and whatever else seems appropriate.

Apart from that, I'd like these to be sorted strictly alphabetically.

Another thing that would be very good would be to include the exact  
warning text(s) triggered by the warnings; this would make it much easier  
to find the relevant option when you have a message (and that option is,  
after all, the only place you are likely to find any kind of explanation).

MfG Kai


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]