From: Daniel Jacobowitz <drow@false.org>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: binutils@sourceware.org
Subject: Re: Silence compiler warning on
Date: Fri, 05 May 2006 13:07:00 -0000 [thread overview]
Message-ID: <20060505122342.GA25397@nevyn.them.org> (raw)
In-Reply-To: <200605050941.k459fI48003434@elgar.sibelius.xs4all.nl>
On Fri, May 05, 2006 at 11:41:18AM +0200, Mark Kettenis wrote:
> Unfortunately not :(
>
> configure:11800: checking if we can redeclare _exit
> configure:11821: gcc -c -g -O2 conftest.c >&5
> conftest.c:80: ../include/ansidecl.h: No such file or directory
!!! How the heck did that work for me? Oh, there's an <ansidecl.h> on
this system...
> However, it seems that this only happens with GCC 2.95.3 (and probably
> older versions). Newer GCC versions seem to be aware of the fact that
> _exit() will never return. Perhaps people should just upgrade to a
> newer GCC or use --disable-werror.
Yes, newer GCCs do automatically add attributes to system header
functions. I'm just going to punt then; you can take another shot at
it if you'd like :-)
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2006-05-05 12:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-18 9:40 Mark Kettenis
2006-04-18 23:50 ` Ian Lance Taylor
2006-04-19 7:44 ` Mark Kettenis
2006-04-19 8:22 ` Ian Lance Taylor
2006-05-04 18:39 ` Daniel Jacobowitz
2006-05-05 12:20 ` Mark Kettenis
2006-05-05 13:07 ` Daniel Jacobowitz [this message]
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=20060505122342.GA25397@nevyn.them.org \
--to=drow@false.org \
--cc=binutils@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
/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).