This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/24607] wrong column numbers in diagnostics with templates


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;
                   ^


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]