Bug 1259293 - Remove -wd4312 which was needed with VS2015 - r?jwwang draft
authorGerald Squelart <gsquelart@mozilla.com>
Wed, 29 Nov 2017 12:18:09 +1100
changeset 704920 e7ea0f77d0eca8cb4b1fac41404e11062c13f103
parent 704807 cb9092a90f6ef501e6de8eb5fc6ce19e2717193f
child 742184 6a0c1b28a42cc5df200df50d07b71489c0b1a23f
push id91277
push usergsquelart@mozilla.com
push dateWed, 29 Nov 2017 03:58:39 +0000
reviewersjwwang
bugs1259293
milestone59.0a1
Bug 1259293 - Remove -wd4312 which was needed with VS2015 - r?jwwang MozReview-Commit-ID: 3xOa8BmEYbk
dom/media/moz.build
--- a/dom/media/moz.build
+++ b/dom/media/moz.build
@@ -333,14 +333,9 @@ include('/ipc/chromium/chromium-config.m
 #  - about attributes on forward declarations for types that are already
 #    defined, which complains about an important MOZ_EXPORT for android::AString
 if CONFIG['GNU_CC']:
     CXXFLAGS += [
         '-Wno-error=attributes',
         '-Wno-error=shadow',
     ]
 
-if CONFIG['_MSC_VER']:
-    # This is intended as a temporary workaround to unblock compilation
-    # on VS2015 in warnings as errors mode.
-    CXXFLAGS += ['-wd4312']
-
 FINAL_LIBRARY = 'xul'