This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
difference between gcc 3.2.2 and 3.3.1
- From: "Tomaz Zupan" <tomaz dot zupan at orpo dot si>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Mon, 24 Nov 2003 09:24:47 +0100
- Subject: 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;
}