Skip to content

Commit 9fd2f6c

Browse files
committed
chore: ignore c++20 + clang-18 + gcc-14 findings
Signed-off-by: Matt Leon <[email protected]>
1 parent c852939 commit 9fd2f6c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

bazel/external/v8.patch

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,15 @@ diff --git a/bazel/defs.bzl b/bazel/defs.bzl
2020
index e957c0fad3..063627b72b 100644
2121
--- a/bazel/defs.bzl
2222
+++ b/bazel/defs.bzl
23-
@@ -131,6 +131,7 @@ def _default_args():
23+
@@ -131,6 +131,11 @@ def _default_args():
2424
"-Wno-redundant-move",
2525
"-Wno-return-type",
2626
"-Wno-stringop-overflow",
2727
+ "-Wno-nonnull",
28+
+ "-Wno-error=pessimizing-move",
29+
+ "-Wno-error=template-id-cdtor",
30+
+ "-Wno-error=dangling-reference",
31+
+ "-Wno-error=dangling-pointer=",
2832
# Use GNU dialect, because GCC doesn't allow using
2933
# ##__VA_ARGS__ when in standards-conforming mode.
3034
"-std=gnu++17",

bazel/external/wasmedge.BUILD

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,7 @@ cmake(
2121
generate_args = ["-GNinja"],
2222
lib_source = ":srcs",
2323
out_static_libs = ["libwasmedge.a"],
24+
env = {
25+
"CXXFLAGS": "-Wno-error=dangling-reference -Wno-error=maybe-uninitialized -Wno-error=array-bounds= -Wno-error=deprecated-declarations -std=c++20",
26+
},
2427
)

0 commit comments

Comments
 (0)