On Wed, 29 Apr 2015, Szabolcs Nagy wrote:

> only affects [u]int_fastN_t types
> (on 64bit systems for N=16,32 musl uses int but glibc uses long)
> 
> i can fix glibc-stdint.h, but it's yet another way in which the
> compiler is tied to a particular libc.
> 
> (using musl-stdint.h would be nicer, but that would require more
> changes i think, i have a fix now where the glibc-stdint.h types
> depend on OPTION_MUSL, but i still have to make sure OPTION_MUSL
> is always defined when this header is used).
> 
> (i'd prefer if the compiler did not know about these types, but
> the standard requires them in stdatomic.h without including stdint.h
> and in stdint.h in freestanding mode, i'm not sure if there is a
> workaround without depending on libc)

The compiler also needs to know these types for the Fortran C bindings.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to