Skip to content

Commit

Permalink
Fix warning muting not ocurring at all levels
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomShaper committed Aug 26, 2024
1 parent e53dc80 commit a2e741e
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 @@ -835,7 +835,7 @@ else: # GCC, Clang
if cc_version_major >= 12: # False positives in our error macros, see GH-58747.
common_warnings += ["-Wno-return-type"]
elif methods.using_clang(env) or methods.using_emcc(env):
common_warnings += ["-Wshadow-field-in-constructor", "-Wshadow-uncaptured-local"]
common_warnings += ["-Wshadow-field-in-constructor", "-Wshadow-uncaptured-local", "-Wno-undefined-var-template"]
# We often implement `operator<` for structs of pointers as a requirement
# for putting them in `Set` or `Map`. We don't mind about unreliable ordering.
common_warnings += ["-Wno-ordered-compare-function-pointers"]
Expand Down

0 comments on commit a2e741e

Please sign in to comment.