From 4906c1cf1625dcb125a2d0937a7893c3adcf0fd0 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 11 Nov 2019 14:57:06 +0000 Subject: community/chromium: upgrade to 78.0.3904.97 --- ...llvm-remove-unsupported-compiler-warnings.patch | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 community/chromium/llvm-remove-unsupported-compiler-warnings.patch (limited to 'community/chromium/llvm-remove-unsupported-compiler-warnings.patch') diff --git a/community/chromium/llvm-remove-unsupported-compiler-warnings.patch b/community/chromium/llvm-remove-unsupported-compiler-warnings.patch new file mode 100644 index 0000000000..4de8aea9f5 --- /dev/null +++ b/community/chromium/llvm-remove-unsupported-compiler-warnings.patch @@ -0,0 +1,40 @@ +--- build/config/compiler/BUILD.gn 2019-10-24 11:01:40.459910040 -0400 ++++ build/config/compiler/BUILD.gn 2019-10-24 11:04:19.690063743 -0400 +@@ -1492,37 +1492,6 @@ + # Currently goma can not handle case sensitiveness for windows well. + cflags += [ "-Wno-nonportable-include-path" ] + } +- +- 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. +- cflags += [ +- # Ignore warnings about MSVC optimization pragmas. +- # TODO(thakis): Only for no_chromium_code? http://crbug.com/912662 +- "-Wno-ignored-pragma-optimize", +- +- # TODO(https://crbug.com/989932): Evaluate and possibly enable. +- "-Wno-implicit-int-float-conversion", +- +- # TODO(https://crbug.com/995200): Clean up and enable. +- "-Wno-xor-used-as-pow", +- +- # 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", +- ] +- cflags_c += [ +- # TODO(https://crbug.com/995993): Clean up and enable. +- "-Wno-implicit-fallthrough", +- ] +- } + } + } + } -- cgit v1.2.3