aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/xmake.lua')
-rw-r--r--thirdparty/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/thirdparty/xmake.lua b/thirdparty/xmake.lua
index e8832d50a..7377cf0f6 100644
--- a/thirdparty/xmake.lua
+++ b/thirdparty/xmake.lua
@@ -38,6 +38,7 @@ target('rpmalloc')
set_languages("c17", "cxx20")
if is_os("windows") and not (get_config("toolchain") or ""):find("clang") then
add_cflags("/experimental:c11atomics", {force=true, tools="cl"})
+ add_cflags("/wd5105", {tools="cl"})
end
add_defines("RPMALLOC_FIRST_CLASS_HEAPS=1", "ENABLE_STATISTICS=1", "ENABLE_OVERRIDE=0")
add_files("rpmalloc/rpmalloc.c")