summaryrefslogtreecommitdiff
path: root/external/boost
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2017-09-05 21:53:32 +0200
committerMichael Stahl <mstahl@redhat.com>2017-09-06 12:18:21 +0200
commit92012cfad0611f178ea0013674fc3e07008b8b03 (patch)
treeb1c8d318590fb218b587625beeb0fddebe5bbf65 /external/boost
parent84e1f8567fa0a2b83323d8944307d1db7a5b45f5 (diff)
Boost: Update last known MSVC version to VS2017.3
Change-Id: I41952279cc9d40769bfc51dd0f03c0b0624815d2 Reviewed-on: https://gerrit.libreoffice.org/41961 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Grzegorz Araminowicz <g.araminowicz@gmail.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'external/boost')
-rw-r--r--external/boost/UnpackedTarball_boost.mk4
-rwxr-xr-xexternal/boost/boost_1_63_0.msvs2017.3.warning.patch.114
2 files changed, 18 insertions, 0 deletions
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