nano2
August 28th, 2007, 05:54 PM
hi ,
looking at at problem here when compiling a program using gcc4.1.2 on ubuntu
error: macro "va_start" requires 2 arguments, but only 1 given
I am using stdarg.h using the following flags
-Wno-deprecated -DHAVE_VPRINTF -DUSE_STDARGS -D__STDC__ -fno-access-control -fPIC -Wall -fpermissive
I get the following error message
error: expected declaration specifiers before âva_dclâ
error: macro "va_start" requires 2 arguments, but only 1 given
error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token
Any one know a work around or flag I am missing .
TIA
looking at at problem here when compiling a program using gcc4.1.2 on ubuntu
error: macro "va_start" requires 2 arguments, but only 1 given
I am using stdarg.h using the following flags
-Wno-deprecated -DHAVE_VPRINTF -DUSE_STDARGS -D__STDC__ -fno-access-control -fPIC -Wall -fpermissive
I get the following error message
error: expected declaration specifiers before âva_dclâ
error: macro "va_start" requires 2 arguments, but only 1 given
error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â{â token
Any one know a work around or flag I am missing .
TIA