[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - external/boost

David Ostrovsky david at ostrovsky.org
Wed Sep 6 12:42:17 UTC 2017


 external/boost/UnpackedTarball_boost.mk                |    4 ++++
 external/boost/boost_1_63_0.msvs2017.3.warning.patch.1 |   14 ++++++++++++++
 2 files changed, 18 insertions(+)

New commits:
commit ffdbcb111c1713297ed890b0571907f3ac4142ae
Author: David Ostrovsky <david at ostrovsky.org>
Date:   Tue Sep 5 21:53:32 2017 +0200

    Boost: Update last known MSVC version to VS2017.3
    
    Change-Id: I41952279cc9d40769bfc51dd0f03c0b0624815d2
    Reviewed-on: https://gerrit.libreoffice.org/41961
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Grzegorz Araminowicz <g.araminowicz at gmail.com>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    (cherry picked from commit 92012cfad0611f178ea0013674fc3e07008b8b03)
    Reviewed-on: https://gerrit.libreoffice.org/41983

diff --git a/external/boost/UnpackedTarball_boost.mk b/external/boost/UnpackedTarball_boost.mk
index efd23d317098..d6c53401064f 100644
--- a/external/boost/UnpackedTarball_boost.mk
+++ b/external/boost/UnpackedTarball_boost.mk
@@ -39,6 +39,10 @@ boost_patches += clang-cl.patch.0
 boost_patches += boost_1_60_0.undef.warning.patch
 boost_patches += boost_1_63_0.undef.warning.patch.1
 
+# Silence unknown-compiler-warning for MSVC version 19.11.25506:
+# https://github.com/boostorg/config/pull/177/commits/a0147b73e8bde8f4b2c19c96166353dba8fa9914
+boost_patches += boost_1_63_0.msvs2017.3.warning.patch.1
+
 $(eval $(call gb_UnpackedTarball_UnpackedTarball,boost))
 
 $(eval $(call gb_UnpackedTarball_set_tarball,boost,$(BOOST_TARBALL)))
diff --git a/external/boost/boost_1_63_0.msvs2017.3.warning.patch.1 b/external/boost/boost_1_63_0.msvs2017.3.warning.patch.1
new file mode 100755
index 000000000000..41557095a5e3
--- /dev/null
+++ b/external/boost/boost_1_63_0.msvs2017.3.warning.patch.1
@@ -0,0 +1,14 @@
+diff -ru boost.orig/boost/config/compiler/visualc.hpp boost/boost/config/compiler/visualc.hpp
+--- boost.orig/boost/config/compiler/visualc.hpp	2016-12-22 13:33:14.000000000 +0100
++++ boost/boost/config/compiler/visualc.hpp	2017-09-05 21:33:16.462142600 +0200
+@@ -293,8 +293,8 @@
+ #endif
+ 
+ //
+-// last known and checked version is 19.10.24629 (VC++ 2017 RC):
+-#if (_MSC_VER > 1910)
++// last known and checked version is 19.11.25506 (VC++ 2017.3):
++#if (_MSC_VER > 1911)
+ #  if defined(BOOST_ASSERT_CONFIG)
+ #     error "Unknown compiler version - please run the configure tests and report the results"
+ #  else


More information about the Libreoffice-commits mailing list