GCC is depreciating multi-line strings

Andrew Cagney ac131313@cygnus.com
Wed Mar 21 15:59:00 GMT 2001


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



More information about the Gdb mailing list