------- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-03 15:34 ------- types are not expressions though.
It is not incorrect but just misleading. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|g++ reports incorrect error |g++ reports misleading |message when the identifier |error message when the |with error occurs earlier on|identifier with error occurs |the same line |earlier on the same line http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26997