This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to enable -Werror [take 2]
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>, "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 20 Jan 2003 14:20:48 -0500
- Subject: Re: Patch to enable -Werror [take 2]
>>>>> Zack Weinberg writes:
>> /usr/include/sys/types.h:
>> typedef uchar_t uchar;
>>
>> This problem is also present on Tru64 UNIX:
>>
>> http://gcc.gnu.org/ml/gcc-bugs/2002-06/msg00797.html
Zack> I see that I suggested an autoconf test for the typedef at the time.
Zack> What is the underlying definition of uchar on AIX and Tru64 Unix? I
Zack> am hesitant to use it in case it turns out not to be unsigned char
Zack> reliably.
The AIX definition is:
typedef unsigned char uchar_t;
typedef uchar_t uchar;
David