Python syntax typo.
authorCarl Hetherington <cth@carlh.net>
Tue, 28 Jul 2020 10:04:02 +0000 (12:04 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 28 Jul 2020 10:04:02 +0000 (12:04 +0200)
wscript

diff --git a/wscript b/wscript
index f958b49fa003912255e95b6d9f35d4d55a615ccf..fdf743cdd7d3b00979fb12e15e4c90cfd8355bd4 100644 (file)
--- a/wscript
+++ b/wscript
@@ -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'])
         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.
             # 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.