From 4c7af7a8afe6ab20c90ddc3544f0bd1f8d144404 Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Wed, 19 Jun 2024 13:31:16 +0100 Subject: [PATCH] [*] Make sure clang and msvc use identical volatile semantics --- Core/project.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/project.lua b/Core/project.lua index d32e93b..af3e282 100644 --- a/Core/project.lua +++ b/Core/project.lua @@ -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.