va_dcl

Jack Howarth howarth@bromo.med.uc.edu
Sun Nov 8 16:23:00 GMT 1998


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



More information about the Libc-hacker mailing list