This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC][PATCH v3] Initial support for C11 Annex K Bounds checking functions


> It could be, but it's so short that we can just
> put it in each of the affected headers.

We have features.h for exactly this sort of thing.  It boils everything
down to simple __USE_* macros so that individual header files only ever use
"#ifdef __USE_FOO".  There is no reason to depart from that now, and every
reason to continue to avoid #if complexity in individual header files.


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]