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]

Re: #elsif


> 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 ?


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