diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-07-26 20:04:52 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-07-26 21:30:59 +0200 |
| commit | 2e0cf721530a17b0190c938b04176e0315950053 (patch) | |
| tree | de13c01641d66d95e3a5a8575fdd29ff0a8e2669 | |
| parent | 8edebbfae00f16d007f4e7062315059c8a0e8b9c (diff) | |
Try to remove some more default -Wno switches.
| -rw-r--r-- | wscript | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -119,13 +119,9 @@ def configure(conf): if conf.env['CXX_NAME'] == 'gcc': gcc = conf.env['CC_VERSION'] - if int(gcc[0]) >= 4 and int(gcc[1]) > 1: - conf.env.append_value('CXXFLAGS', ['-Wno-unused-result']) if int(gcc[0]) >= 8: # I tried and failed to ignore these with _Pragma conf.env.append_value('CXXFLAGS', ['-Wno-cast-function-type']) - if int(gcc[0]) >= 9: - conf.env.append_value('CXXFLAGS', ['-Wno-deprecated-copy']) have_c11 = int(gcc[0]) >= 4 and int(gcc[1]) >= 8 and int(gcc[2]) >= 1 else: have_c11 = False |
