This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35008] Bug in processing nested typedef in nested template class in method definition
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2008 13:06:35 -0000
- Subject: [Bug c++/35008] Bug in processing nested typedef in nested template class in method definition
- References: <bug-35008-3515@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rguenth at gcc dot gnu dot org 2008-01-29 13:06 -------
The first snippet works for me, the second says
t.C:3: error: expected nested-name-specifier before 'outer1'
t.C:3: error: too many template-parameter-lists
t.C: In function 'void testme()':
t.C:11: error: 'outer1' was not declared in this scope
t.C:11: error: expected primary-expression before 'float'
t.C:11: error: expected `;' before 'float'
t.C:12: error: 'Inner1' was not declared in this scope
so - what is the testcase that you are looking at?
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35008