Add -Wmissing-field-initializers to python Travis testing
This commit is contained in:
parent
f7b9466dff
commit
fcb2ed1d10
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ def get_cflags(language, std, compiler):
|
||||||
"octave":"-Werror " + c_common,
|
"octave":"-Werror " + c_common,
|
||||||
"perl5":"-Werror " + c_common,
|
"perl5":"-Werror " + c_common,
|
||||||
"php":"-Werror " + c_common,
|
"php":"-Werror " + c_common,
|
||||||
"python":"-Werror " + c_common,
|
"python":"-Werror " + c_common + " -Wmissing-field-initializers",
|
||||||
"r":"-Werror " + c_common,
|
"r":"-Werror " + c_common,
|
||||||
"ruby":"-Werror " + c_common,
|
"ruby":"-Werror " + c_common,
|
||||||
"scilab":"-Werror " + c_common,
|
"scilab":"-Werror " + c_common,
|
||||||
|
|
@ -44,7 +44,7 @@ def get_cxxflags(language, std, compiler):
|
||||||
"octave":"-Werror " + cxx_common,
|
"octave":"-Werror " + cxx_common,
|
||||||
"perl5":"-Werror " + cxx_common,
|
"perl5":"-Werror " + cxx_common,
|
||||||
"php":"-Werror " + cxx_common,
|
"php":"-Werror " + cxx_common,
|
||||||
"python":"-Werror " + cxx_common,
|
"python":"-Werror " + cxx_common + " -Wmissing-field-initializers",
|
||||||
"r":"-Werror " + cxx_common,
|
"r":"-Werror " + cxx_common,
|
||||||
"ruby":"-Werror " + cxx_common,
|
"ruby":"-Werror " + cxx_common,
|
||||||
"scilab": cxx_common,
|
"scilab": cxx_common,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue