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

H . J . Lu hjl@lucon.org
Mon Aug 6 09:29:00 GMT 2001


On Mon, Aug 06, 2001 at 06:20:50PM +0200, Ralf Baechle wrote:
> 
> H.J. - why did you want to change this type anyway?  "long int" and "int"
> both have the same size and signedness so there isn't any incompatibility
> anyway?
> 

All Linux targets should use a 32bit type, `int', for wchar_t. `long'
is 64bit for mips64.

Like I said, we don't use the mips API, only the ABI.


H.J.



More information about the Libc-alpha mailing list