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