public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15468] New: Can not take address of protected method in base class.
@ 2004-05-16 20:50 murrayc at murrayc dot com
2004-05-16 20:55 ` [Bug c++/15468] " murrayc at murrayc dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: murrayc at murrayc dot com @ 2004-05-16 20:50 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/15468] Can not take address of protected method in base class.
2004-05-16 20:50 [Bug c++/15468] New: Can not take address of protected method in base class murrayc at murrayc dot com
@ 2004-05-16 20:55 ` murrayc at murrayc dot com
2004-05-16 21:29 ` murrayc at murrayc dot com
2004-05-16 21:38 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: murrayc at murrayc dot com @ 2004-05-16 20:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From murrayc at murrayc dot com 2004-05-15 18:19 -------
Created an attachment (id=6308)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6308&action=view)
gcc34test.ii (preprocessed .cc file)
test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15468
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/15468] Can not take address of protected method in base class.
2004-05-16 20:50 [Bug c++/15468] New: Can not take address of protected method in base class murrayc at murrayc dot com
2004-05-16 20:55 ` [Bug c++/15468] " murrayc at murrayc dot com
@ 2004-05-16 21:29 ` murrayc at murrayc dot com
2004-05-16 21:38 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: murrayc at murrayc dot com @ 2004-05-16 21:29 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |bryan at reigndropsfall dot
| |net
Summary|Can not take address of |Can not take address of
|protected method in base |protected method in base
|class. |class.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15468
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/15468] Can not take address of protected method in base class.
2004-05-16 20:50 [Bug c++/15468] New: Can not take address of protected method in base class murrayc at murrayc dot com
2004-05-16 20:55 ` [Bug c++/15468] " murrayc at murrayc dot com
2004-05-16 21:29 ` murrayc at murrayc dot com
@ 2004-05-16 21:38 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-16 21:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-15 18:25 -------
This is not a bug in 3.4.0 but a bug in previous versions of gcc and GCC should have rejected this.
This is a dup of bug 11174.
*** This bug has been marked as a duplicate of 11174 ***
*** This bug has been marked as a duplicate of 11174 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15468
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-05-15 18:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-16 20:50 [Bug c++/15468] New: Can not take address of protected method in base class murrayc at murrayc dot com
2004-05-16 20:55 ` [Bug c++/15468] " murrayc at murrayc dot com
2004-05-16 21:29 ` murrayc at murrayc dot com
2004-05-16 21:38 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).