[Bug c/29062] Parse error after label and variable declaration

neil at daikokuya dot co dot uk gcc-bugzilla@gcc.gnu.org
Wed Sep 13 22:27:00 GMT 2006



------- Comment #2 from neil at daikokuya dot co dot uk  2006-09-13 22:27 -------
Subject: Re:  Parse error after label and variable declaration

schwab at suse dot de wrote:-

> 
> 
> ------- Comment #1 from schwab at suse dot de  2006-09-13 15:32 -------
> A label can only be part of a statement.  A declaration is not a statement.
> 

Considering the number of times this is reported, and people clearly
don't understand what is wrong with their code, it should be
considered a case of very poor diagnostics.


-- 


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



More information about the Gcc-bugs mailing list