[g++ 4.4] Unicode string literal support?

Paolo Carlini paolo.carlini@oracle.com
Sun Oct 11 14:50:00 GMT 2009


Hi Beman
> http://gcc.gnu.org/projects/cxx0x.html shows Unicode string literals (N2442) as
> being supported in gcc 4.4. But this little program fails to compile:
>
> #include <iostream>
> int main()
> {
>   std::cout << u8"foo" << std::endl;
> }
>   
...
> Is this a bug in gcc? A bug in the C++0x Support page? A bug in my test?
>   
To my best knowledge the feature is not implemented at all, thus a bug
in the C++0x Support page.

Paolo.



More information about the Gcc mailing list