This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Add <stdint.h> integer width macros
On Tue, 20 Sep 2016, Paul Eggert wrote:
> On 09/20/2016 01:52 PM, Joseph Myers wrote:
> > Compiling with -fshort-wchar is not compatible with using glibc; it's an
> > ABI-breaking option.
>
> That's OK, as stdint.h is also for freestanding programs, where there's no
> wchar_t ABI to break.
But glibc's stdint.h isn't for freestanding programs. GCC uses its own
stdint.h for -ffreestanding.
--
Joseph S. Myers
joseph@codesourcery.com