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


On Tue, 17 Aug 2004 11:01:11 -0700, Zack Weinberg <zack@codesourcery.com> wrote:
> "Dave Korn" <dk@artimi.com> 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.

It would help find the bug I mentioned, for instance. That would be
useful to me.

How 'bout:
#pragma concatstrings 0

-- 
Adam Monsen <adamm@wazamatta.com>
http://adammonsen.com/


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