[Top] [All Lists]

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

To: Ralf Baechle <>
Subject: Re: Changing WCHAR_TYPE from "long int" to "int"?
From: Andreas Jaeger <>
Date: Mon, 06 Aug 2001 12:10:59 +0200
Cc: "H . J . Lu" <>, Eric Christopher <>,,, GNU C Library <>
In-reply-to: <> (Ralf Baechle's message of "Mon, 6 Aug 2001 11:59:13 +0200")
Mail-copies-to: never
References: <> <>
User-agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.1 (Cuyahoga Valley)
Ralf Baechle <> writes:

> On Sun, Aug 05, 2001 at 09:48:06AM -0700, H . J . Lu wrote:
>> I am working with Eric to clean up the Linux/mips configuration in
>> gcc 3.x. I'd like to change WCHAR_TYPE from "long int" to "int". They
>> are the same on Linux/mips. There won't be any run-time problems. I am
>> wondering if there are any compatibility problems at the compile time
>> at the source and binary level. For one thing, __WCHAR_TYPE__ will be
>> 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?
> The MIPS ABI defines wchar_t to long.  So please go ahead and make the
> change.

I'm confused.  The ABI defines it to be long - and he should change it

 Andreas Jaeger
  SuSE Labs

Attachment: pgp4nKPUHKI7W.pgp
Description: PGP signature

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