Bug 1393487 Silence unused variable warning because we do it on purpose with CALLING_CONVENTION_HACK in PluginPRLibrary.cpp draft
authorTom Ritter <tom@mozilla.com>
Thu, 24 Aug 2017 10:26:25 -0500
changeset 653097 01aec9ceda722fa2c82fe092d052c7e9a7d1240d
parent 653096 c89626ad83fb08f3bd26a978f063043c7e34ba30
child 653098 352429cdae4b37f3a0c63d9e74d6b2ec200a3365
push id76238
push userbmo:tom@mozilla.com
push dateFri, 25 Aug 2017 15:17:03 +0000
bugs1393487
milestone57.0a1
Bug 1393487 Silence unused variable warning because we do it on purpose with CALLING_CONVENTION_HACK in PluginPRLibrary.cpp MozReview-Commit-ID: 5AcehJFnFho
dom/plugins/base/moz.build
old mode 100644
new mode 100755
--- a/dom/plugins/base/moz.build
+++ b/dom/plugins/base/moz.build
@@ -89,9 +89,9 @@ if CONFIG['OS_ARCH'] == 'WINNT':
 include('/ipc/chromium/chromium-config.mozbuild')
 
 FINAL_LIBRARY = 'xul'
 
 CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
 CXXFLAGS += CONFIG['TK_CFLAGS']
 
 if CONFIG['GNU_CXX']:
-    CXXFLAGS += ['-Wno-error=shadow']
+    CXXFLAGS += ['-Wno-error=shadow', '-Wno-unused-variable']