This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: warn/croak on "string" "string" auto-joins
- From: Zack Weinberg <zack at codesourcery dot com>
- To: "Dave Korn" <dk at artimi dot com>
- Cc: "'Adam Monsen'" <haircut at gmail dot com>, <gcc at gcc dot gnu dot org>
- Date: Tue, 17 Aug 2004 11:24:06 -0700
- Subject: Re: warn/croak on "string" "string" auto-joins
- References: <NUTMEGTosnwO5UGXtTG00000dd2@NUTMEG.CAM.ARTIMI.COM>
"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