PDA

View Full Version : varargs.h > stdarg.h


haftan
June 8th, 2007, 04:21 PM
I have some old code to compile with my fatal.c (and others) using varargs.h
When I make, it tells me to upgrade to stdarg.h
Is it possible for me to install(?) varargs.h and compile/run my old code ... as is.
Or do I have to revise EVERYTHING that used varargs.h to use the stdarg.h macros, etc.?

hod139
June 16th, 2007, 01:00 PM
varargs.h came before ANSI C and standards. If you plan on distributing this code you should seriously consider upgrading to the standard header. If it is just some old cold that you want for yourself only, you should be fine using varargs.h.