Commit 7b3e4d4d authored by Adrian McCarthy's avatar Adrian McCarthy Committed by Nico Weber

Suppress extended Clang warning -Wmicrosoft-cast

Disable the warning until we fix the cast in

  src\third_party\smhasher\src\PMurHash.c

Bug:  1054220

Change-Id: Ib08664366f22da17d5cb1a5d801e3317de64a27a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2065736Reviewed-by: default avatarReid Kleckner <rnk@chromium.org>
Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743353}
parent 01d95140
......@@ -1545,6 +1545,14 @@ config("default_warnings") {
# TODO(https://crbug.com/1050281): Clean up, enable.
"-Wno-non-c-typedef-for-linkage",
]
cflags_c += [
# TODO(https://crbug.com/1054220): This used to be a C++-only
# warning, but it was extended to .C files as well, where it
# caught a cast of pointer to long in third-party that isn't
# valid on Windows, which is LLP64.
"-Wno-microsoft-cast",
]
}
cflags_c += [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment