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
caj@cs.york.ac.uk (Chris Jefferson) wrote on 19.08.04 in <41251677.9060704@cs.york.ac.uk>:
> >Without intervening line feed is pretty much the *only* way I use
> >automatic concatenation. I can't immediately think of a single good reason
> >to use it *with* intervening line feed ...
> "When you want to keep your line length short, but write a very long "
> "string then automatic concatentation can be very useful.. I use it all "
> "the time, but maybe this suggests that I often have too long embedded "
> "strings in my C++ code"
True ... that comes up rarely enough that I didn't manage to think of it.
(Especially as my personal experience is that overlong lines usually read
better when not artificially linewrapped.)
Come to think of it, another (hopefully also rare) case is asm statements.
MfG Kai