linux-mips
[Top] [All Lists]

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

To: Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: Changing WCHAR_TYPE from "long int" to "int"?
From: "H . J . Lu" <hjl@lucon.org>
Date: Mon, 6 Aug 2001 09:29:41 -0700
Cc: Andreas Jaeger <aj@suse.de>, Eric Christopher <echristo@redhat.com>, gcc@gcc.gnu.org, linux-mips@oss.sgi.com, GNU C Library <libc-alpha@sourceware.cygnus.com>
In-reply-to: <20010806182050.A21142@bacchus.dhis.org>; from ralf@oss.sgi.com on Mon, Aug 06, 2001 at 06:20:50PM +0200
References: <20010805094806.A3146@lucon.org> <20010806115913.B17179@bacchus.dhis.org> <hoofptjy6k.fsf@gee.suse.de> <20010806182050.A21142@bacchus.dhis.org>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
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.

<Prev in Thread] Current Thread [Next in Thread>