This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15468] New: Can not take address of protected method in base class.
- From: "murrayc at murrayc dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 May 2004 18:19:15 -0000
- Subject: [Bug c++/15468] New: Can not take address of protected method in base class.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gcc version: gcc 3.4.0 tarball.
system type: Red Hat Linux 9, x86.
options given when building gcc: None.
command line to trigger bug: g++ test.cc
compiler output:
gcc34test.cc: In constructor `B::B()':
gcc34test.cc:25: error: `virtual void A::do_something()' is protected
gcc34test.cc:32: error: within this context
the preprocessed file (*.i*) that triggers the bug: Attached.
--
Summary: Can not take address of protected method in base class.
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: murrayc at murrayc dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15468