#elsif
Nick Ing-Simmons
nik@tiuk.ti.com
Thu Apr 9 03:09:00 GMT 1998
Philippe De Muyter <phdm@macqel.be> writes:
>> 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 ?
What if #elsif is supported by another compiler?
--
Nick Ing-Simmons <nik@tiuk.ti.com>
Via, but not speaking for: Texas Instruments Ltd.
More information about the Gcc
mailing list