MinGW: Print compiler warnings on Windows

This commit is contained in:
Alvin Wong 2024-07-26 02:17:07 +08:00
parent 2d300a0bdc
commit c7a7a5a973
1 changed files with 2 additions and 0 deletions

View File

@ -495,6 +495,8 @@ def use_windows_spawn_fix(self, platform=None):
rv = proc.wait()
if rv:
print_error(err)
elif len(err) > 0 and not err.isspace():
print(err)
return rv
def mySpawn(sh, escape, cmd, args, env):