begin compatible with gcc 8.3

parent a1af32c1
......@@ -28,6 +28,8 @@ env.Append(CXXFLAGS = ['-fdiagnostics-color=always'])
# To silence some warnings produced by fflas-ffpack which cannot be silenced by
# using pragmas
env.Append(CXXFLAGS = ['-Wno-variadic-macros'])
# Warning raised by GCC 9
env.Append(CXXFLAGS = ['-Wno-deprecated-copy'])
Export('env');
SConscript('src/SConscript', variant_dir='build', duplicate=0)
......@@ -3,7 +3,6 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
#include <givaro/modular-integer.h>
#pragma GCC diagnostic pop
......
......@@ -5,7 +5,6 @@
#pragma GCC diagnostic ignored "-Wignored-attributes"
#pragma GCC diagnostic ignored "-Wattributes"
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
#include <fflas-ffpack/fflas-ffpack.h>
#pragma GCC diagnostic pop
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment