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

Bug#165829: GCC 3.2 C++ error on virtual function which uses ...



On Mon, Oct 21, 2002 at 08:51:03PM -0400, Reed Hedges wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Package: g++-3.2
> Version: 3.2.1-0pre4
> Severity: important
> 
> GCC 3.2.1 emits the following error:
> 
> foo.cc:16: generic thunk code fails for method `virtual void 
> B::foo(char*, ...)
>    ' which uses `...'
> 
> when compiling the  code included below. The same code compiles & runs 
> fine with GCC 2.95. The error also does not appear if B does not 
> subclass from A.

This is a known bug.  It was fixed in the GCC CVS tree just this week,
which means a fix will probably be in 3.3 but no earlier.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: