|
From: Bang Jun-Y. <jun...@Ne...> - 2003-10-16 09:44:33
|
Hi,
I just noticed that MSVC style anononymous struct doesn't work with
MinGW gcc 3.3.1.
main()
{
struct foo {
int a;
};
struct {
struct foo; /* warning */
int b;
} bar;
bar.a = 1; /* error */
}
The above program doesn't compile any more. It used to work fine
with 2.95.x, so I wonder what has been changed since then.
Jun-Young
--
Bang Jun-Young <jun...@Ne...>
|