There are a couple of testcases that aren't compliant and supression via
pragmas doesn't work for gcc < 4.8 No languages can work with -pedantic in the test-suite
This commit is contained in:
parent
a73a783fcd
commit
9e56ae10cf
1 changed files with 8 additions and 8 deletions
16
testflags.py
16
testflags.py
|
|
@ -5,10 +5,10 @@ cflags = {
|
||||||
"d":c_common,
|
"d":c_common,
|
||||||
"go":c_common,
|
"go":c_common,
|
||||||
"guile":c_common,
|
"guile":c_common,
|
||||||
"java":c_common + " -pedantic",
|
"java":c_common,
|
||||||
"javascript":c_common + " -pedantic",
|
"javascript":c_common,
|
||||||
"lua":c_common,
|
"lua":c_common,
|
||||||
"octave":c_common + " -pedantic",
|
"octave":c_common,
|
||||||
"perl5":c_common,
|
"perl5":c_common,
|
||||||
"php":c_common,
|
"php":c_common,
|
||||||
"python":c_common,
|
"python":c_common,
|
||||||
|
|
@ -20,16 +20,16 @@ cflags = {
|
||||||
cxx_common = "-Werror -fdiagnostics-show-option -std=c++98 -Wno-long-long -Wreturn-type"
|
cxx_common = "-Werror -fdiagnostics-show-option -std=c++98 -Wno-long-long -Wreturn-type"
|
||||||
cxxflags = {
|
cxxflags = {
|
||||||
"csharp":cxx_common,
|
"csharp":cxx_common,
|
||||||
"d":cxx_common + " -pedantic",
|
"d":cxx_common,
|
||||||
"go":cxx_common + " -pedantic",
|
"go":cxx_common,
|
||||||
"guile":cxx_common,
|
"guile":cxx_common,
|
||||||
"java":cxx_common,
|
"java":cxx_common,
|
||||||
"javascript":cxx_common + " -pedantic",
|
"javascript":cxx_common,
|
||||||
"lua":cxx_common,
|
"lua":cxx_common,
|
||||||
"octave":cxx_common,
|
"octave":cxx_common,
|
||||||
"perl5":cxx_common,
|
"perl5":cxx_common,
|
||||||
"php":cxx_common + " -pedantic",
|
"php":cxx_common,
|
||||||
"python":cxx_common + " -pedantic",
|
"python":cxx_common,
|
||||||
"ruby":cxx_common,
|
"ruby":cxx_common,
|
||||||
"scilab":cxx_common,
|
"scilab":cxx_common,
|
||||||
"tcl":cxx_common,
|
"tcl":cxx_common,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue