This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: multi-line literals
- To: "Daniel Vogel" <vogel at epicgames dot com>
- Subject: Re: multi-line literals
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: 04 Nov 2001 00:26:29 -0800
- CC: gcc-bugs at gcc dot gnu dot org
- References: <JDELJAKFANAJKHIFLFBLIEIEELAA.vogel@epicgames.com>
- Reply-to: Geoff Keating <geoffk at redhat dot com>
"Daniel Vogel" <vogel@epicgames.com> writes:
> gcc 3.0.2 stock build (and FWIW gcc 3.0) warn about multi-line literals
> being deprecated even though the code in question is #ifdef'ed out.
>
> - Daniel Vogel, Programmer, Epic Games Inc.
I think this is correct. If multi-line literals went away, then code like:
#if 0
"foo
"
#endif
would be an error, because '"foo' isn't a valid preprocessing token.
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>