Skip to content

Commit

Permalink
disable another error in patch
Browse files Browse the repository at this point in the history
  • Loading branch information
tbossi committed Jul 10, 2021
1 parent 532402c commit b1dee67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion builders/BUILD.gn.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ diff --git a/BUILD.gn b/BUILD.gn
index d2bfb61..72ea7b3 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1054,7 +1054,10 @@ config("toolchain") {
@@ -1054,7 +1054,11 @@ config("toolchain") {
}

if (is_clang) {
- cflags += [ "-Wmissing-field-initializers" ]
+ cflags += [
+ "-Wmissing-field-initializers",
+ "-Wno-invalid-offsetof", # Use of "conditionally-supported" offsetof in c++17
+ "-Wno-range-loop-construct",
+ ]

if (v8_current_cpu != "mips" && v8_current_cpu != "mipsel") {
Expand Down

0 comments on commit b1dee67

Please sign in to comment.