including <stdlib.h>
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Thu Feb 12 19:36:00 GMT 1998
> > 18 <stdarg.h>
> > 17 <varargs.h>
>
> Odd -- that means something in the tree won't be compilable with a non
> ANSI compiler. Maybe its something in libgcc2 where this wouldn't be
> an issue.
> jeff
I've found the following scattered all over the gcc source (eg
in calls.c):
#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
#endif
So if they're not ANSI, currently they at least need varargs.h. On
pre-ANSI systems, I think varargs was present on svr3. I don't know
about older BSD. (Did they use _doprnt?)
--Kaveh
--
Kaveh R. Ghazi Project Manager / Custom Development
ghazi@caip.rutgers.edu ICon CMT Corp.
More information about the Gcc
mailing list