Bug 1187711 - Enable -Wshadow in DOM::Security. r=ckerschb
authorFrancois Marier <francois@mozilla.com>
Mon, 27 Jul 2015 16:14:56 -0700
changeset 286516 318399e74742b57f1ec5e5430c33280932b6c38d
parent 286515 040df7cdb2358076e72e6bc93847d87d430cba94
child 286517 e477b972773c9cef4e6ce4cb531f70840b400816
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersckerschb
bugs1187711
milestone42.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 1187711 - Enable -Wshadow in DOM::Security. r=ckerschb
dom/security/moz.build
--- a/dom/security/moz.build
+++ b/dom/security/moz.build
@@ -31,8 +31,11 @@ UNIFIED_SOURCES += [
 
 FAIL_ON_WARNINGS = True
 
 FINAL_LIBRARY = 'xul'
 LOCAL_INCLUDES += [
     '/caps',
     '/netwerk/base',
 ]
+
+CFLAGS += ['-Wshadow']
+CXXFLAGS += ['-Wshadow']