diff options
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index aeb901b0f2e..79702a38c78 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -369,6 +369,8 @@ flags { configuration { "vs*" } flags { "ExtraWarnings", + "NoEditAndContinue", + "EnableMinimalRebuild", } if not _OPTIONS["NOWERROR"] then flags{ @@ -664,6 +666,13 @@ if _OPTIONS["VERBOSE"] then } end +-- only show shadow warnings when enabled +if (_OPTIONS["SHADOW_CHECK"]=="1") then + buildoptions { + "-Wshadow" + } +end + -- only show deprecation warnings when enabled if _OPTIONS["DEPRECATED"]~="1" then buildoptions { @@ -811,7 +820,6 @@ end "-Wno-cast-align", "-Wno-tautological-compare", "-Wno-dynamic-class-memaccess", - "-Wno-self-assign-field", } if (version >= 30200) then buildoptions { @@ -820,7 +828,6 @@ end end if (version >= 30400) then buildoptions { - "-Wno-inline-new-delete", "-Wno-constant-logical-operand", } end @@ -832,11 +839,6 @@ end } end else - if (_OPTIONS["SHADOW_CHECK"]=="1") then - buildoptions { - "-Wshadow" - } - end if (version == 40201) then buildoptions { "-Wno-cast-align" |