summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-21 00:41:17 +0100
committerCarl Hetherington <cth@carlh.net>2024-02-21 00:41:17 +0100
commit6c3ded5baac385d95ec2cf5e625c6c796c23e318 (patch)
tree7b35c45003333d056312abd46eafaceac201577d /wscript
parentfeaa2ccf73153b0693c4b4a9b2468869ed0b9962 (diff)
Same trick again with gcc 8.3.0 (Debian 10).
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 3 insertions, 3 deletions
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: