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 486794 002de34fa751b8333784f0681615b809f42f31ef
parent 486793 22c19ba1a3955746f361f8d9d9431e180616a1e4
child 486795 facafe35dd26f60064617d601e69bdf93822c097
push id9719
push userffxbld-merge
push dateFri, 24 Aug 2018 17:49:46 +0000
treeherdermozilla-beta@719ec98fba77 [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',
                  ],
               }],