[PATCH] Feature test macros overhaul: wchar.h, part 2

Yaakov Selkowitz yselkowitz@cygwin.com
Mon Aug 15 23:47:00 GMT 2016


On 2016-08-15 12:46, Craig Howland wrote:
> On 08/10/2016 03:47 PM, Yaakov Selkowitz wrote:
>> Many wchar.h functions were never properly guarded; these changes should
>> make the header fully compliant.
>      Shouldn't essentially the whole file be guarded by __ISO_C_VISIBLE
>>= 199409?  According to the C99 standard, wchar.h was added by ISO/IEC
> 9899/AMD1:1995.

https://sourceware.org/ml/newlib/2016/msg00356.html

> GLIBC does have a __USE_ISOC95 check.  (They have it on a set of functions, only.)

That is an internal implementation detail; the only mention of C95 in 
the public FTM documentation is that it is included with C99.

-- 
Yaakov



More information about the Newlib mailing list