This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24607] wrong column numbers in diagnostics with templates
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 14 Oct 2012 18:10:19 +0000
- Subject: [Bug c++/24607] wrong column numbers in diagnostics with templates
- Auto-submitted: auto-generated
- References: <bug-24607-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24607
--- Comment #3 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-10-14 18:10:19 UTC ---
Still broken with GCC 4.8:
pr24607.cc:7:37: error: template argument 1 is invalid
typedef A<typename B<D<E<int> > > > foo;
^
pr24607.cc:7:42: error: invalid type in declaration before â;â token
typedef A<typename B<D<E<int> > > > foo;
^
Clang gets it right:
/tmp/webcompile/_22150_0.cc:7:20: error: expected a qualified name after
'typename'
typedef A<typename B<D<E<int> > > > foo;
^