This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/9602: falsely concludes that function defined within class body is virtual and abstract, therefore compiler fails to allow class instantiation with pure virtual function error.
- From: vil at rccp dot tsukuba dot ac dot jp
- To: gcc-gnats at gcc dot gnu dot org
- Date: 6 Feb 2003 21:18:08 -0000
- Subject: c++/9602: falsely concludes that function defined within class body is virtual and abstract, therefore compiler fails to allow class instantiation with pure virtual function error.
- Reply-to: vil at rccp dot tsukuba dot ac dot jp
>Number: 9602
>Category: c++
>Synopsis: falsely concludes that function defined within class body is virtual and abstract, therefore compiler fails to allow class instantiation with pure virtual function error.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Thu Feb 06 21:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Victor Lesk
>Release: g++ -v Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/specs Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-thr
>Organization:
>Environment:
uname -a
Linux localhost.localdomain 2.4.19-16mdk #1 Fri Sep 20 18:15:05 CEST 2002 i686 unknown unknown GNU/Linux
>Description:
Fails to compile code which was legal under 2.96, does not include any of the patterns in the known-bugs list.
Refuses to instantiate a template class on the grounds that it has abstract functions, when in fact the functions concerned are not even virtual
>How-To-Repeat:
g++ yum.C
>Fix:
please
>Release-Note:
>Audit-Trail:
>Unformatted:
eads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu --with-system-zlib Thread model: posix gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)