Fix MSVC warnings C4324, C4389, C4456, and C4459

Part of #66537.
This commit is contained in:
Rémi Verschelde
2022-09-28 16:43:09 +02:00
parent 14e1f36e61
commit d8268aae30
9 changed files with 111 additions and 11 deletions

View File

@ -79,6 +79,9 @@ if env["builtin_embree"]:
else:
env.Append(LIBS=["psapi"])
if env.msvc: # Disable bogus warning about intentional struct padding.
env_raycast.Append(CCFLAGS=["/wd4324"])
env_thirdparty = env_raycast.Clone()
env_thirdparty.force_optimization_on_debug()
env_thirdparty.disable_warnings()