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

Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org
            Summary|poor diagnostic             |wrong column numbers in
                   |                            |diagnostics with templates

--- Comment #2 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2011-10-22 14:37:05 UTC ---
(In reply to comment #1)
> If we used the caret way of doing things it would just work.

It won't work anyway if we don't have the columns right:

GCC 4.7:

pr24607.cc:7:37: error: template argument 1 is invalid      
pr24607.cc:7:42: error: invalid type in declaration before â;â token


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