This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]