blob: ea01510fb7dcd4cb15f26be05d021d6477aec0e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
diff --git a/BUILD.gn b/BUILD.gn
index 7f333889e0c..c4a0c495226 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1528,6 +1528,7 @@ config("toolchain") {
# implementation defined (rather than UB), and our supported compilers
# have the expected reasonable behaviour.
"-Wno-invalid-offsetof",
+ "-Wno-deprecated",
]
}
@@ -1735,6 +1736,11 @@ config("toolchain") {
# Disable dangling pointer warnings, which are often false positives when
# using scopes.
"-Wno-dangling-pointer",
+
+ # Disable warning that is spamming a lot ...
+ "-Wno-template-id-cdtor",
+ "-Wno-uninitialized",
+ "-Wno-dangling-reference",
]
}
|