Commit 0396d17e authored by Tarek Ziadé's avatar Tarek Ziadé

catching msvc9compiler error as well

parent d2f43a0e
...@@ -478,7 +478,7 @@ class build_ext (Command): ...@@ -478,7 +478,7 @@ class build_ext (Command):
for ext in self.extensions: for ext in self.extensions:
try: try:
self.build_extension(ext) self.build_extension(ext)
except (CCompilerError, DistutilsError), e: except (CCompilerError, DistutilsError, CompileError), e:
if not ext.optional: if not ext.optional:
raise raise
self.warn('building extension "%s" failed: %s' % self.warn('building extension "%s" failed: %s' %
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment