diff options
author | Robert Kern <robert.kern@gmail.com> | 2006-09-08 16:56:50 +0000 |
---|---|---|
committer | Robert Kern <robert.kern@gmail.com> | 2006-09-08 16:56:50 +0000 |
commit | 9109c6af6b5adba53ac5fd9161dbfa2e04c52a04 (patch) | |
tree | 9d9d7f79790d987e678977280c2f4eb38a768718 | |
parent | 8f6519144f53c8de74f54d7774397e4bbe84663d (diff) | |
download | numpy-9109c6af6b5adba53ac5fd9161dbfa2e04c52a04.tar.gz |
Fix #198
-rw-r--r-- | numpy/distutils/ccompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/ccompiler.py b/numpy/distutils/ccompiler.py index 736a691e9..08c190a17 100644 --- a/numpy/distutils/ccompiler.py +++ b/numpy/distutils/ccompiler.py @@ -198,7 +198,7 @@ def CCompiler_customize(self, dist, need_cxx=0): # 'CCSHARED', 'LDSHARED', 'SO') try: self.compiler_so.remove('-Wstrict-prototypes') - except ValueError: + except (AttributeError, ValueError): pass if hasattr(self,'compiler') and self.compiler[0].find('cc')>=0: |