On Wed, Feb 03, 2010 at 02:05:38PM -0800, Basabi Bhattacharya wrote:
> Using SunStudio12 on OpenSolaris (build 128a) and get warnings in unnamed 
> struct with -features=extensions
> 
> struct xx {
>         int y;
> };
> 
> typedef struct y {
>          int z;
> } YY;
> 
> warning: unnamed struct member
>  syntax error before or at: typedef
> 
> Not sure why I get error.

Please, supply exact testcase, exact invocation and exact error message.
I can not reproduce your problem on the above testcase.
Compiles with no warnings and errors whatsoever.

regards,
  Fedor.

Reply via email to