[*] Make sure clang and msvc use identical volatile semantics

This commit is contained in:
Reece Wilson 2024-06-19 13:31:16 +01:00
parent 2567be205d
commit 4c7af7a8af

View File

@ -188,6 +188,8 @@ local function configureProjectErrors()
filter {"toolset:clang"}
buildoptions {"-fms-extensions"}
buildoptions {"-fvolatile:ms"}
-- The fucking retard cunts behind clang acknowledge there's a 2x slowdown here.
-- Not only that, GCC optimize("no-stack-protector") is broken (ive tried other attributes), their ms stack guard check doesnt do anything,
-- and there are reports that enabling sanitization actually exposes side channel attacks. thanks freetards. very cool.