From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30937 invoked by alias); 10 May 2002 20:16:10 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 30880 invoked by uid 71); 10 May 2002 20:16:05 -0000 Date: Fri, 10 May 2002 13:16:00 -0000 Message-ID: <20020510201605.30877.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Werner Trobin Subject: Re: c++/6612: g++ regression? Reply-To: Werner Trobin X-SW-Source: 2002-05/txt/msg00304.txt.bz2 List-Id: The following reply was made to PR c++/6612; it has been noted by GNATS. From: Werner Trobin To: lerdsuwa@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, trobin@kde.org, gcc-gnats@gcc.gnu.org Cc: Subject: Re: c++/6612: g++ regression? Date: Fri, 10 May 2002 22:13:09 +0200 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 :-)