[Bug c/35908] Dubious charset conversions

2009-03-29 Thread jsm28 at gcc dot gnu dot org
--- Comment #3 from jsm28 at gcc dot gnu dot org 2009-03-30 01:03 --- As discussed, L"a\xff" is the correct interpretation, and the strings changes in C++0x and C1x make that clear. -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c/35908] Dubious charset conversions

2008-04-11 Thread neil at daikokuya dot co dot uk
--- Comment #2 from neil at daikokuya dot co dot uk 2008-04-12 04:40 --- Subject: Re: Dubious charset conversions joseph at codesourcery dot com wrote:- > > GCC accepts the following with -ansi -pedantic -Wall without diagnostics > > > > #include > > wchar_t z[] = L"a" "\xff"; > >

[Bug c/35908] Dubious charset conversions

2008-04-11 Thread joseph at codesourcery dot com
--- Comment #1 from joseph at codesourcery dot com 2008-04-11 16:58 --- Subject: Re: New: Dubious charset conversions On Fri, 11 Apr 2008, neil at gcc dot gnu dot org wrote: > GCC accepts the following with -ansi -pedantic -Wall without diagnostics > > #include > wchar_t z[] = L"a"