diff options
author | Joseph Brill <48932340+jcbrill@users.noreply.github.com> | 2022-06-21 14:11:29 (GMT) |
---|---|---|
committer | Joseph Brill <48932340+jcbrill@users.noreply.github.com> | 2022-06-21 14:11:29 (GMT) |
commit | 377e8152bbd9cc4556318283c845dd66defe2d8c (patch) | |
tree | 2aa47dd4fd82e74a64b416b76a682e0b85229cf7 | |
parent | ac9b54756cedd01c36bfbf1bca7d59f92fd08f15 (diff) | |
download | SCons-377e8152bbd9cc4556318283c845dd66defe2d8c.zip SCons-377e8152bbd9cc4556318283c845dd66defe2d8c.tar.gz SCons-377e8152bbd9cc4556318283c845dd66defe2d8c.tar.bz2 |
Comment out BatchFileExecutionWarning definition and invocation.
-rw-r--r-- | SCons/Tool/MSCommon/vc.py | 6 |
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 |