[Freeipa-devel] [PATCH 0018] Ensure credentials structure is initialized

Nathaniel McCallum npmccallum at redhat.com
Thu Sep 26 14:48:31 UTC 2013


On Thu, 2013-09-26 at 12:36 +0200, Petr Viktorin wrote:
> On 09/26/2013 12:07 AM, Nathaniel McCallum wrote:
> > Patch attached.
> >
> 
> There's a ticket to make FreeIPA build with stricter warnings: 
> https://fedorahosted.org/freeipa/ticket/3896
> 
> AFAIU this will trip -Wmissing-field-initializers.

C89 (implicitly) and C99 (explicitly) define that unspecified fields in
initializers have the same initialization as static storage (aka zero).
This feature is both well defined and useful. We should disable that
warning.

Nathaniel




More information about the Freeipa-devel mailing list