From: Yaakov Selkowitz <yselkowitz@cygwin.com>
To: newlib@sourceware.org
Subject: Re: [PATCH] Enable XSI extensions by default
Date: Sat, 26 Aug 2017 02:19:00 -0000 [thread overview]
Message-ID: <c2ddfc99-b289-0a57-5d3b-0b45c382ca85@cygwin.com> (raw)
In-Reply-To: <20170825052903.3030-1-sebastian.huber@embedded-brains.de>
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
next prev parent reply other threads:[~2017-08-25 19:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-25 6:15 Sebastian Huber
2017-08-25 14:25 ` Corinna Vinschen
2017-08-26 2:19 ` Yaakov Selkowitz [this message]
2017-08-28 10:47 ` Corinna Vinschen
2017-08-29 19:15 ` [PATCH] include: fix ffs, fls guards Yaakov Selkowitz
2017-08-29 19:37 ` Corinna Vinschen
2017-08-29 21:50 ` Joel Sherrill
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c2ddfc99-b289-0a57-5d3b-0b45c382ca85@cygwin.com \
--to=yselkowitz@cygwin.com \
--cc=newlib@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).