From 8b00dc69fceea62ecbbf5a21255a41e2f23921a4 Mon Sep 17 00:00:00 2001 From: J Reece Wilson Date: Mon, 13 May 2024 23:39:42 +0100 Subject: [PATCH] [*] Clang is a piece of shit --- Core/project.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Core/project.lua b/Core/project.lua index a4e4642..a4e5e1f 100644 --- a/Core/project.lua +++ b/Core/project.lua @@ -164,6 +164,18 @@ local function configureProjectErrors() filter {"toolset:clang"} buildoptions {"-fms-extensions"} + -- the fucking retard cunts behind clang acknowledge there's a 2x slowdown here. + -- not only that, GCC optimize("no-stack-protector") is broken, their ms stack guard check doesnt do anything, and there are + -- reports that enabling sanitization actually exposes side channel attacks. thanks freetards. very cool. + -- all this because you dont trust me to not memcpy a fucking user provided blob with a bad length check in the very few places that + -- have any reads/writes determined by potentially malicious remote user input. even worse, i've seen what should be nothing more than + -- leaf functions doing atomic bit tests and sets get infected with these shitty checks. + -- once again you freetards are 20 years behind commercial alternatives, and that's with infinite apple buxs. + -- if anything happens because of this, i hope somebody burns down a house of a freetard and shits on their doormat during the escape. + if (not Aurora.Settings.bClangIsNoLongerAPieceOfShitCompiler) then + buildoptions {"-fno-sanitize=all"} + buildoptions {"-fno-stack-protector"} + end disablewarnings {