This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Plans for Linux ELF "i686+" ABI ? Like SPARC V8+ ?
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Andi Kleen'" <andi at firstfloor dot org>, "'Michael Meissner'" <michael dot meissner at amd dot com>, "'Richard Guenther'" <richard dot guenther at gmail dot com>, <gcc at gcc dot gnu dot org>
- Date: Wed, 17 Oct 2007 01:55:51 +0100
- Subject: RE: Plans for Linux ELF "i686+" ABI ? Like SPARC V8+ ?
- References: <4712CE64.7050804@netbauds.net.suse.lists.egcs> <18195.11443.885432.966676@zebedee.pink.suse.lists.egcs> <47135A83.5040705@netbauds.net.suse.lists.egcs> <18195.24423.287047.842193@zebedee.pink.suse.lists.egcs> <47136430.5080907@netbauds.net.suse.lists.egcs> <84fc9c000710150639w1c234d45m44ecbfb3e41f8293@mail.gmail.com.suse.lists.egcs> <p73wsto1cmi.fsf@bingen.suse.de> <20071015190447.GA19641@mmeissner-gold.amd.com> <20071015225313.GA21857@one.firstfloor.org>
On 15 October 2007 23:53, Andi Kleen wrote:
> int main(void)
> {
> double x;
> printf("%d\n", __alignof__(x));
> return 0;
> }
> ~> gcc -m32 -o t t.c
> t.c: In function âmainâ:
> t.c:5: warning: incompatible implicit declaration of built-in function
> âprintfâ
I find a call to an unprototyped stdargs function in the middle of a discussion about the niceties of ABIs amusingly ironic! :-)
cheers,
DaveK
--
Can't think of a witty .sigline today....