Jonathan Wakely wrote: > This still has exactly two initialisers for exactly two objects, so I > think it's OK. I'm concerned about missing braces when the meaning of > the code may not be what you expect.
I think you're right -- you want -Wmissing-field-initializers, not -Wmissing-braces. -Wmissing-braces is explicitly about not having all the brace groups fully specified. -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-3385 x713