Bug 1370062 - turn off more warnings in ffvpx. r=rillian
authorMasatoshi Kimura <VYV03354@nifty.ne.jp>
Sun, 04 Jun 2017 17:42:50 +0900
changeset 412837 c34f77a0b72bab5d834d6bbf2ff181350979b0d7
parent 412836 b80a07fac92daec6bec4ede84c55c1700b73d67d
child 412838 061521e9f929683159f1ab8af3ad7e57e45493ee
push id1490
push usermtabara@mozilla.com
push dateMon, 31 Jul 2017 14:08:16 +0000
treeherdermozilla-release@70e32e6bf15e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrillian
bugs1370062
milestone55.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 1370062 - turn off more warnings in ffvpx. r=rillian MozReview-Commit-ID: JqG9XXxBQfv
media/ffvpx/ffvpxcommon.mozbuild
--- a/media/ffvpx/ffvpxcommon.mozbuild
+++ b/media/ffvpx/ffvpxcommon.mozbuild
@@ -71,16 +71,18 @@ elif CONFIG['_MSC_VER']:
         '-wd4133', # 'function' : incompatible types - from 'AVSampleFormat *' to 'int *'
         '-wd4221', # nonstandard extension used
         '-wd4206', # nonstandard extension used
         '-wd4702', # unreachable code
         '-wd4101', # unreferenced local variable
         '-wd4245', # conversion from 'int' to 'uint32_t', signed/unsigned mismatch
         '-wd4703', # potentially uninitialized local pointer
         '-wd4293', # '<<' : shift count negative or too big, undefined behavior
+        '-wd4334', # '<<' : result of 32-bit shift implicitly converted to 64 bits
+        '-wd4996', # The compiler encountered a deprecated declaration.
         # from FFmpeg configure
         '-wd4244', '-wd4127', '-wd4018', '-wd4389', '-wd4146', '-wd4701',
         '-wd4057', '-wd4204', '-wd4706', '-wd4305', '-wd4152', '-wd4324',
         '-we4013', '-wd4100', '-wd4214', '-wd4307', '-wd4273', '-wd4554',
     ]
 
 DEFINES['HAVE_AV_CONFIG_H'] = True