2022-06-19 02:05:25 +02:00
|
|
|
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
|
|
|
index 9cdafb2..211684c 100644
|
|
|
|
--- a/build/config/compiler/BUILD.gn
|
|
|
|
+++ b/build/config/compiler/BUILD.gn
|
2022-08-15 20:01:57 +02:00
|
|
|
@@ -1564,16 +1564,6 @@ config("default_warnings") {
|
2022-06-19 02:05:25 +02:00
|
|
|
cflags += [ "-Wno-unqualified-std-cast-call" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
- if (!is_nacl && !(is_chromeos ||
|
2022-08-15 20:01:57 +02:00
|
|
|
- default_toolchain == "//build/toolchain/cros:target") &&
|
|
|
|
- clang_major_version >= 15) {
|
2022-06-19 02:05:25 +02:00
|
|
|
- # TODO(https://crbug.com/1316298): Re-enable once test failure is figured out
|
|
|
|
- cflags += [
|
|
|
|
- "-Xclang",
|
|
|
|
- "-no-opaque-pointers",
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
if (is_fuchsia) {
|
|
|
|
# TODO(https://bugs.chromium.org/p/fuchsia/issues/detail?id=77383)
|
|
|
|
cflags += [ "-Wno-deprecated-copy" ]
|