[Bug c++/16189] obfuscated error message for missing semicolon after declaration in C++

jleatherwood at acm dot org gcc-bugzilla@gcc.gnu.org
Tue Jul 27 21:25:00 GMT 2004


------- Additional Comments From jleatherwood at acm dot org  2004-07-27 21:25 -------
(In reply to comment #0) 
> The misleading error message is also reported on 
> the *last* line of the *following* struct/class 
> declaration, which makes it hard for the user to 
> hunt for the source line containing the error. 
 
This behavior also observed in version 3.3.4 of gcc. 

-- 


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



More information about the Gcc-bugs mailing list