aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-04-28 21:20:57 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-05-08 19:37:29 -0700
commit27a9240ccbda82056afbe8f08899dc3e516a6d76 (patch)
tree748f7fcf3d676a83d7c381be7472bb9544ace546 /build.zig
parent72d6f79454bc0265bd6331448a6cce5d0e500974 (diff)
downloadzig-27a9240ccbda82056afbe8f08899dc3e516a6d76.tar.gz
zig-27a9240ccbda82056afbe8f08899dc3e516a6d76.zip
suppress C++ type-limits warnings
Zig has no more C++ code; these warnings are being tripped by the Clang code copy-pasted into Zig. No sense in detecting them.
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index 5df31189ad..78492aa773 100644
--- a/build.zig
+++ b/build.zig
@@ -650,7 +650,7 @@ const exe_cflags = [_][]const u8{
"-fvisibility-inlines-hidden",
"-fno-exceptions",
"-fno-rtti",
- "-Werror=type-limits",
+ "-Wno-type-limits",
"-Wno-missing-braces",
"-Wno-comment",
};