diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-02-21 00:41:17 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-02-21 00:41:17 +0100 |
| commit | 6c3ded5baac385d95ec2cf5e625c6c796c23e318 (patch) | |
| tree | 7b35c45003333d056312abd46eafaceac201577d | |
| parent | feaa2ccf73153b0693c4b4a9b2468869ed0b9962 (diff) | |
Same trick again with gcc 8.3.0 (Debian 10).
| -rw-r--r-- | wscript | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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: |
