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: Wed, 27 Apr 2011 22:14:33 +0200

Pádraig Brady wrote:
> I'll apply the attached after the pending release.
>
> Subject: [PATCH] maint: enable -Wmissing-field-initializers
>
> * configure.ac: Enable -Wmissing-field-initializers for src/
> but leave disabled for lib/.
> * src/system.h: Enable the static variable hack only for
> non gcc compilers and versions of gcc older than 4.7.
> Starting with that version, the warning is no longer issued for
> variables initialized with a single zero value.
> Rename DECLARE_ZEROED_AGGREGATE to the more concise
> and accurate DECLARE_ZEROED_AUTO.
> * src/ls.c: Use the renamed macro.
> * src/pathchk.c: Likewise.
> * src/shred.c: Likewise.
> * src/stty.c: Likewise.
> * src/wc.c: Likewise.

Nice.  You beat me to it.
Thanks.



reply via email to

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