Bug 1203234 - Re-enable -Wshadow warnings in /dom/security. r=ckerschb
authorChris Peterson <cpeterson@mozilla.com>
Mon, 14 Sep 2015 22:54:22 -0700
changeset 297053 212427250df615ead46d5fe0cea5be1656ad7100
parent 297052 05e1fdf35ee3504b67f95b488cfc54c7145afc6c
child 297054 0361ecab9e24486b6e0c1d2ef0bd28c6ba630fa2
push id962
push userjlund@mozilla.com
push dateFri, 04 Dec 2015 23:28:54 +0000
treeherdermozilla-release@23a2d286e80f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersckerschb
bugs1203234
milestone43.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 1203234 - Re-enable -Wshadow warnings in /dom/security. r=ckerschb
dom/security/moz.build
--- a/dom/security/moz.build
+++ b/dom/security/moz.build
@@ -35,10 +35,10 @@ include('/ipc/chromium/chromium-config.m
 
 FINAL_LIBRARY = 'xul'
 LOCAL_INCLUDES += [
     '/caps',
     '/netwerk/base',
 ]
 
 if CONFIG['GNU_CC']:
-    CFLAGS += ['-Wformat-security']
-    CXXFLAGS += ['-Wformat-security']
+    CFLAGS += ['-Wshadow', '-Wformat-security']
+    CXXFLAGS += ['-Wshadow', '-Wformat-security']