Re: Problem compiling code with va_list assignment

2001-09-25 Thread Michael Schmitz
> Thanks for the pointer. I was able to use a __va_copy(dst,src) instead of > the more direct approach dst = src. The 'more direct' approach being what you're used from x86 or other architectures, but I hope reading the header file made clear why it's dead wrong. > However, I would like to comm

Re: Problem compiling code with va_list assignment

2001-09-24 Thread Laurent de Segur
Segur <[EMAIL PROTECTED]> > Cc: > Subject: Re: Problem compiling code with va_list assignment > Resent-From: debian-powerpc@lists.debian.org > >> Basically, I have a c++ class with a field variable declared as >> >> Class Foo { >> protected: >>

Re: Problem compiling code with va_list assignment

2001-09-24 Thread Michael Schmitz
> Basically, I have a c++ class with a field variable declared as > > Class Foo { > protected: > va_list ap; > > ... > > public: > setVaArgs(va_list rap) { > ap = rap; > } > } Please take a long look at va-ppc.h in the /usr/lib/gcc-lib/.../include/ directory. That, togeth

Problem compiling code with va_list assignment

2001-09-24 Thread Laurent de Segur
Hi, I've been trying to understand the cause of the problem I ran into and searched a great deal of time this weekend for a solution; I can't figure it out yet. Basically, I have a c++ class with a field variable declared as Class Foo { protected: va_list ap; ... public: setVaA