[PATCH] Enable XSI extensions by default

Corinna Vinschen vinschen@redhat.com
Fri Aug 25 14:25:00 GMT 2017


On Aug 25 07:29, Sebastian Huber wrote:
> This test program
> 
>   #include <strings.h>
> 
>   int f(int i)
>   {
>     return ffs(i);
>   }
> 
> resulted in the follwing GCC warning
> 
>   warning: implicit declaration of function 'ffs' [-Wimplicit-function-declaration]
> 
> This is not the case for glibc and FreeBSD.  On FreeBSD __XSI_VISBLE is
> by default defined to 700.  Do this also on Newlib.

Sounds right to me, but I'd like to have Yaakov's input as our
local header standarizer :)

Yaakov?


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20170825/1d3f8689/attachment.sig>


More information about the Newlib mailing list