Revert "Print a warning with unknown SCons variables to ease troubleshooting"

This reverts commit c3f4d3afbe.
This commit is contained in:
Rémi Verschelde 2021-12-08 12:12:55 +01:00
parent 193b2789bb
commit 93808ce6cb
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -297,13 +297,6 @@ opts.Update(env_base)
env_base["platform"] = selected_platform # Must always be re-set after calling opts.Update().
Help(opts.GenerateHelpText(env_base))
# Detect and print a warning listing unknown SCons variables to ease troubleshooting.
unknown = opts.UnknownVariables()
if unknown:
print("WARNING: Unknown SCons variables were passed and will be ignored:")
for item in unknown.items():
print(" " + item[0] + "=" + item[1])
# add default include paths
env_base.Prepend(CPPPATH=["#"])