Re: C1X Unicode strings without raw strings

2011-08-18 Thread Jason Merrill
On 08/18/2011 11:15 AM, Joseph S. Myers wrote: predefined by the compiler. (I'm presuming that difference from C1X is still there in the approved version of C++0X, although it's doubtful that C++ *should* differ from C1X in this way.) Thanks, I've raised the issue. Jason

Re: C1X Unicode strings without raw strings

2011-08-18 Thread Joseph S. Myers
On Thu, 18 Aug 2011, Michael Matz wrote: > Hi, > > On Thu, 18 Aug 2011, Joseph S. Myers wrote: > > > @@ -315,6 +315,10 @@ struct cpp_options > >/* Nonzero means process u/U prefix literals (UTF-16/32). */ > >unsigned char uliterals; > > > > + /* Nonzero means process r/R rax strings.

Re: C1X Unicode strings without raw strings

2011-08-18 Thread Michael Matz
Hi, On Thu, 18 Aug 2011, Joseph S. Myers wrote: > @@ -315,6 +315,10 @@ struct cpp_options >/* Nonzero means process u/U prefix literals (UTF-16/32). */ >unsigned char uliterals; > > + /* Nonzero means process r/R rax strings. If this is set, uliterals > + must be set as well. */

C1X Unicode strings without raw strings

2011-08-18 Thread Joseph S. Myers
C1X has Unicode strings (u"", U"", u8"") but not raw strings. I've applied this patch to enable the appropriate features in C1X mode. C1X also has predefined macros __STDC_UTF_16__ and __STDC_UTF_32__ to indicate that char16_t and char32_t really are UTF-16 and UTF-32 (which they always are with