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, 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
or deprecation, and should not be relied on.  If you want to use such a
feature, it's best so submit a patch to document it, and then it can be
considered whether we do in fact want to make it a documented feature -
but don't rely on it until it's documented in an actual release as a
non-deprecated feature, since extensions that have only appeared or been
documented in development versions may also be subject to change.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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