Skip to content

Commit

Permalink
SCons: Fixup enabling MSVC warning C4458 on /W3
Browse files Browse the repository at this point in the history
Follow-up to #76946.
  • Loading branch information
akien-mga committed May 12, 2023
1 parent 6577852 commit 64816ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 64816ff

Please sign in to comment.