Bug 1388681 - Disable -Wformat-security where -Wformat is disabled. r?jesup draft
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 09 Aug 2017 18:45:16 +0900
changeset 643115 b6872bb500afea7c029700bb409a9817b1ef7499
parent 642929 475f645333f5c3f76c757bd6200e428b2ef28d30
child 725214 f3c3181aae6594247fb941403cbb8bdc1d5c2b46
push id73000
push userbmo:mh+mozilla@glandium.org
push dateWed, 09 Aug 2017 09:45:38 +0000
reviewersjesup
bugs1388681
milestone57.0a1
Bug 1388681 - Disable -Wformat-security where -Wformat is disabled. r?jesup
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
@@ -159,16 +159,17 @@
               }],
               [ 'OS == "mac" or OS == "ios" or os_bsd == 1', {
                 'cflags_mozilla': [
                     '-Wall',
                     '-Wno-parentheses',
                     '-Wno-strict-prototypes',
                     '-Wmissing-prototypes',
                     '-Wno-format',
+                    '-Wno-format-security',
                  ],
                  'defines' : [
                      'HAVE_LIBM=1',
                      'HAVE_STRDUP=1',
                      'HAVE_STRLCPY=1',
                      'HAVE_SYS_TIME_H=1',
                      'HAVE_VFPRINTF=1',
                      'NEW_STDIO'
@@ -207,16 +208,17 @@
               ## Linux/Android
               [ '(OS == "linux") or (OS=="android")', {
                 'cflags_mozilla': [
                     '-Wall',
                     '-Wno-parentheses',
                     '-Wno-strict-prototypes',
                     '-Wmissing-prototypes',
                     '-Wno-format',
+                    '-Wno-format-security',
                  ],
                  'defines' : [
                      'LINUX',
                      'HAVE_LIBM=1',
                      'HAVE_STRDUP=1',
                      'HAVE_STRLCPY=1',
                      'HAVE_SYS_TIME_H=1',
                      'HAVE_VFPRINTF=1',
--- a/media/mtransport/third_party/nrappkit/nrappkit.gyp
+++ b/media/mtransport/third_party/nrappkit/nrappkit.gyp
@@ -155,16 +155,17 @@
               }],
               [ 'OS == "mac" or OS == "ios" or os_bsd == 1', {
                 'cflags_mozilla': [
                     '-Wall',
                     '-Wno-parentheses',
                     '-Wno-strict-prototypes',
                     '-Wmissing-prototypes',
                     '-Wno-format',
+                    '-Wno-format-security',
                  ],
                  'defines' : [
                      'HAVE_LIBM=1',
                      'HAVE_STRDUP=1',
                      'HAVE_STRLCPY=1',
                      'HAVE_SYS_TIME_H=1',
                      'HAVE_VFPRINTF=1',
                      'NEW_STDIO'
@@ -202,16 +203,17 @@
               ## Linux
               [ '(OS == "linux") or (OS == "android")', {
                  'cflags_mozilla': [
                      '-Wall',
                      '-Wno-parentheses',
                      '-Wno-strict-prototypes',
                      '-Wmissing-prototypes',
                      '-Wno-format',
+                     '-Wno-format-security',
                  ],
                  'defines' : [
                      'LINUX',
                      'HAVE_LIBM=1',
                      'HAVE_STRDUP=1',
                      'HAVE_STRLCPY=1',
                      'HAVE_SYS_TIME_H=1',
                      'HAVE_VFPRINTF=1',