Changing WCHAR_TYPE from "long int" to "int"?

Gabriel Dos Reis gdr@codesourcery.com
Sun Aug 5 10:06:00 GMT 2001


"H . J . Lu" <hjl@lucon.org> writes:

| changed from "long int" to "int". The only thing I can think of is
| the C++ libraries. But gcc 3.x doesn't work on Linux/mips. The one
| I am working on will be the first gcc 3.x for Linux/mips. So there
| shouldn't be any problems. Am I right?

Normally, wchar_t is a keyword in C++ (as opposed to typedef in C).
So at first sight, I would think there should be no problem with
changing WCHAR_TYPE.  But then, I may be missing some subtile ABI point.

-- Gaby



More information about the Gcc mailing list