mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
catching msvc9compiler error as well
This commit is contained in:
parent
6bc94cbbc8
commit
2bdefb3eee
1 changed files with 1 additions and 1 deletions
|
@ -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' %
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue