------- Comment #1 from tromey at gcc dot gnu dot org  2007-10-26 05:35 -------
Note that even with mapped locations this gives the wrong result.
The C++ parser has some column-number bugs.

opsy. g++ -Wall -fsyntax-only z.cc
z.cc: In function ‘int main()’:
z.cc:8:61: error: wrong type argument to unary minus

Column 61 is the closing paren around the "+" expression.
Column 46 would be best.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-10-26 05:35:43
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31754

Reply via email to