aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-04 17:23:36 +0100
committerGitHub Enterprise <[email protected]>2026-03-04 17:23:36 +0100
commit1f83b48a20bf90f41e18867620c5774f3be6280d (patch)
treead2b948dfd64ff55249a361ba018e6771de041d7 /src/zenserver
parentmore feedback during auth option parsing (#806) (diff)
downloadzen-1f83b48a20bf90f41e18867620c5774f3be6280d.tar.xz
zen-1f83b48a20bf90f41e18867620c5774f3be6280d.zip
Fixing various compiler issues (#807)
Compile fixes for various versions of gcc,clang (non-UE)
Diffstat (limited to 'src/zenserver')
-rw-r--r--src/zenserver/xmake.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/zenserver/xmake.lua b/src/zenserver/xmake.lua
index 915b6a3b1..7a9031782 100644
--- a/src/zenserver/xmake.lua
+++ b/src/zenserver/xmake.lua
@@ -19,6 +19,12 @@ target("zenserver")
add_files("**.cpp")
add_files("frontend/*.zip")
add_files("zenserver.cpp", {unity_ignored = true })
+
+ if is_plat("linux") and not (get_config("toolchain") or ""):find("clang") then
+ -- GCC false positives in deeply inlined code (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100137)
+ add_files("storage/projectstore/httpprojectstore.cpp", {force = {cxxflags = "-Wno-stringop-overflow"} })
+ add_files("storage/storageconfig.cpp", {force = {cxxflags = "-Wno-array-bounds"} })
+ end
add_includedirs(".")
set_symbols("debug")