[RFC][PATCH v3] Initial support for C11 Annex K Bounds checking functions
Paul Eggert
eggert@cs.ucla.edu
Sat Jun 15 05:54:00 GMT 2013
On 06/14/2013 11:58 AM, Ulrich Bayer wrote:
> CPP suppresses all warnings from system headers
Ah, sorry, I'd missed that, so I guess we'll need to use #error
after all. Too bad. How about this instead?
#if (defined __GLIBC_USE_LIB_EXT1 \
&& (__GLIBC_USE_LIB_EXT1 != __STDC_WANT_LIB_EXT1__))
# error "Inconsistent definition of __STDC_WANT_LIB_EXT1__"
#endif
#if __STDC_WANT_LIB_EXT1__
# define __GLIBC_USE_LIB_EXT1 1
#else
# define __GLIBC_USE_LIB_EXT1 0
#endif
More information about the Libc-alpha
mailing list