mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Added PreprocessError and UnknownFileError (both used by CCompiler).
This commit is contained in:
parent
eab969d700
commit
68ff615c79
1 changed files with 5 additions and 1 deletions
|
@ -78,6 +78,9 @@ class DistutilsInternalError (DistutilsError):
|
|||
class CCompilerError (Exception):
|
||||
"""Some compile/link operation failed."""
|
||||
|
||||
class PreprocessError (CCompilerError):
|
||||
"""Failure to preprocess one or more C/C++ files."""
|
||||
|
||||
class CompileError (CCompilerError):
|
||||
"""Failure to compile one or more C/C++ source files."""
|
||||
|
||||
|
@ -89,4 +92,5 @@ class LinkError (CCompilerError):
|
|||
"""Failure to link one or more C/C++ object files into an executable
|
||||
or shared library file."""
|
||||
|
||||
|
||||
class UnknownFileError (CCompilerError):
|
||||
"""Attempt to process an unknown file type."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue