Re: GCC is depreciating multi-line strings

Andrew Cagney
2001-03-21T15:59:00Z

Andrew Cagney wrote:
>
> Um, I'm slightly confused. What exactly is ment by multi-line strings?
> I've found this link and am still looking :-)
>
> http://gcc.gnu.org/ml/gcc/2001-03/msg00855.html

Ok, there are the following:

illegal:

"blah
blah"

k&r

"blah\n\
blah"

iso-c

"blah\n"
"blah"

GDB should only be using the latter two with new code prefering the last
one. I think, for the most part, it is. Code using the first can
obviously be fixed :-)

Andrew