Bug 1113210 - Suppress -Wunused-function clang warning about AtkSocketAccessible.cpp's gobject RTTI macros. r=tbsaunde
authorChris Peterson <cpeterson@mozilla.com>
Thu, 18 Dec 2014 12:17:53 -0800
changeset 220546 6db62626c126de94daa88c8576bc4806a3e6887c
parent 220545 13b2284f09c9eaeaf794b751c78bf92321f28386
child 220547 7a5db616bc575cf5fa7035edf4d09aab354a714c
push id27990
push userryanvm@gmail.com
push dateFri, 19 Dec 2014 20:08:22 +0000
treeherdermozilla-central@8880b5632e2b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstbsaunde
bugs1113210
milestone37.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1113210 - Suppress -Wunused-function clang warning about AtkSocketAccessible.cpp's gobject RTTI macros. r=tbsaunde
accessible/atk/moz.build
--- a/accessible/atk/moz.build
+++ b/accessible/atk/moz.build
@@ -47,9 +47,13 @@ if CONFIG['MOZ_ENABLE_GTK']:
     CFLAGS += CONFIG['TK_CFLAGS']
     CXXFLAGS += CONFIG['TK_CFLAGS']
 
 if CONFIG['MOZ_ENABLE_DBUS']:
     CXXFLAGS += CONFIG['MOZ_DBUS_CFLAGS']
 
 include('/ipc/chromium/chromium-config.mozbuild')
 
+if CONFIG['CLANG_CXX']:
+    # Suppress clang warning about unused function from gobject's RTTI macros.
+    CXXFLAGS += ['-Wno-unused-function']
+
 FAIL_ON_WARNINGS = True