Nested stdarg broken?

Momchil 'Velco' Velikov velco at fadata.bg
Wed Oct 27 16:08:09 EST 1999


Bob Toxen wrote:
> 
> My application uses stdarg (#include <stdarg.h>, va_start, and friends)
> in a function that then calls vfprintf which also uses stdarg.
> 
> The variable args get garbled by the time they get to vfprintf.  The
> fmt arg does not get garbled.
Here's what you can read at
http://egcs.cygnus.com/gcc-2.95/gcc-2.95.1.html
under section "Platform specific bugfixes and improvements"
         Fix varargs/stdarg code generation bug for rs6000/ppc svr4
targets. 
Maybe this helps, maybe not.

Regards,
-velco

btw, 2.95.2 is out

-velco

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list