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: "Dave Korn" <dk at artimi dot com>
- To: "'Zack Weinberg'" <zack at codesourcery dot com>
- Cc: "'Adam Monsen'" <haircut at gmail dot com>,<gcc at gcc dot gnu dot org>
- Date: Tue, 17 Aug 2004 19:07:37 +0100
- Subject: RE: warn/croak on "string" "string" auto-joins
> -----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"
cheers,
DaveK
--
Can't think of a witty .sigline today....