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 f958b49..fdf743c 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'])
-        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.