summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Brill <48932340+jcbrill@users.noreply.github.com>2022-06-21 14:11:29 (GMT)
committerJoseph Brill <48932340+jcbrill@users.noreply.github.com>2022-06-21 14:11:29 (GMT)
commit377e8152bbd9cc4556318283c845dd66defe2d8c (patch)
tree2aa47dd4fd82e74a64b416b76a682e0b85229cf7
parentac9b54756cedd01c36bfbf1bca7d59f92fd08f15 (diff)
downloadSCons-377e8152bbd9cc4556318283c845dd66defe2d8c.zip
SCons-377e8152bbd9cc4556318283c845dd66defe2d8c.tar.gz
SCons-377e8152bbd9cc4556318283c845dd66defe2d8c.tar.bz2
Comment out BatchFileExecutionWarning definition and invocation.
-rw-r--r--SCons/Tool/MSCommon/vc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/SCons/Tool/MSCommon/vc.py b/SCons/Tool/MSCommon/vc.py
index dc97e2f..7b6034e 100644
--- a/SCons/Tool/MSCommon/vc.py
+++ b/SCons/Tool/MSCommon/vc.py
@@ -95,8 +95,8 @@ class MSVCScriptNotFound(VisualCException):
class MSVCUseSettingsError(VisualCException):
pass
-class BatchFileExecutionWarning(SCons.Warnings.WarningOnByDefault):
- pass
+#class BatchFileExecutionWarning(SCons.Warnings.WarningOnByDefault):
+# pass
# Dict to 'canonalize' the arch
@@ -1055,7 +1055,7 @@ def script_env(script, args=None):
# detected errors, cl.exe on path
debug('script=%s args=%s errors=%s', repr(script), repr(args), script_errmsg)
# This may be a bad idea (scons environment != vs cmdline environment)
- SCons.Warnings.warn(BatchFileExecutionWarning, script_errmsg)
+ #SCons.Warnings.warn(BatchFileExecutionWarning, script_errmsg)
# TODO: errlog/errstr should be added to cache and warning moved to call site
# once we updated cache, give a chance to write out if user wanted