This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/6612: g++ regression?
- From: Werner Trobin <trobin at kde dot org>
- To: lerdsuwa at gcc dot gnu dot org,gcc-bugs at gcc dot gnu dot org,gcc-prs at gcc dot gnu dot org,nobody at gcc dot gnu dot org,trobin at kde dot org,gcc-gnats at gcc dot gnu dot org
- Date: Fri, 10 May 2002 22:13:09 +0200
- Subject: Re: c++/6612: g++ regression?
- References: <20020510164703.19554.qmail@sources.redhat.com>
On Friday 10 May 2002 18:47, you wrote:
> Synopsis: g++ regression?
>
> State-Changed-From-To: open->closed
> State-Changed-By: lerdsuwa
> State-Changed-When: Fri May 10 09:47:02 2002
> State-Changed-Why:
> Not a gcc bug. There is a mistake in your code:
> In member function VDocument::deselect:
> m_selection.take(&object);
> should be replaced by
> m_selection.take(object);
>
> gcc was trying to convert "&object" which has the type
> "VObject *" to "const VObject &" via the constructor
> "VObject::VObject(VObject &, VState)" which requires
> instantiation of abstract type.
Yes, sorry for the inconvenience. I just couldn't figure out how to close the
bug report myself (from the GNATS interface).
Sorry for bothering you,
Werner
P.S. gcc-3_1-branch is a really nice compiler. Thanks a lot :-)