Re: Fixing old code for GCC 3.2...
On Sun, Mar 09, 2003 at 11:42:52AM +0200, Hugo van der Merwe wrote:
> Anyone have an idea what this might mean:
>
> qsdrvhittest.h:41: sorry, not implemented: adjusting pointers for covariant
> returns
Tempting as it might be, I won't reply "yes". :-)
Not just "yes", that is...
In sort, this:
class Base
{
public:
virtual Base* foo();
};
class Derived : public Base
{
public:
Derived* foo();
};
the foo() method returns a different type depending on the type of the
object.
See GCC problem report 3706. It's not implemented in 3.2.
--
Marcelo
Reply to: