From 2b582ad9bbe262729b5eb48881b56614f084d707 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Tue, 4 Jun 2013 15:17:04 -0500 Subject: [PATCH] scons: ammend swig warning error to version 2.0.10 as well --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index 9f7dd96e1..559692de0 100755 --- a/SConstruct +++ b/SConstruct @@ -724,9 +724,9 @@ if compareVersions(swig_version[2], min_swig_version) < 0: print ' Installed version:', swig_version[2] Exit(1) -if swig_version[2] == "2.0.9": +if swig_version[2] in ["2.0.9", "2.0.10"]: print '\n' + termcap.Yellow + termcap.Bold + \ - 'Warning: SWIG version 2.0.9 sometimes generates broken code.\n' + \ + 'Warning: SWIG version 2.0.9/10 sometimes generates broken code.\n' + \ termcap.Normal + \ 'This problem only affects some platforms and some Python\n' + \ 'versions. See the following SWIG bug report for details:\n' + \ -- 2.30.2