mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
SCons: Add enum conversion warning
This commit is contained in:
@@ -877,7 +877,7 @@ if env.msvc and not methods.using_clang(env): # MSVC
|
||||
env.AppendUnique(LINKFLAGS=["/WX"])
|
||||
|
||||
else: # GCC, Clang
|
||||
common_warnings = []
|
||||
common_warnings = ["-Wenum-conversion"]
|
||||
|
||||
if methods.using_gcc(env):
|
||||
common_warnings += ["-Wshadow", "-Wno-misleading-indentation"]
|
||||
|
||||
Reference in New Issue
Block a user