This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53152] In "no match for operatorXX" error message gives the wrong column info
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 04 May 2012 10:57:11 +0000
- Subject: [Bug c++/53152] In "no match for operatorXX" error message gives the wrong column info
- Auto-submitted: auto-generated
- References: <bug-53152-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53152
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lopezibanez at gmail dot
| |com
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-04 10:57:11 UTC ---
How could we in principle fix this? Pass down from cp_parser_binary_expression
the location of the operator token, through build_x_binary_op -> build_new_op
-> build_new_op_1 -> op_error? Boring but straightforward. Or something else
entirely? I'm just guessing, really.