warn/croak on "string" "string" auto-joins
Zack Weinberg
zack@codesourcery.com
Tue Aug 17 18:55:00 GMT 2004
"Dave Korn" <dk@artimi.com> writes:
>> -----Original Message-----
>> From: Zack Weinberg
>> Sent: 17 August 2004 19:01
>
>> "Dave Korn" writes:
>>
>> > More seriously though, I don't see why there shouldn't be
>> one, but rather
>> > than make coders go through and lint-markup every place
>> where we really
>> > meant to concat two strings in a macro (one of which has
>> only just been
>> > en-quoted), maybe the warning should just default to "off"?
>>
>> I'm wondering how useful it would be without lint-markup even if it
>> *did* default to off.
>>
>> zw
>
>
> Point taken. Maybe a more useful set of options than "on/off" would be
> "on/off/off in system headers but on in application files"
All warnings are off in system headers anyway.
Why don't you and Adam talk this over and come up with a specification
that would work for you?
zw
More information about the Gcc
mailing list