1
Author: Olivier Tilloy <olivier.tilloy@canonical.com>
2
Description: Do not use warning flags that require a newer Clang
4
--- a/build/config/compiler/BUILD.gn
5
+++ b/build/config/compiler/BUILD.gn
6
@@ -1256,16 +1256,16 @@ config("default_warnings") {
7
"-Wno-user-defined-warnings",
9
# TODO(thakis): https://crbug.com/753973
10
- "-Wno-enum-compare-switch",
11
+ #"-Wno-enum-compare-switch",
13
# TODO(hans): https://crbug.com/763392
14
- "-Wno-tautological-unsigned-zero-compare",
15
+ #"-Wno-tautological-unsigned-zero-compare",
17
# TODO(hans): https://crbug.com/766891
18
- "-Wno-null-pointer-arithmetic",
19
+ #"-Wno-null-pointer-arithmetic",
21
# TODO(hans): https://crbug.com/767059
22
- "-Wno-tautological-unsigned-enum-zero-compare",
23
+ #"-Wno-tautological-unsigned-enum-zero-compare",
25
} else if (use_xcode_clang && xcode_version_int >= 830) {
26
# This is necessary to allow a progressive transition from using xcode 8.0