Bug 1306640 - Silent a -Wunused-but-set-variable in cairo. We don't want to diverge too much from upstream r=lsalzman
authorSylvestre Ledru <sledru@mozilla.com>
Sun, 23 Oct 2016 16:39:41 +0200
changeset 319783 64f564d7ea4300e9e6492fac5f1aab1c496bd658
parent 319782 2d2a075ce1cd22f35f93534c80a09ef96f1149f7
child 319784 82ea0e89d1930790ff88f7f9de180e11e86efb09
push id20748
push userphilringnalda@gmail.com
push dateFri, 28 Oct 2016 03:39:55 +0000
treeherderfx-team@715360440695 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslsalzman
bugs1306640
milestone52.0a1
Bug 1306640 - Silent a -Wunused-but-set-variable in cairo. We don't want to diverge too much from upstream r=lsalzman MozReview-Commit-ID: jzPlpGZh76
gfx/cairo/cairo/src/moz.build
--- a/gfx/cairo/cairo/src/moz.build
+++ b/gfx/cairo/cairo/src/moz.build
@@ -217,16 +217,17 @@ if CONFIG['MOZ_TREE_FREETYPE']:
 if CONFIG['GNU_CC'] or CONFIG['CLANG_CL']:
     CFLAGS += [
         '-Wno-enum-compare',
         '-Wno-int-to-pointer-cast',
         '-Wno-sign-compare',
         '-Wno-type-limits',
         '-Wno-missing-field-initializers',
         '-Wno-conversion',
+        '-Wno-unused-but-set-variable',
     ]
 if CONFIG['CLANG_CXX'] or CONFIG['CLANG_CL']:
     CFLAGS += [
         '-Wno-incompatible-pointer-types',
         '-Wno-tautological-compare',
         '-Wno-tautological-constant-out-of-range-compare',
         '-Wno-error=uninitialized',
     ]