[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    c++/9602: falsely concludes that function defined within class body is virtual and abstract, therefo
From:       vil () rccp ! tsukuba ! ac ! jp
Date:       2003-02-06 21:18:08
[Download RAW message or body]


> 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)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic