difference between gcc 3.2.2 and 3.3.1

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

 



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 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