File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,15 @@ 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,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",
Original file line number Diff line number Diff line change 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)
You can’t perform that action at this time.
0 commit comments