[PATCH][BZ 17979][BZ 17721] Fix issues with sys/cdefs.h and uchar.h when using non-gcc compiler.
Joseph Myers
joseph@codesourcery.com
Thu Jan 28 23:33:00 GMT 2016
On Thu, 28 Jan 2016, Dwight Guth wrote:
> Yes, that's reasonable. What would you see as the correct resolution
> to the issue?
I think defining to restrict based on __STDC_VERSION__ is reasonable
(outside of the release freeze period).
uchar.h is trickier in that stdint.h is theoretically system-specific
(it's in sysdeps), so there's an abstraction violation in copying its
types into uchar.h (not in sysdeps). I'd be happy for stdint.h and
inttypes.h to move out of sysdeps, but any hardcoding should probably
still be accompanied at least by a comment in stdint.h about where else
the type information is embedded.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list