summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlvin Wong <alvinhochun@gmail.com>2024-07-26 02:17:07 +0800
committerAlvin Wong <alvinhochun@gmail.com>2024-08-28 18:20:16 +0800
commitc7a7a5a9731b7dd209849f47f621557cbacc7f2f (patch)
treed29b352c09fb0ac8958e2164af6c37702200c567
parent2d300a0bdc1804064aae593d62e5f7ce36264bcd (diff)
downloadredot-engine-c7a7a5a9731b7dd209849f47f621557cbacc7f2f.tar.gz
MinGW: Print compiler warnings on Windows
-rw-r--r--methods.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/methods.py b/methods.py
index 16ef0e126e..6d81b35aff 100644
--- a/methods.py
+++ b/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):