diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2007-07-27 09:20:08 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2007-07-27 09:20:08 +0000 |
commit | a39ebbcee92b6e5572d3159bf50126213e6bf887 (patch) | |
tree | 84def3f0a2daabe3193f38637eda9d74f04a384f /numpy/distutils/fcompiler/compaq.py | |
parent | 6eab65749990402a42b603423f0d23945e908f3a (diff) | |
download | numpy-a39ebbcee92b6e5572d3159bf50126213e6bf887.tar.gz |
Trying to fix Windows XP x86_64 MSVC build.
Diffstat (limited to 'numpy/distutils/fcompiler/compaq.py')
-rw-r--r-- | numpy/distutils/fcompiler/compaq.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/compaq.py b/numpy/distutils/fcompiler/compaq.py index 972d0de99..7b60bfdae 100644 --- a/numpy/distutils/fcompiler/compaq.py +++ b/numpy/distutils/fcompiler/compaq.py @@ -79,7 +79,12 @@ class CompaqVisualFCompiler(FCompiler): m.initialize() ar_exe = m.lib except DistutilsPlatformError, msg: - print 'Ignoring %s (one should fix me in fcompiler/compaq.py)' % (msg) + print 'Ignoring "%s" (one should fix me in fcompiler/compaq.py)' % (msg) + except AttributeError, msg: + if '_MSVCCompiler__root' in str(msg): + print 'Ignoring "%s" (I think it is msvccompiler.py bug)' % (msg) + else: + raise executables = { 'version_cmd' : ['<F90>', "/what"], |