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:
William S Fulton 2015-02-07 22:14:29 +00:00
commit 9e56ae10cf

View file

@ -5,10 +5,10 @@ cflags = {
"d":c_common,
"go":c_common,
"guile":c_common,
"java":c_common + " -pedantic",
"javascript":c_common + " -pedantic",
"java":c_common,
"javascript":c_common,
"lua":c_common,
"octave":c_common + " -pedantic",
"octave":c_common,
"perl5":c_common,
"php":c_common,
"python":c_common,
@ -20,16 +20,16 @@ cflags = {
cxx_common = "-Werror -fdiagnostics-show-option -std=c++98 -Wno-long-long -Wreturn-type"
cxxflags = {
"csharp":cxx_common,
"d":cxx_common + " -pedantic",
"go":cxx_common + " -pedantic",
"d":cxx_common,
"go":cxx_common,
"guile":cxx_common,
"java":cxx_common,
"javascript":cxx_common + " -pedantic",
"javascript":cxx_common,
"lua":cxx_common,
"octave":cxx_common,
"perl5":cxx_common,
"php":cxx_common + " -pedantic",
"python":cxx_common + " -pedantic",
"php":cxx_common,
"python":cxx_common,
"ruby":cxx_common,
"scilab":cxx_common,
"tcl":cxx_common,