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

Unified Diff: chrome/browser/ui/libgtk2ui/libgtk2ui.gyp

Issue 183223002: Fix build failures due to unused functions when building with clang on linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtk2ui/libgtk2ui.gyp
diff --git a/chrome/browser/ui/libgtk2ui/libgtk2ui.gyp b/chrome/browser/ui/libgtk2ui/libgtk2ui.gyp
index ea611e2cf45161bd4b999a0e042bee578e2ac8c1..c804602e863d453a18c0f022357a1dcec0e083c8 100644
--- a/chrome/browser/ui/libgtk2ui/libgtk2ui.gyp
+++ b/chrome/browser/ui/libgtk2ui/libgtk2ui.gyp
@@ -88,6 +88,13 @@
'gconf_listener.h',
],
}],
+ [ 'clang==1', {
+ # G_DEFINE_TYPE automatically generates a *get_instance_private inline function after glib 2.37.
+ # That's unused. Prevent to complain about it.
+ 'cflags': [
+ '-Wno-unused-function',
+ ],
+ }],
],
},
],
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698