Add -Wmissing-field-initializers to python Travis testing

This commit is contained in:
William S Fulton 2015-12-13 14:18:03 +00:00
commit fcb2ed1d10

View file

@ -15,7 +15,7 @@ def get_cflags(language, std, compiler):
"octave":"-Werror " + c_common,
"perl5":"-Werror " + c_common,
"php":"-Werror " + c_common,
"python":"-Werror " + c_common,
"python":"-Werror " + c_common + " -Wmissing-field-initializers",
"r":"-Werror " + c_common,
"ruby":"-Werror " + c_common,
"scilab":"-Werror " + c_common,
@ -44,7 +44,7 @@ def get_cxxflags(language, std, compiler):
"octave":"-Werror " + cxx_common,
"perl5":"-Werror " + cxx_common,
"php":"-Werror " + cxx_common,
"python":"-Werror " + cxx_common,
"python":"-Werror " + cxx_common + " -Wmissing-field-initializers",
"r":"-Werror " + cxx_common,
"ruby":"-Werror " + cxx_common,
"scilab": cxx_common,