Bug 1256535 - Disable C4577 to unblock compilation on VS2015; r?poiru
The previous disabling of this warning on just Key.cpp was not
sufficient because another file from the unified sources list appears
to include the header exhibiting the warning.
MozReview-Commit-ID: rR2XXigTJU
--- a/dom/indexedDB/moz.build
+++ b/dom/indexedDB/moz.build
@@ -95,17 +95,17 @@ FINAL_LIBRARY = 'xul'
if CONFIG['GNU_CC']:
# Suppress gcc warning about a comparison being always false due to the
# range of the data type
SOURCES['Key.cpp'].flags += ['-Wno-error=type-limits']
if CONFIG['_MSC_VER']:
# This is intended as a temporary hack to support building with VS2015.
- SOURCES['Key.cpp'].flags += ['-wd4577']
+ CXXFLAGS += ['-wd4577']
LOCAL_INCLUDES += [
'/db/sqlite3/src',
'/dom/base',
'/dom/storage',
'/dom/workers',
'/ipc/glue',
'/xpcom/build',