catching msvc9compiler error as well

This commit is contained in:
Tarek Ziadé 2009-03-31 22:44:10 +00:00
parent 6bc94cbbc8
commit 2bdefb3eee

View file

@ -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' %