Query about gcc 3.4.3 in relation to include file "<varargs.h> "

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

We had the following query about gcc 3.4.3

Problem: Compilation failure due to difference in include files : <varargs.h> , <stdargs.h> . The OS is RHEL 4.0 and compiler is gcc 3.4.3
Failure log:
*******
gcc -c -g -I. -I. -DHAVE_UNISTD_H=1 -DNEED_MATHERR=1 -DTCL_LIBRARY=\"/qa_builds/vdsmainrhel40d_snv/tcl/7.3/Linux_2.4.21-27.0.2.EL_32bit/dbg/lib/tcl\" tclBasic.c
tclBasic.c:1249: error: syntax error before "va_dcl"
tclBasic.c:1250: error: syntax error before '{' token
tclBasic.c:1266:21: macro "va_start" requires 2 arguments, but only 1 given" etc.
*******

Details: We have a code that has reference to "va_dcl" that was defined in compiler include file: "varargs.h". As we migrated from gcc 3.2.3 to gcc 3.4.3 we found that the compiler 3.4.3 does not support "<varargs.h>". And "stdargs.h" also does not seem to define "va_dcl" .

Is there any patch / workaround/ option available for this compatibility issue for "varargs.h" and "stdarg.h"?
Any pointers will be appreciated.

Thanks ,
Sandeep
[ smane@xxxxxxxxxxx ]


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux