>From a rather big program I get this error message:
include/lac/sparse_matrix.templates.h:356: error: non-lvalue in unary %<&$>
I don't have the time to reduce this right now, but the problem seems
obvious enough: I guess that this error is generated in cp/tree.c, in
lvalue_or_else. This probably needs the exact same change that jsm did
in the C frontend (or better: these codes should be merged).
The call to lvalue_or_else, btw, comes from typeck.c, and the quotation
signs are misspelled there indeed (note $ instead of % in the output).
W.
--
Summary: [4.0 regression] Badly formatted error message
(quotation problem)
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bangerth at dealii dot org
CC: gcc-bugs at gcc dot gnu dot org,jsm at gcc dot gnu dot
org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18001