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]
Other format: [Raw text]

Re: warn/croak on "string" "string" auto-joins


"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


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