Bug#204580: g++: unexpected output using variadic functions in classes

2003-08-08 Thread Falk Hueffner
"Frank B. Brokken" <[EMAIL PROTECTED]> writes: > class Foo > { > va_list list; > > public: > Foo(int n, ...) > { > va_start(list, n); > } > Foo(Foo const &other) > { > va_copy(list, other.list); > } > ~Foo(

Bug#204580: g++: unexpected output using variadic functions in classes

2003-08-08 Thread Falk Hueffner
"Frank B. Brokken" <[EMAIL PROTECTED]> writes: > class Foo > { > va_list list; > > public: > Foo(int n, ...) > { > va_start(list, n); > } > void bar() const > { > va_list l(list); > cout << "Saw " << va_arg(l,

Bug#204580: g++: unexpected output using variadic functions in classes

2003-08-08 Thread Frank B. Brokken
Package: g++ Version: 3:3.3-2 Severity: normal -- System Information Debian Release: 3.0 Architecture: i386 Kernel: Linux suffix 2.4.21 #1 Fri Aug 1 13:53:33 CEST 2003 i686 Locale: LANG=C, LC_CTYPE=C Versions of packages g++ depends on: ii cpp 3:3.3-2The GNU C pre