diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2023-05-12 13:55:34 +0200 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-05-12 13:55:34 +0200 |
| commit | 64816ff838800ffad188d1e079ea3678fb7fda35 (patch) | |
| tree | 60ad615e16a571dc3b48c513c9043c7c750321ba /SConstruct | |
| parent | 65778525bf5a6f030a4cd60c49588a213023264e (diff) | |
| download | redot-engine-64816ff838800ffad188d1e079ea3678fb7fda35.tar.gz | |
SCons: Fixup enabling MSVC warning C4458 on /W3
Follow-up to #76946.
Diffstat (limited to 'SConstruct')
| -rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 68329f331e..4e67fb7117 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. |
