This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


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

Re: va_dcl


On Sun, 8 Nov 1998 16:51:26 -0500, "Jack Howarth" wrote:
>Zack,
>   Well the following code fragment compiles on my sgi at work (sgi compiler)
>but not under linuxppc with glibc 2.0.100 and egcs_1_1_branch from last week.
>
>#include <varargs.h>
>
>main()
>{
>va_dcl
>{
>}
>}           
>
>I get the following error...
>
>testvarg.c: In function `main':
>testvarg.c:5: parse error before `...' 
>
>...since varargs are platform dependent I would be curious to find out
>if anyone on intel sees this for egcs_1_1_branch and glibc 2.0.100.

What's the output of `gcc -E' for this file?

zw


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