This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
covariant returns
- From: Stefan Seefeld <seefeld at sympatico dot ca>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 28 Nov 2001 01:46:02 -0500
- Subject: covariant returns
hi there,
I'm trying to compile a file that contains class trees
that use covariant return types. At some point I get
the error message:
sorry, not implemented: adjusting pointers for covariant returns
(gcc version 2.95.3 on linux x86)
However, I'm unable to reproduce that problem in
a simplified example. Could anybody please explain
under what conditions covariant return types are/are not
supported ?
Thanks a lot,
Stefan