catching msvc9compiler error as well

This commit is contained in:
Tarek Ziadé 2009-03-31 22:44:10 +00:00
parent 6bc94cbbc8
commit 2bdefb3eee
1 changed files with 1 additions and 1 deletions

View File

@ -478,7 +478,7 @@ class build_ext (Command):
for ext in self.extensions:
try:
self.build_extension(ext)
except (CCompilerError, DistutilsError), e:
except (CCompilerError, DistutilsError, CompileError), e:
if not ext.optional:
raise
self.warn('building extension "%s" failed: %s' %