retitle 165829 [fixed in gcc-3.3] C++ error on virtual function which uses ... thanks
you find a recent snapshot of the HEAD branch in the gcc-snapshot package. Daniel Jacobowitz writes: > 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 > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]