GCC Bugzilla – Bug 13320
59: sorry, unimplemented: adjustingcompile error: sorry, unimplemented: adjusting pointers for covariant returns
Last modified: 2005-07-23 22:49:57 UTC
When trying to use a covariant return type, the compiler gives the following
error at compile time:
robot/sim/SimulatedBasicEnvironment:59: sorry, unimplemented: adjusting
pointers for covariant returns
(a quick grep of the sources will turn up the offending code)
> g++ --version
g++ (GCC) 3.3.1 20030811 (Red Hat Linux 3.3.1-1)
Most likely fixed for 3.4.
Covariant return types
Up to (and including) GCC 3.3 we did not implement non-trivial covariant returns. This has been
addressed for GCC 3.4.
Fixed for 3.4.