Skip to content

Commit dff346e

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

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

bazel/external/v8.patch

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,14 @@ 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,10 @@ 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=dangling-reference",
30+
+ "-Wno-error=dangling-pointer=",
2831
# Use GNU dialect, because GCC doesn't allow using
2932
# ##__VA_ARGS__ when in standards-conforming mode.
3033
"-std=gnu++17",

bazel/external/wasmedge.BUILD

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,7 @@ cmake(
2424
generate_args = ["-GNinja"],
2525
lib_source = ":srcs",
2626
out_static_libs = ["libwasmedge.a"],
27+
env = {
28+
"CXXFLAGS": "-Wno-error=dangling-reference -Wno-error=maybe-uninitialized -Wno-error=array-bounds= -Wno-error=deprecated-declarations -std=c++20",
29+
},
2730
)

0 commit comments

Comments
 (0)