This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/8314] Enums as template parameters produce "can't find class" errors
- From: "keiths at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 30 Aug 2016 18:22:04 +0000
- Subject: [Bug c++/8314] Enums as template parameters produce "can't find class" errors
- Auto-submitted: auto-generated
- References: <bug-8314-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=8314
Keith Seitz <keiths at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |keiths at redhat dot com
--- Comment #4 from Keith Seitz <keiths at redhat dot com> ---
Like Tom, I still see the same behavior in HEAD: "weird" class name, but
printing seems to work fine:
Temporary breakpoint 1, main () at 8314.cc:15
15 foo<GSimpleNetConn> f;
(gdb) n
17 return f.get ();
(gdb) ptype f
type = struct foo<(GNetConn)0> {
GNetConn type_;
public:
foo(void);
GNetConn get(void) const;
}
However, there is one specific (and very important) usage that causes problems,
and as a result, I am not going to close this bug:
(gdb) ptype foo<GSimpleNetConn>
No symbol "foo<GSimpleNetConn>" in current context.
That is not satisfactory at all.
--
You are receiving this mail because:
You are on the CC list for the bug.