diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2013-06-04 15:17:04 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2013-06-04 15:17:04 -0500 |
commit | 2b582ad9bbe262729b5eb48881b56614f084d707 (patch) | |
tree | 995c4e9866b69e73fa870ad7e09ade3321d02b2d | |
parent | a3685b0181ea4a71bd82fea11fa0e6df47b0cd93 (diff) | |
download | gem5-2b582ad9bbe262729b5eb48881b56614f084d707.tar.xz |
scons: ammend swig warning error to version 2.0.10 as well
-rwxr-xr-x | SConstruct | 4 |
1 files 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' + \ |