From 6c3ded5baac385d95ec2cf5e625c6c796c23e318 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 21 Feb 2024 00:41:17 +0100 Subject: Same trick again with gcc 8.3.0 (Debian 10). --- wscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 8b96afd29..ed7f9cc32 100644 --- a/wscript +++ b/wscript @@ -147,10 +147,10 @@ def configure(conf): conf.env.append_value('CXXFLAGS', ['-Wno-cast-function-type']) # Most gccs still give these warnings from boost::optional conf.env.append_value('CXXFLAGS', ['-Wno-maybe-uninitialized']) - if int(gcc[0]) > 7: + if int(gcc[0]) > 8: # gcc 4.8.5 on Centos 7 does not have this warning - # gcc 7.5.0 on Ubuntu 18.04 does, but I didn't manage to turn it - # back off again with a pragma + # gcc 7.5.0 on Ubuntu 18.04 and gcc 8.3.0 on Debian 10 do, but + # I didn't manage to turn it back off again with a pragma conf.env.append_value('CXXFLAGS', ['-Wsuggest-override']) if conf.options.enable_debug: -- cgit v1.2.3