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

Cedders <cklists at gn dot apc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cklists at gn dot apc.org

--- Comment #1 from Cedders <cklists at gn dot apc.org> 2012-08-26 10:07:58 UTC 
---
+1 The problem here is that the line number given is at the end of a typedef or
class declaration and you tend to look at that unit, rather than at something
several lines earlier that may not have been correctly terminated.  

The hint suggested would tell you what to look for (in what a web search
suggests is the most common cause).

I wonder though why "class id {...} class..."  and "class id {...} id2
class..." give different errors, and in both cases the line number reported is
not the second "class" but can be several lines later.

Reply via email to