This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug c/23365] Declaration within case statement produces syntax error


jsm28 at gcc dot gnu dot org wrote:-

> 
> ------- Additional Comments From jsm28 at gcc dot gnu dot org  2005-08-12 20:54 -------
> Labels can only be applied to statements, not declarations; see the C99 standard.

That would be a much better error message.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]