Re: -Wmissing-field-initializers relaxation request

2008-07-06 Thread Gabriel Dos Reis
On Fri, Jul 4, 2008 at 11:02 AM, Pádraig Brady <[EMAIL PROTECTED]> wrote: > While trying to compile coreutils with -Wextra, > I noticed many warnings due to automatic variables > initialized with { 0, }. > > As I understand it, since C90 the above will initialize > [all members of] the type to that

-Wmissing-field-initializers relaxation request

2008-07-04 Thread Pádraig Brady
While trying to compile coreutils with -Wextra, I noticed many warnings due to automatic variables initialized with { 0, }. As I understand it, since C90 the above will initialize [all members of] the type to that used in static scope. I.E. the following is valid: mbstate_t m = { 0, }; int i = {