Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1260)

Unified Diff: third_party/freetype/BUILD.gn

Issue 2781313002: Adjust FreeType warning to avoid a Clang LLP64 build failure (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/freetype/BUILD.gn
diff --git a/third_party/freetype/BUILD.gn b/third_party/freetype/BUILD.gn
index b2f02d3aa70bd919d8ba7cd2949976476f460255..eaeb6c1299be1dc8fc7774c543f9d3042c45df1e 100644
--- a/third_party/freetype/BUILD.gn
+++ b/third_party/freetype/BUILD.gn
@@ -17,7 +17,14 @@ config("freetype-warnings") {
if (is_clang) {
# The reduction of FreeType files to a minimum triggers -Wunused-function
# warnings in ftbase.c
- cflags += [ "-Wno-unused-function" ]
+
+ # "-Wno-int-to-pointer-cast" tracked by
+ # https://savannah.nongnu.org/bugs/index.php?50560,
+ # TODO(drott): Remove this once we roll past 7aeee3c50f2656b65f.
+ cflags += [
+ "-Wno-unused-function",
+ "-Wno-int-to-pointer-cast",
+ ]
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698