提交 b73f99ea authored 作者: Frederic's avatar Frederic

Fix crash in case of error. fix gh-2513

上级 7120c660
......@@ -1777,6 +1777,7 @@ class GCC_compiler(object):
flags = list(flags)
compilation_ok = True
run_ok = False
out, err = None, None
try:
fd, path = tempfile.mkstemp(suffix='.c', prefix=tmp_prefix)
exe_path = path[:-2]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论