Bug 1472254 - Temporarily suppress -Wpragma-pack warning spam globally. r=dmajor
authorMasatoshi Kimura <VYV03354@nifty.ne.jp>
Thu, 02 Aug 2018 00:48:55 +0900
changeset 487621 69259eedc1e610b0d8b785c558846c91cec197f4
parent 487620 ad5ea44b20539d35847c031bbaa16367a66343f9
child 487622 5950c9d63c3b4fd63a25464a7b50944aaec7079f
push id1815
push userffxbld-merge
push dateMon, 15 Oct 2018 10:40:45 +0000
treeherdermozilla-release@18d4c09e9378 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdmajor
bugs1472254
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 1472254 - Temporarily suppress -Wpragma-pack warning spam globally. r=dmajor
old-configure.in
--- a/old-configure.in
+++ b/old-configure.in
@@ -1025,16 +1025,19 @@ case "$target" in
             # which clang-cl doesn't understand.
             CXXFLAGS="$CXXFLAGS -Wno-ignored-attributes"
             # __attribute__((unused)) really means "might be unused" and
             # we use it to avoid warnings about things that are unused
             # in some compilation units, but used in many others.  This
             # warning insists on complaining about the latter case, which
             # is annoying, and rather noisy.
             CXXFLAGS="$CXXFLAGS -Wno-used-but-marked-unused"
+            # Work around until bug 1472254 is fixed.
+            CFLAGS="$CFLAGS -Wno-pragma-pack"
+            CXXFLAGS="$CXXFLAGS -Wno-pragma-pack"
         fi
         # make 'foo == bar;' error out
         CFLAGS="$CFLAGS -we4553"
         CXXFLAGS="$CXXFLAGS -we4553"
         # Silence VS2017 15.5+ TR1 deprecation warnings hit by older gtest versions
         CXXFLAGS="$CXXFLAGS -D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING"
         LIBS="$LIBS kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib secur32.lib"
         MOZ_DEBUG_LDFLAGS='-DEBUG -DEBUGTYPE:CV'