~chromium-team/chromium-browser/artful-beta

« back to all changes in this revision

Viewing changes to debian/patches/suppress-newer-clang-warning-flags.patch

  • Committer: Chad MILLER
  • Date: 2015-03-27 00:56:55 UTC
  • Revision ID: chad.miller@canonical.com-20150327005655-j4hcr8bscbjjjjyu
Prepare for snappy building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Author: Olivier Tilloy <olivier.tilloy@canonical.com>
2
 
Description: Do not use warning flags that require a newer Clang
3
 
 
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",
8
 
 
9
 
         # TODO(thakis): https://crbug.com/753973
10
 
-        "-Wno-enum-compare-switch",
11
 
+        #"-Wno-enum-compare-switch",
12
 
 
13
 
         # TODO(hans): https://crbug.com/763392
14
 
-        "-Wno-tautological-unsigned-zero-compare",
15
 
+        #"-Wno-tautological-unsigned-zero-compare",
16
 
 
17
 
         # TODO(hans): https://crbug.com/766891
18
 
-        "-Wno-null-pointer-arithmetic",
19
 
+        #"-Wno-null-pointer-arithmetic",
20
 
 
21
 
         # TODO(hans): https://crbug.com/767059
22
 
-        "-Wno-tautological-unsigned-enum-zero-compare",
23
 
+        #"-Wno-tautological-unsigned-enum-zero-compare",
24
 
       ]
25
 
     } else if (use_xcode_clang && xcode_version_int >= 830) {
26
 
       # This is necessary to allow a progressive transition from using xcode 8.0