------- Comment #3 from bernie at develer dot com  2005-11-21 18:41 -------
(In reply to comment #2)

> 0xe+100 is a single preprocessing number.  If the end of 
> <http://gcc.gnu.org/onlinedocs/gcc/Incompatibilities.html> is unclear, 
> please let us know how we could have improved it so that you would have 
> realised it applies to this situation and so there is no bug.

We could handle it like we do for >> in nested template
declarations: split the token and try reparsing the
expression with the "other" meaning.  If it works, give
the friendly error message ("maybe you meant 0xe + 100?").


-- 


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

Reply via email to