From 64816ff838800ffad188d1e079ea3678fb7fda35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 12 May 2023 13:55:34 +0200 Subject: [PATCH] SCons: Fixup enabling MSVC warning C4458 on /W3 Follow-up to #76946. --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 68329f331e6..4e67fb71179 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.