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
2020index 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",
Original file line number Diff line number Diff line change 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)
You can’t perform that action at this time.
0 commit comments