RFC: PR 25137: moving -Wmissing-braces to -Wextra?
Gabriel Dos Reis
dosreis@gmail.com
Wed Nov 18 01:43:00 GMT 2009
On Tue, Nov 17, 2009 at 7:32 PM, Mark Mitchell <mark@codesourcery.com> wrote:
> 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.
>
ok.
-- Gaby
More information about the Gcc
mailing list