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

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: Proposed patch 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
« AUTHORS ('K') | « 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..e536a3041911239278a6bc9dcb2d805f954cd70c 100644
--- a/chrome/browser/ui/libgtk2ui/libgtk2ui.gyp
+++ b/chrome/browser/ui/libgtk2ui/libgtk2ui.gyp
@@ -88,6 +88,13 @@
'gconf_listener.h',
],
}],
+ [ 'OS=="linux" and clang==1', {
Nico 2014/05/01 18:29:01 nit: You don't really need the OS=="linux" bit, th
changseok 2014/05/02 03:06:26 Done.
+ # 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',
+ ],
+ }],
],
},
],
« AUTHORS ('K') | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698