Add <stdint.h> integer width macros

Joseph Myers joseph@codesourcery.com
Tue Sep 20 21:54:00 GMT 2016


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



More information about the Libc-alpha mailing list