[Numpy-svn] r3138 - trunk/numpy/distutils

numpy-svn at scipy.org numpy-svn at scipy.org
Fri Sep 8 11:56:50 CDT 2006


Author: rkern
Date: 2006-09-08 11:56:50 -0500 (Fri, 08 Sep 2006)
New Revision: 3138

Modified:
   trunk/numpy/distutils/ccompiler.py
Log:
Fix #198

Modified: trunk/numpy/distutils/ccompiler.py
===================================================================
--- trunk/numpy/distutils/ccompiler.py	2006-09-08 08:29:12 UTC (rev 3137)
+++ trunk/numpy/distutils/ccompiler.py	2006-09-08 16:56:50 UTC (rev 3138)
@@ -198,7 +198,7 @@
         # '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:



More information about the Numpy-svn mailing list