This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Multi line string literals are deprecated considered bad


On Mon, Mar 19, 2001 at 10:44:47PM +0000, Joseph S. Myers wrote:
> On Mon, 19 Mar 2001, Neil Booth wrote:
> 
> > This isn't a reasonable demand to put on CPP; either we deprecate
> > multi-line strings or we keep them.  CPP has no idea if it's in an asm
> > construct, and nor should it.
> 
> I agree they should simply stay deprecated.  Undocumented extensions (as
> multi-line strings AFAIK have been in all releases) are subject to change

They are not undocumented, although the description is a bit hidden. 
The documentation of -traditional documents that without it 
in gcc string constants can contain new lines.  

-Andi


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