This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Named warnings
shebs@apple.com (Stan Shebs) wrote on 23.01.03 in <3E30CDBB.4000300@apple.com>:
> Joseph S. Myers wrote:
> >One thing not mentioned: a -W option to output warnings with their
> >individual names, so someone can use -Wall -Wwarning-names to see the name
> >of the one specific -Wall warning they want to disable. (I don't think we
> >want warning codes cluttering output by default.)
> >
> That's a really good idea, thanks! That will save users from a round of
> hunt-through-the-manual because they can't remember which messages
> go with which warning flags.
Ugh.
Strike -Wwarning-names. Do the effect always. Anything else leads to
insanity. (And in fact that's how everybody else does it.)
MfG Kai