Browse Source

MinGW: Print compiler warnings on Windows

Alvin Wong 1 year ago
parent
commit
c7a7a5a973
1 changed files with 2 additions and 0 deletions
  1. 2 0
      methods.py

+ 2 - 0
methods.py

@@ -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):