This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: #elsif
- To: eggert at twinsun dot com (Paul Eggert)
- Subject: Re: #elsif
- From: "Philippe De Muyter" <phdm at macqel dot be>
- Date: Thu, 9 Apr 1998 00:26:05 +0200 (MET DST)
- Cc: gavin at cygnus dot com, gcc2 at cygnus dot com, egcs at cygnus dot com
> I assume that you do not want to make a special case for `elsif' only.
> (That would be odd; it wouldn't catch other misspellings like `elseif'.)
> But if we report _all_ misspelled directives, then we run afoul of the
> examples that caused RMS to change cccp.c to behave the way it does
> today.
>
> I wouldn't mind adding the checking to -W (or perhaps to -Wundef); but
> I don't think it should be on by default.
>
Could you rather warn for every unrecognized directive, even without -W or
-Wall, but have a list of directives accepted by other compilers for which
you would not complain ?