summarylogtreecommitdiffstats
path: root/silence_build.diff
blob: fc728f0454d229fb0acd27b0207c2c13f66f3902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/BUILD.gn b/BUILD.gn
index 66fd5ba389f..fc833d80b7b 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1700,6 +1700,8 @@ config("toolchain") {
     # on non-standard-layout types is implementation defined (rather than UB),
     # and our supported compilers have the expected reasonable behaviour.
     "-Wno-invalid-offsetof",
+    "-Wno-deprecated",
+    "-Wno-ctad-maybe-unsupported",
   ]
 
   if (!is_clang) {
@@ -1761,7 +1767,7 @@ config("strict_warnings") {
     }
     cflags += [
       "-Wmissing-field-initializers",
-      "-Wunnecessary-virtual-specifier",
+      # "-Wunnecessary-virtual-specifier",
     ]
   }
 }