unnamed structures

Luiz Rafael Culik Guimaraes culikr@uol.com.br
Wed Mar 24 09:49:00 GMT 2004


Dear Friends

i´ve getting an strage error on gcc 3.3.3
 this code
typedef struct tag_xwt_gtk_base
{
   GtkWidget *main_widget;
} XWT_GTK_BASE, *PXWT_GTK_BASE;

typedef struct tag_xwt_gtk_modal
{
  #if __GNUC__ < 3
  XWT_GTK_BASE a;
  #else
  XWT_GTK_BASE;
  #endif
  BOOL modal;
  BOOL canceled;
} XWT_GTK_MODAL, *PXWT_GTK_MODAL;

this code is not accepted becouse the XWT_GTK_BASE return the compiler
 defined noting

Regards
Luiz




More information about the Gcc-help mailing list