From fcb2ed1d1065429c692a28bb2ee873821444cd56 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 13 Dec 2015 14:18:03 +0000 Subject: [PATCH] Add -Wmissing-field-initializers to python Travis testing --- Tools/testflags.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/testflags.py b/Tools/testflags.py index 76389f046..63a3b4645 100755 --- a/Tools/testflags.py +++ b/Tools/testflags.py @@ -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,