This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: [PATCH v3 01/24] Feature test macros overhaul: sys/features.h


On 03/17/2016 05:22 PM, Yaakov Selkowitz wrote:
On 2016-03-17 11:09, Craig Howland wrote:

Is it a Newlib invention?

Of course not, these are all based on glibc feature test macros. Although I did consider adding a _NEWLIB_SOURCE for newlib-specific symbols, but adding support for _DEFAULT_SOURCE made that moot.

Hmm, now that you mention it, maybe we should at least have an internal __NEWLIB_VISIBLE triggered by _DEFAULT_SOURCE (along the lines of BSD and SVID) instead of using __MISC_VISIBLE, so that newlib-specific functions are better marked. Thoughts?

I realize that this specific patch is closed out now, but to address your question: yes, this sounds like a good idea (for possible future implementation).


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