diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2024-07-18 14:54:58 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2024-08-21 12:22:52 +0200 |
commit | f4d76853b9d921e3645295f9bebc39eb73661e67 (patch) | |
tree | 37f3a117d17012958ae5de39a47e7a99700bff61 /SConstruct | |
parent | df23858488098086da20c67d9fc62f7ffb3d528c (diff) | |
download | redot-engine-f4d76853b9d921e3645295f9bebc39eb73661e67.tar.gz |
WorkerThreadPool (plus friends): Overhaul unlock allowance zones
This fixes a rare but possible deadlock, maybe due to undefined behavior. The new implementation is safer, at the cost of some added boilerplate.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index ca160c1762..73e95896eb 100644 --- a/SConstruct +++ b/SConstruct @@ -861,7 +861,7 @@ else: # GCC, Clang if cc_version_major >= 11: # Broke on MethodBind templates before GCC 11. env.Append(CCFLAGS=["-Wlogical-op"]) elif methods.using_clang(env) or methods.using_emcc(env): - env.Append(CCFLAGS=["-Wimplicit-fallthrough"]) + env.Append(CCFLAGS=["-Wimplicit-fallthrough", "-Wno-undefined-var-template"]) elif env["warnings"] == "all": env.Append(CCFLAGS=["-Wall"] + common_warnings) elif env["warnings"] == "moderate": |