This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/6612: g++ regression?


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.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6612


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]