[PATCH] doc: mention handling of {0} in -Wmissing-field-initializers (PR 71250)

Jeff Law law@redhat.com
Wed Apr 19 15:00:00 GMT 2017


On 04/19/2017 07:12 AM, Alexander Monakov wrote:
> Hi,
> 
> PR 71250 asks to explicitly document that -Wmissing-field-initializers warning
> was enhanced some time ago to suppress warnings on uses of the universal zero
> initializer { 0 } in C language.  The documentation already calls out that the
> warning is silenced in C++ for '{ }', the patch adds the corresponding C example
> just before that.
> 
> Sanity-checked with 'make info html', ok to apply?
> 
> Alexander
> 
> 	PR other/71250
> 	* doc/invoke.texi (-Wmissing-field-initializers): Mention that warning
> 	is suppressed for '{ 0 }' in C.
OK.
jeff



More information about the Gcc-patches mailing list