Bug 1482547 - Suppress clang-cl warnings in media/mtransport/third-party/. r=froydnj
authorMasatoshi Kimura <VYV03354@nifty.ne.jp>
Sat, 11 Aug 2018 06:08:07 +0900
changeset 431696 002de34fa751b8333784f0681615b809f42f31ef
parent 431695 22c19ba1a3955746f361f8d9d9431e180616a1e4
child 431697 facafe35dd26f60064617d601e69bdf93822c097
push id34451
push userebalazs@mozilla.com
push dateThu, 16 Aug 2018 09:25:15 +0000
treeherdermozilla-central@161817e6d127 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1482547
milestone63.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 1482547 - Suppress clang-cl warnings in media/mtransport/third-party/. r=froydnj
media/mtransport/third_party/nICEr/nicer.gyp
media/mtransport/third_party/nrappkit/nrappkit.gyp
--- a/media/mtransport/third_party/nICEr/nicer.gyp
+++ b/media/mtransport/third_party/nICEr/nicer.gyp
@@ -202,21 +202,24 @@
                  'include_dirs': [
                      '../nrappkit/src/port/win32/include'
                  ],
               }],
 
               # Windows, clang-cl build
               [ 'clang_cl == 1', {
                 'cflags_mozilla': [
-                    '-Wno-error', # workaround for bug 1090497
                     '-Xclang',
                     '-Wall',
+                    '-Xclang',
                     '-Wno-parentheses',
+                    '-Wno-pointer-sign',
                     '-Wno-strict-prototypes',
+                    '-Xclang',
+                    '-Wno-unused-function',
                     '-Wmissing-prototypes',
                     '-Wno-format',
                     '-Wno-format-security',
                  ],
               }],
 
               ## Linux/Android
               [ '(OS == "linux") or (OS == "android")', {
--- a/media/mtransport/third_party/nrappkit/nrappkit.gyp
+++ b/media/mtransport/third_party/nrappkit/nrappkit.gyp
@@ -199,19 +199,19 @@
                  'sources': [
                       './src/port/win32/include/csi_platform.h',
                  ],
               }],
 
               # Windows, clang-cl build
               [ 'clang_cl == 1', {
                 'cflags_mozilla': [
-                    '-Wno-error', # workaround for bug 1090497
                     '-Xclang',
                     '-Wall',
+                    '-Xclang',
                     '-Wno-parentheses',
                     '-Wno-strict-prototypes',
                     '-Wmissing-prototypes',
                     '-Wno-format',
                     '-Wno-format-security',
                  ],
               }],