This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: covariant returns?
- To: braden at endoframe dot com, egcs at cygnus dot com
- Subject: Re: covariant returns?
- From: mrs at wrs dot com (Mike Stump)
- Date: Mon, 12 Apr 1999 13:38:17 -0700
> Date: Sun, 11 Apr 1999 18:14:19 -0400
> From: "Braden N. McDaniel" <braden@shadow.net>
> To: "egcs@cygnus.com" <egcs@cygnus.com>
> I'm getting the message: "sorry, not implemented: adjusting pointers
> for covariant returns". I'm not sure what this means, and the line
> it points me to is not particularly helpful.
It may not seem helpful, but trust us, it is more helpful than
generating wrong code silently, which is the immediate alternative.
This signifies a feature that isn't implemented yet. The English for
the error is, sorry, you cannot have return types that differ in this
way.