diff --git a/SConstruct b/SConstruct index 68329f331e65..4e67fb71179d 100644 --- a/SConstruct +++ b/SConstruct @@ -703,7 +703,7 @@ if selected_platform in platform_list: env.Append(CCFLAGS=["/W4"]) elif env["warnings"] == "all": # C4458 is like -Wshadow. Part of /W4 but let's apply it for the default /W3 too. - env.Append(CCFLAGS=["/W3", "/w4458"]) + env.Append(CCFLAGS=["/W3", "/w34458"]) elif env["warnings"] == "moderate": env.Append(CCFLAGS=["/W2"]) # Disable warnings which we don't plan to fix.