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

Unified Diff: third_party/libxml/BUILD.gn

Issue 2783763002: Gcc: Suppress warnings in third_party (Closed)
Patch Set: add is_linux 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 | third_party/yasm/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libxml/BUILD.gn
diff --git a/third_party/libxml/BUILD.gn b/third_party/libxml/BUILD.gn
index 70b66ab53b30c3fc0a41d8516464b8bfb19ae259..2c755ae050122918edcb88549e2388d8a721b5d4 100644
--- a/third_party/libxml/BUILD.gn
+++ b/third_party/libxml/BUILD.gn
@@ -60,6 +60,12 @@ config("libxml_warnings") {
# used with certain preprocessor defines set.
"-Wno-unused-function",
]
+ } else if (is_linux) {
+ cflags = [
+ # gcc spits out a bunch of warnings about passing too many arguments to
+ # __xmlSimpleError.
+ "-Wno-format-extra-args",
+ ]
}
}
« no previous file with comments | « no previous file | third_party/yasm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698