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

2006-10-12 Thread pinskia at gcc dot gnu dot org


--- Comment #4 from pinskia at gcc dot gnu dot org  2006-10-12 20:47 ---
*** Bug 29444 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||alx at gotnull dot net


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



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

2006-09-13 Thread tdalman at project-psi dot org


--- Comment #3 from tdalman at project-psi dot org  2006-09-14 06:40 ---
Thanks for clarification. Nevertheless, your wording, Andreas, is exactly what
I would have expected in the error message.


-- 


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



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

2006-09-13 Thread neil at daikokuya dot co dot uk


--- 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



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

2006-09-13 Thread schwab at suse dot de


--- 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.


-- 

schwab at suse dot de changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID
Summary|Parse error after label and |Parse error after label and
   |variable declaration|variable declaration


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