diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-07-29 09:28:45 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-07-29 09:28:45 +0200 |
| commit | 2d7ba63fdbe2c91a1ca22ffa5b511ec1a2420b29 (patch) | |
| tree | bcf750ffa84f7c8a83d2926a26aacaf0102f4a15 | |
| parent | d902160e3c89a9f65f58a2463fac0b1de1d940b1 (diff) | |
clang doesn't have -Wmaybe-uninitializedv2.15.92
| -rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -109,8 +109,6 @@ def configure(conf): '-Wwrite-strings', # I tried and failed to ignore these with _Pragma '-Wno-ignored-qualifiers', - # Most gccs still give these warnings from boost::optional - '-Wno-maybe-uninitialized', '-D_FILE_OFFSET_BITS=64']) if conf.options.force_cpp11: @@ -125,6 +123,8 @@ def configure(conf): # I tried and failed to ignore these with _Pragma conf.env.append_value('CXXFLAGS', ['-Wno-cast-function-type']) have_c11 = int(gcc[0]) >= 4 and int(gcc[1]) >= 8 and int(gcc[2]) >= 1 + # Most gccs still give these warnings from boost::optional + conf.env.append_value('CXXFLAGS', ['-Wno-maybe-uninitialized']) else: have_c11 = False |
