diff options
| -rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -122,7 +122,7 @@ def configure(conf): if int(gcc[0]) >= 8: # I tried and failed to ignore these with _Pragma conf.env.append_value('CXXFLAGS', ['-Wno-cast-function-type']) - elif int(gcc[0]) >= 5 and int(gcc[0]) <= 8 + elif int(gcc[0]) >= 5 and int(gcc[0]) <= 8: # There appears to be a GCC bug which lingered from major versions 5--8 and which # flags up these warnings all over the place in boost::optional. # This seems to be the only practical way to hide it. |
