public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/26904] New: A template named the same as its member confuses lookup through inheritance
@ 2006-03-28 15:16 dave at boost-consulting dot com
2006-03-28 15:17 ` [Bug c++/26904] " dave at boost-consulting dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: dave at boost-consulting dot com @ 2006-03-28 15:16 UTC (permalink / raw)
To: gcc-bugs
The enclosed demonstrates. define either SUPPRESS_BUG or SUPPRESS_BUG2 to show
that either not using inheritance or using a template called typer instead of
type will suppress the bug.
--
Summary: A template named the same as its member confuses lookup
through inheritance
Product: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dave at boost-consulting dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26904
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/26904] A template named the same as its member confuses lookup through inheritance
2006-03-28 15:16 [Bug c++/26904] New: A template named the same as its member confuses lookup through inheritance dave at boost-consulting dot com
@ 2006-03-28 15:17 ` dave at boost-consulting dot com
2006-05-01 2:28 ` pinskia at gcc dot gnu dot org
2006-05-01 2:43 ` dave at boost-consulting dot com
2 siblings, 0 replies; 4+ messages in thread
From: dave at boost-consulting dot com @ 2006-03-28 15:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dave at boost-consulting dot com 2006-03-28 15:16 -------
Created an attachment (id=11136)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11136&action=view)
Preprocessed C++ source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26904
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/26904] A template named the same as its member confuses lookup through inheritance
2006-03-28 15:16 [Bug c++/26904] New: A template named the same as its member confuses lookup through inheritance dave at boost-consulting dot com
2006-03-28 15:17 ` [Bug c++/26904] " dave at boost-consulting dot com
@ 2006-05-01 2:28 ` pinskia at gcc dot gnu dot org
2006-05-01 2:43 ` dave at boost-consulting dot com
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-01 2:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-01 02:28 -------
Do you have a shorter testcase? It is hard to figure out if this is valid code
(though it does look like it is).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26904
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/26904] A template named the same as its member confuses lookup through inheritance
2006-03-28 15:16 [Bug c++/26904] New: A template named the same as its member confuses lookup through inheritance dave at boost-consulting dot com
2006-03-28 15:17 ` [Bug c++/26904] " dave at boost-consulting dot com
2006-05-01 2:28 ` pinskia at gcc dot gnu dot org
@ 2006-05-01 2:43 ` dave at boost-consulting dot com
2 siblings, 0 replies; 4+ messages in thread
From: dave at boost-consulting dot com @ 2006-05-01 2:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from dave at boost-consulting dot com 2006-05-01 02:43 -------
I'm afraid I don't.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26904
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-05-01 2:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-28 15:16 [Bug c++/26904] New: A template named the same as its member confuses lookup through inheritance dave at boost-consulting dot com
2006-03-28 15:17 ` [Bug c++/26904] " dave at boost-consulting dot com
2006-05-01 2:28 ` pinskia at gcc dot gnu dot org
2006-05-01 2:43 ` dave at boost-consulting dot com
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).