Operating System - HP-UX
1832951 Members
2743 Online
110048 Solutions
New Discussion

HP-UX 11.00, Gcc 3.3.2 and varargs

 
Maribeth Romeo
Frequent Advisor

HP-UX 11.00, Gcc 3.3.2 and varargs

I'm compiling C++ code on an HP-UX 11.00 32 bit machine using gcc 3.3.2. When I encounter a function that uses varargs, my program crashes with a bus error and core dump. The core dump points right at my function that has a varargs list. I've seen some docs that there may be some incompatibilities with this version of gcc and varargs, but I do not see any solutions to the problem. Can someone clarify what needs to be done to resolve this? Thanks.