diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-14 16:30:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 16:30:28 +0200 |
commit | 975262620a3574af0cee16fb12c5aaa60ac87b88 (patch) | |
tree | 5033b04e49d36732fdbcc2d1110170fd000b8c73 | |
parent | 2921827387b339fef98cb761f9571dd0f1dd1986 (diff) | |
parent | 8391ec256d5913e9ba8603fb55957dcb3a7d3f37 (diff) |
Merge pull request #40367 from akien-mga/scons-disable-werror
SCons: Do not enable werror=yes by default
-rw-r--r-- | SConstruct | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index ef74ce7736..e7ca8b3030 100644 --- a/SConstruct +++ b/SConstruct @@ -72,7 +72,6 @@ env_base.disabled_modules = [] env_base.use_ptrcall = False env_base.module_version_string = "" env_base.msvc = False -env_base.stable_release = version.status == "stable" env_base.__class__.disable_module = methods.disable_module @@ -129,7 +128,7 @@ opts.Add("custom_modules", "A list of comma-separated directory paths containing opts.Add(BoolVariable("verbose", "Enable verbose output for the compilation", False)) opts.Add(BoolVariable("progress", "Show a progress indicator during compilation", True)) opts.Add(EnumVariable("warnings", "Level of compilation warnings", "all", ("extra", "all", "moderate", "no"))) -opts.Add(BoolVariable("werror", "Treat compiler warnings as errors", not env_base.stable_release)) +opts.Add(BoolVariable("werror", "Treat compiler warnings as errors", False)) opts.Add(BoolVariable("dev", "If yes, alias for verbose=yes warnings=extra werror=yes", False)) opts.Add("extra_suffix", "Custom extra suffix added to the base filename of all generated binary files", "") opts.Add(BoolVariable("vsproj", "Generate a Visual Studio solution", False)) |