This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: Commit 4efeffc1d583597e4f52985b9747269e47b754e2 breaks trunkfor i386 and x86_64 on older GCCs.


On Sun, 26 Feb 2012, Carlos O'Donell wrote:

> This is another, and different, GCC issues e.g. predefines of
> __CHAR16_TYPE__ and __CHAR32_TYPE__ (new to 4.4).

Note that this particular issue is easy to fix, which would allow the 
header to be used with older compilers, not just for building glibc 
(although it may not be much use with them, given lack of support for the 
Unicode string syntax).  The types in question are required to match 
uint_least16_t and uint_least32_t, and with glibc those are always 
unsigned short int and unsigned int respectively - so those are safe 
fallback definitions when the C compiler does not predefine those macros.

-- 
Joseph S. Myers
joseph@codesourcery.com


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