This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


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

Re: GCC is depreciating multi-line strings


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


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