[*] Archive: dumbshit MSVC devs. if it only were just john. at least clang devs are just behind. every time i come across msvc stl or compiler devs, they're outright retarded

https://developercommunity.visualstudio.com/t/Support-__builtin_memcpy-and-__builtin_m/1046483?ftype=problem

Daniel Griffing to add to the list of shitstain wankers at msft
This commit is contained in:
Reece Wilson 2024-07-16 02:00:00 +01:00
parent 8b8aadaa86
commit d8544bc966

View File

@ -158,6 +158,15 @@ local function configureProjectForPlatforms(projType)
end end
local function configureProjectCPUTarget() local function configureProjectCPUTarget()
filter { "toolset:msc"}
defines {"AURORA_RUNTIME_MEMCMP=__builtin_memcmp"}
defines {"AURORA_RUNTIME_MEMCMP_=1"}
filter {}
filter { "toolset:msc", "architecture:x86_64"}
buildoptions { "/arch:AVX" }
filter {}
filter { "toolset:clang", "architecture:x86_64"} filter { "toolset:clang", "architecture:x86_64"}
-- Some discount VPSes might be running on this dead architecture -- Some discount VPSes might be running on this dead architecture
-- Haswell introduced AVX2. -- Haswell introduced AVX2.
@ -168,8 +177,10 @@ local function configureProjectCPUTarget()
disablewarnings { "dynamic-class-memaccess" } disablewarnings { "dynamic-class-memaccess" }
defines {"AURORA_RUNTIME_MEMSET=__builtin_memset"} defines {"AURORA_RUNTIME_MEMSET=__builtin_memset"}
defines {"AURORA_RUNTIME_MEMCPY=__builtin_memcpy"} defines {"AURORA_RUNTIME_MEMCPY=__builtin_memcpy"}
defines {"AURORA_RUNTIME_MEMCMP=__builtin_memcmp"}
defines {"AURORA_RUNTIME_MEMSET_=1"} defines {"AURORA_RUNTIME_MEMSET_=1"}
defines {"AURORA_RUNTIME_MEMCPY_=1"} defines {"AURORA_RUNTIME_MEMCPY_=1"}
defines {"AURORA_RUNTIME_MEMCMP_=1"}
filter {} filter {}
filter { "toolset:clang", "architecture:x86"} filter { "toolset:clang", "architecture:x86"}
@ -178,8 +189,10 @@ local function configureProjectCPUTarget()
disablewarnings { "dynamic-class-memaccess" } disablewarnings { "dynamic-class-memaccess" }
defines {"AURORA_RUNTIME_MEMSET=__builtin_memset"} defines {"AURORA_RUNTIME_MEMSET=__builtin_memset"}
defines {"AURORA_RUNTIME_MEMCPY=__builtin_memcpy"} defines {"AURORA_RUNTIME_MEMCPY=__builtin_memcpy"}
defines {"AURORA_RUNTIME_MEMCMP=__builtin_memcmp"}
defines {"AURORA_RUNTIME_MEMSET_=1"} defines {"AURORA_RUNTIME_MEMSET_=1"}
defines {"AURORA_RUNTIME_MEMCPY_=1"} defines {"AURORA_RUNTIME_MEMCPY_=1"}
defines {"AURORA_RUNTIME_MEMCMP_=1"}
filter {} filter {}
end end