diff options
Diffstat (limited to 'community/chromium/llvm-remove-unsupported-compiler-warnings.patch')
-rw-r--r-- | community/chromium/llvm-remove-unsupported-compiler-warnings.patch | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/community/chromium/llvm-remove-unsupported-compiler-warnings.patch b/community/chromium/llvm-remove-unsupported-compiler-warnings.patch index df8aed86d9..78cfa4a18c 100644 --- a/community/chromium/llvm-remove-unsupported-compiler-warnings.patch +++ b/community/chromium/llvm-remove-unsupported-compiler-warnings.patch @@ -5,7 +5,7 @@ Index: dev/build/config/compiler/BUILD.gn =================================================================== --- build/config/compiler/BUILD.gn +++ build/config/compiler/BUILD.gn -@@ -693,14 +693,6 @@ config("compiler") { +@@ -708,14 +708,6 @@ ldflags += [ "-Wl,--no-rosegment" ] } @@ -20,7 +20,7 @@ Index: dev/build/config/compiler/BUILD.gn # Pass the same C/C++ flags to the objective C/C++ compiler. cflags_objc += cflags_c cflags_objcc += cflags_cc -@@ -1501,28 +1493,6 @@ config("default_warnings") { +@@ -1516,26 +1508,6 @@ if (current_toolchain == host_toolchain || !use_xcode_clang) { # Flags NaCl (Clang 3.7) and Xcode 9.2 (Clang clang-900.0.39.2) do not # recognize. @@ -32,20 +32,18 @@ Index: dev/build/config/compiler/BUILD.gn - # TODO(https://crbug.com/989932): Evaluate and possibly enable. - "-Wno-implicit-int-float-conversion", - -- # TODO(https://crbug.com/999871): Decide if we want to clean up the -- # codebase or just disable this. Doesn't seem super useful, but -- # also fires in only 4 files. -- "-Wno-c99-designator", -- -- # This is a side effect of -Wc99-designator; easier to clean up. -- "-Wno-reorder-init-list", -- - # TODO(https://crbug.com/999886): Clean up, enable. - "-Wno-final-dtor-non-final-class", - -- # TODO(https://crbug.com/1002945): Evaluate and possibly enable. -- "-Wno-sizeof-array-div", +- # TODO(https://crbug.com/1016947) Clean up, enable. +- "-Wno-bitwise-conditional-parentheses", +- +- # TODO(https://crbug.com/1016945) Clean up, enable. +- "-Wno-builtin-assume-aligned-alignment", +- +- # TODO(https://crbug.com/1028110): Evaluate and possible enable. +- "-Wno-deprecated-copy", - ] - cflags_c += [ - # TODO(https://crbug.com/995993): Clean up and enable. + if (is_fuchsia) { + cflags += [ |