Temporarily remove -Werror for Scilab testing
Until STL container wrappers are fixed.
This commit is contained in:
parent
59ff3e6a3a
commit
213058de01
1 changed files with 30 additions and 30 deletions
60
testflags.py
60
testflags.py
|
|
@ -1,38 +1,38 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
c_common = "-Werror -fdiagnostics-show-option -std=gnu89 -Wno-long-long -Wreturn-type -Wdeclaration-after-statement"
|
c_common = "-fdiagnostics-show-option -std=gnu89 -Wno-long-long -Wreturn-type -Wdeclaration-after-statement"
|
||||||
cflags = {
|
cflags = {
|
||||||
"csharp":c_common,
|
"csharp":"-Werror " + c_common,
|
||||||
"d":c_common,
|
"d":"-Werror " + c_common,
|
||||||
"go":c_common,
|
"go":"-Werror " + c_common,
|
||||||
"guile":c_common,
|
"guile":"-Werror " + c_common,
|
||||||
"java":c_common,
|
"java":"-Werror " + c_common,
|
||||||
"javascript":c_common,
|
"javascript":"-Werror " + c_common,
|
||||||
"lua":c_common,
|
"lua":"-Werror " + c_common,
|
||||||
"octave":c_common,
|
"octave":"-Werror " + c_common,
|
||||||
"perl5":c_common,
|
"perl5":"-Werror " + c_common,
|
||||||
"php":c_common,
|
"php":"-Werror " + c_common,
|
||||||
"python":c_common,
|
"python":"-Werror " + c_common,
|
||||||
"ruby":c_common,
|
"ruby":"-Werror " + c_common,
|
||||||
"scilab":c_common,
|
"scilab":"-Werror " + c_common,
|
||||||
"tcl":c_common,
|
"tcl":"-Werror " + c_common,
|
||||||
}
|
}
|
||||||
|
|
||||||
cxx_common = "-Werror -fdiagnostics-show-option -std=c++98 -Wno-long-long -Wreturn-type"
|
cxx_common = "-fdiagnostics-show-option -std=c++98 -Wno-long-long -Wreturn-type"
|
||||||
cxxflags = {
|
cxxflags = {
|
||||||
"csharp":cxx_common,
|
"csharp":"-Werror " + cxx_common,
|
||||||
"d":cxx_common,
|
"d":"-Werror " + cxx_common,
|
||||||
"go":cxx_common,
|
"go":"-Werror " + cxx_common,
|
||||||
"guile":cxx_common,
|
"guile":"-Werror " + cxx_common,
|
||||||
"java":cxx_common,
|
"java":"-Werror " + cxx_common,
|
||||||
"javascript":cxx_common,
|
"javascript":"-Werror " + cxx_common,
|
||||||
"lua":cxx_common,
|
"lua":"-Werror " + cxx_common,
|
||||||
"octave":cxx_common,
|
"octave":"-Werror " + cxx_common,
|
||||||
"perl5":cxx_common,
|
"perl5":"-Werror " + cxx_common,
|
||||||
"php":cxx_common,
|
"php":"-Werror " + cxx_common,
|
||||||
"python":cxx_common,
|
"python":"-Werror " + cxx_common,
|
||||||
"ruby":cxx_common,
|
"ruby":"-Werror " + cxx_common,
|
||||||
"scilab":cxx_common,
|
"scilab": cxx_common,
|
||||||
"tcl":cxx_common,
|
"tcl":"-Werror " + cxx_common,
|
||||||
}
|
}
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue