unnamed structures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux