diff options
Diffstat (limited to 'community/chromium/chromium-remove-unknown-clang-warnings.patch')
-rw-r--r-- | community/chromium/chromium-remove-unknown-clang-warnings.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/community/chromium/chromium-remove-unknown-clang-warnings.patch b/community/chromium/chromium-remove-unknown-clang-warnings.patch new file mode 100644 index 0000000000..83bbbbb88d --- /dev/null +++ b/community/chromium/chromium-remove-unknown-clang-warnings.patch @@ -0,0 +1,20 @@ +--- build/config/compiler/BUILD.gn.orig ++++ build/config/compiler/BUILD.gn +@@ -1399,14 +1399,14 @@ + "-Wno-user-defined-warnings", + + # TODO(thakis): https://crbug.com/753973 +- "-Wno-enum-compare-switch", ++ #"-Wno-enum-compare-switch", + + # TODO(hans): https://crbug.com/766891 +- "-Wno-null-pointer-arithmetic", ++ #"-Wno-null-pointer-arithmetic", + + # Ignore warnings about MSVC optimization pragmas. + # TODO(thakis): Only for no_chromium_code? http://crbug.com/505314 +- "-Wno-ignored-pragma-optimize", ++ #"-Wno-ignored-pragma-optimize", + ] + } else if (use_xcode_clang) { + cflags += [ |