This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Commit 4efeffc1d583597e4f52985b9747269e47b754e2 breaks trunkfor i386 and x86_64 on older GCCs.
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Carlos O'Donell <carlos at systemhalted dot org>
- Cc: Ulrich Drepper <drepper at gmail dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Sun, 26 Feb 2012 22:07:07 +0000 (UTC)
- Subject: Re: Commit 4efeffc1d583597e4f52985b9747269e47b754e2 breaks trunkfor i386 and x86_64 on older GCCs.
- References: <CADZpyix47LeEY-wJKJ_LkV43CqqFUAHZw2e9KNh4gqG4xXFKhQ@mail.gmail.com>
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