]> granicus.if.org Git - graphviz/commit
suppress -Wmissing-field-initializers warnings when building PHP bindings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 11 Oct 2022 04:03:03 +0000 (21:03 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 11 Oct 2022 04:18:43 +0000 (21:18 -0700)
commit92d25c18268b14a4a05f25b79231293223003093
tree425a83c186769fd120ae371a9771f6a733527479
parent941975c660ef74c9e04c6751caf66f5eb794037f
suppress -Wmissing-field-initializers warnings when building PHP bindings

SWIG-generated code produces warnings on some platforms:

    CXX      libgv_php_la-gv_php.lo
  gv_php.cpp:5389:1: error: missing initializer for member
    '_zend_function_entry::num_args' [-Werror=missing-field-initializers]
   };
   ^

It is not helpful to be told about problems in third-party code. Suppressing
these will enable us to make -Wmissing-field-initializers fail-on-warning in
future.
tclpkg/gv/Makefile.am