This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Plans for Linux ELF "i686+" ABI ? Like SPARC V8+ ?


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....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]