This is the mail archive of the gcc-help@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]

difference between gcc 3.2.2 and 3.3.1


Hi !

I am having problems with a library from a sf.net project that compiled well
with gcc 3.2.2 but fails with gcc 3.3.1. Problem can be reduced to an
example below. With gcc 3.2.2 it compilea without warning, but it fails with
3.3.1.

Can somebody please explain why?

LP, Tomaž Zupan
ORPO d.o.o.

----------------
typedef struct base
{
   int test;
} BASE, *P_BASE;

typedef struct tag_xwt_gtk_modal
{
  BASE;
  int modal;
  int canceled;
  struct {
     int c;
     int d;
  };
} MODAL, *P_MODAL;

int main()
{
   MODAL x;
   x.modal = 1;
   x.test = 1;
   x.c = 1;
}


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