Bug 1229587 part 1 - Disable C4464 warning newly added in VS2015u1. r=keeler
authorXidorn Quan <quanxunzhen@gmail.com>
Thu, 03 Dec 2015 09:29:42 +1100
changeset 275353 d274136019db1c59cb3d4d8464b3ac4e6ac4ecbc
parent 275352 a8400903fe6e07ccc6f7390c97f0a922837e63c0
child 275354 177b0d0529e9fe4c206bd9f9e1d857e765ba8377
push id29752
push usercbook@mozilla.com
push dateThu, 03 Dec 2015 11:03:31 +0000
treeherdermozilla-central@85cf2e720a84 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskeeler
bugs1229587
milestone45.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 1229587 part 1 - Disable C4464 warning newly added in VS2015u1. r=keeler
security/certverifier/moz.build
security/pkix/warnings.mozbuild
--- a/security/certverifier/moz.build
+++ b/security/certverifier/moz.build
@@ -31,16 +31,17 @@ DIRS += [
     '../pkix',
 ]
 
 CXXFLAGS += ['-Wall']
 if CONFIG['_MSC_VER']:
   # -Wall with Visual C++ enables too many problematic warnings
   CXXFLAGS += [
     '-wd4355', # 'this' used in base member initializer list
+    '-wd4464', # relative include path contains '..'
     '-wd4480', # nonstandard extension used: specifying underlying type for
                # enum 'enum'
     '-wd4481', # nonstandard extension used: override specifier 'keyword'
     '-wd4510', # default constructor could not be generated
     '-wd4512', # assignment operator could not be generated
     '-wd4514', # 'function': unreferenced inline function has been removed
     '-wd4610', # struct 'symbol' can never be instantiated - user defined
                # constructor required
--- a/security/pkix/warnings.mozbuild
+++ b/security/pkix/warnings.mozbuild
@@ -12,16 +12,17 @@ if CONFIG['CLANG_CXX']:
     '-Wno-weak-vtables', # We rely on the linker to merge the duplicate vtables.
   ]
 elif CONFIG['_MSC_VER']:
   CXXFLAGS += [
     '-sdl', # Enable additional security checks based on Microsoft's SDL.
 
     '-Wall',
 
+    '-wd4464', # relative include path contains '..'
     '-wd4514', # 'function': unreferenced inline function has been removed
     '-wd4668', # warning C4668: 'X' is not defined as a preprocessor macro,
                # replacing with '0' for '#if/#elif'.
     '-wd4710', # 'function': function not inlined
     '-wd4711', # function 'function' selected for inline expansion
     '-wd4800', # forcing value to bool 'true' or 'false'
     '-wd4820', # 'bytes' bytes padding added after construct 'member_name'