Re: Problem compiling code with va_list assignment
> 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, together with a quick search of the list archives, should
explain it.
Hint: pay attention to the data type for va_list, and compare this with
other archs. Also compare the defs for __va_copy.
Michael
Reply to: