Problem declaring a Wide char string

Mansoor Peerbhoy mansoor@cybermedia.co.in
Wed Dec 15 02:41:00 GMT 1999


Hi,

I am facing a problem with declaring a literal string as a wide-char
string.
For Example in Visual C++, it is legal to say
#define XYZ L"Something"

This will cause the symbol XYZ to expand to a wide-char string "Something"
at compile time

But I cannot do this on GCC. Is there any way out, that you know of ?
Some equivalent to this L ?

Thanks,

Best regards,
Mansoor Peerbhoy




More information about the Gcc mailing list