File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,14 @@ diff --git a/bazel/defs.bzl b/bazel/defs.bzl
20
20
index e957c0fad3..063627b72b 100644
21
21
--- a/bazel/defs.bzl
22
22
+++ b/bazel/defs.bzl
23
- @@ -131,6 +131,7 @@ def _default_args():
23
+ @@ -131,6 +131,10 @@ def _default_args():
24
24
"-Wno-redundant-move",
25
25
"-Wno-return-type",
26
26
"-Wno-stringop-overflow",
27
27
+ "-Wno-nonnull",
28
+ + "-Wno-error=pessimizing-move",
29
+ + "-Wno-error=dangling-reference",
30
+ + "-Wno-error=dangling-pointer=",
28
31
# Use GNU dialect, because GCC doesn't allow using
29
32
# ##__VA_ARGS__ when in standards-conforming mode.
30
33
"-std=gnu++17",
Original file line number Diff line number Diff line change 24
24
generate_args = ["-GNinja"],
25
25
lib_source = ":srcs",
26
26
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
+ },
27
30
)
You can’t perform that action at this time.
0 commit comments