Bug 1256552 - Disable C4577 to unblock compilation on VS2015; r=jrmuizel

As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary.

MozReview-Commit-ID: BNhXxMhJaZh

--HG--
extra : rebase_source : 6d3746d99d0d058716a58f1ed1f0349e09866758
extra : source : cb49a303f86d6446bf1ed87d6e022e72a2ba25c7
This commit is contained in:
Gregory Szorc 2016-03-23 16:39:56 -07:00
Родитель 2dda5ebe20
Коммит 3f5defbd02
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -312,3 +312,7 @@ DEFINES['GRAPHITE2_STATIC'] = True
if CONFIG['CLANG_CXX']: if CONFIG['CLANG_CXX']:
# Suppress warnings from Skia header files. # Suppress warnings from Skia header files.
SOURCES['gfxPlatform.cpp'].flags += ['-Wno-implicit-fallthrough'] SOURCES['gfxPlatform.cpp'].flags += ['-Wno-implicit-fallthrough']
if CONFIG['_MSC_VER']:
# This is intended as a temporary hack to support building with VS2015.
CXXFLAGS += ['-wd4577']