Joe Buck wrote: > I think that the cleanest way is to suppress the warning for structs > with one member
And recursively?
So that:
struct A { int i; };
struct B { struct A a };
struct C { struct B b };
struct C c = { 1 };
does not trigger the warning?
What if struct B is now:
struct B { struct A a; int j; };
and I write:
struct C c = { 1, 2 };
?
--
Mark Mitchell
CodeSourcery
[email protected]
(650) 331-3385 x713
