This is the mail archive of the libc-alpha@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


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

-- 
------------------------------------------------------------------------------
Jack W. Howarth, Ph.D.                                     231 Bethesda Avenue
NMR Facility Director                              Cincinnati, Ohio 45267-0524
Dept. of Molecular Genetics                              phone: (513) 558-4420
Univ. of Cincinnati College of Medicine                    fax: (513) 558-8474


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