#elsif
Philippe De Muyter
phdm@macqel.be
Wed Apr 8 21:20:00 GMT 1998
> 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 ?
More information about the Gcc
mailing list