This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46220] [4.3/4.4/4.5/4.6 Regression] Error: invalid covariant return type generated for incomplete class type and different qualifer
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 28 Oct 2010 23:16:47 +0000
- Subject: [Bug c++/46220] [4.3/4.4/4.5/4.6 Regression] Error: invalid covariant return type generated for incomplete class type and different qualifer
- Auto-submitted: auto-generated
- References: <bug-46220-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46220
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.10.28 23:16:36
Target Milestone|--- |4.3.6
Summary|Error: invalid covariant |[4.3/4.4/4.5/4.6
|return type generated for |Regression] Error: invalid
|incomplete class type and |covariant return type
|different qualifer |generated for incomplete
| |class type and different
| |qualifer
Ever Confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-10-28 23:16:36 UTC ---
Confirmed, I don't see why this is a covariant return at all, the difference in
qualifier should not change anything.