[PATCH] Enable XSI extensions by default
Yaakov Selkowitz
yselkowitz@cygwin.com
Sat Aug 26 02:19:00 GMT 2017
On 2017-08-25 00: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]
Then the guards on ffs need to be fixed to match glibc.
> This is not the case for glibc and FreeBSD. On FreeBSD __XSI_VISBLE is
> by default defined to 700. Do this also on Newlib.
Nak. glibc does *not* enable XSI extensions by default.
--
Yaakov
More information about the Newlib
mailing list