diff --git a/Rakefile b/Rakefile index c0323cb78..4b96d3036 100644 --- a/Rakefile +++ b/Rakefile @@ -167,7 +167,7 @@ def setup_globals cxxflags += " -Wno-extra-semi" if is_clang? || check_compiler_version("gcc", "8.0.0") cxxflags += " -Wmisleading-indentation -Wduplicated-cond" if check_compiler_version("gcc", "6.0.0") cxxflags += " -Wshadow-compatible-local -Wduplicated-branches" if check_compiler_version("gcc", "7.0.0") - cxxflags += " -Wno-deprecated-copy" if check_compiler_version("gcc", "9.0.0") + cxxflags += " -Wno-deprecated-copy -Wno-stringop-overflow" if check_compiler_version("gcc", "9.0.0") cxxflags += " #{c(:QT_CFLAGS)} #{c(:BOOST_CPPFLAGS)} #{c(:USER_CXXFLAGS)}" ldflags = ""