[Bug c++/24607] wrong column numbers in diagnostics with templates
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Oct 14 18:10:00 GMT 2012
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;
^
More information about the Gcc-bugs
mailing list