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

Re: debian-powerpc@lists.debian.org

Maybe instead of using:

va_list myVar = (va_list) otherVar;

you should use the more traditional approach with va_start (see man
va_start). I don't think va_list has a C++ constructor accepting
arguments, neither it has a cast operator (just a C struct in


On Thu, 2001-12-20 at 15:14, Gavin W. Burris aka 86 wrote:
> I recently ran into an issue compiling C++ code with var args.  
> I was told that:  this "feature" varies from compiler
> to compiler and architecture to architecture.  Is there a way to
> compile code that has issues with va_list with GCC on PowerPC?
> The tarball of code can be found at:
> http://prdownloads.sourceforge.net/vrjuggler/vrjuggler-1.0.3.src.tar.gz
> I'm not expecting anyone to fix this for me, but I thought it may be
> an issue someone would like to tackle.
> My error messages follow.  Cheers.

Reply to: