c++/6612: g++ regression?
Werner Trobin
trobin@kde.org
Fri May 10 13:12:00 GMT 2002
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 :-)
More information about the Gcc-bugs
mailing list