This is the mail archive of the gcc-patches@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: cpplib: Start moving switch handling to front ends


On Thu, Aug 08, 2002 at 10:59:02AM -0700, Stan Shebs wrote:
> >If everybody thinks, it is not OK then I will change it to 
> >-Wno-pound-warnings.
> 
> "pound" is somewhat cultural - I think of the char as "sharp" (musical),
> and H-P called it "hash".  If we do this, we should use terminology from
> the language definition and call it -Wno-warning-directives.

I was considering suggesting -Wno-user-warnings, but I like your
spelling better.  And I do not have a problem with FSF GCC accepting
-Wno-#warnings as long as there is an alternate spelling that doesn't
use shell metacharacters, too.  (Neil is free to disagree.)  Note that
the Bourne shell spec says that # is only magic at the _beginning_ of
a token; not sure what csh does.

To backpedal a bit, it would be _nice_ if we had a general warning
control mechanism, but since we don't and won't get one in time for
3.3, I think that adding more -W options is okay.  It's certainly less
trouble than adding -f or -m options, which have a much bigger effect
on the compiler's behavior.

zw


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