coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] maint: enable -Wmissing-field-initializers


From: Jim Meyering
Subject: Re: [PATCH] maint: enable -Wmissing-field-initializers
Date: Sun, 08 May 2011 19:12:14 +0200

Pádraig Brady wrote:
> Now that this gnulib change is included
> http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=2953da14
> I'll apply the attached.
> This will both enable the warning on GCC >= 4.7 and
> remove the warkarounds from the code.
...
> Subject: [PATCH] maint: remove -Wmissing-field-initializers workarounds
>
> * configure.ac: Rather than disabling -Wmissing-field-initializers,
> use the fact that gnulib now disables it automatically when required
> (on versions of GCC older than 4.7).
> * src/system.h: Remove the no longer needed DECLARE_ZEROED_AGGREGATE.
> * src/ls.c: Likewise.
> * src/pathchk.c: Likewise.
> * src/shred.c: Likewise.
> * src/stty.c: Likewise.
> * src/wc.c: Likewise.

Thanks.  Works for me.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]