summaryrefslogtreecommitdiff
path: root/external/boost/clang-cl.patch.0
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2018-01-19 12:31:06 +0100
committerMichael Stahl <mstahl@redhat.com>2018-01-22 09:32:33 +0100
commit41abd684a6d1f3da71084fd854f66e22cb171b9d (patch)
tree194a6bb8992820997741408994f1fe80dc3de3b7 /external/boost/clang-cl.patch.0
parent44e9bbc29cc37d2bac089b8f051478f62f7d5d31 (diff)
boost: upgrade to release 1.66.0
This claims to support Visual Studio 2017.4, but not the current 2017.5. * remove boost.auto_link.patch; it does not apply; not sure why we need this if we can just define BOOST_ALL_NO_LIB (see commit 7f2e168421c3cd928a31a52a8b5afe97e931d3ba) * remove some hunks from clang-cl.patch.0 that look fixed upstream * add a global workaround for spurious GCC warning: oox/source/drawingml/shape.cxx:921:54: error: ‘oShadowColor.boost::optional_detail::tc_optional_base<int>::m_storage’ may be used uninitialized in this function [-Werror=maybe-uninitialized] aFormat.Color = *oShadowColor; Change-Id: I1eb1d8b66554a84a7d7269f1faaa98695fe2f501 Reviewed-on: https://gerrit.libreoffice.org/48187 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'external/boost/clang-cl.patch.0')
-rw-r--r--external/boost/clang-cl.patch.050
1 files changed, 0 insertions, 50 deletions
diff --git a/external/boost/clang-cl.patch.0 b/external/boost/clang-cl.patch.0
index 6d07df7983fa..3990f27eb3f5 100644
--- a/external/boost/clang-cl.patch.0
+++ b/external/boost/clang-cl.patch.0
@@ -1,42 +1,3 @@
---- boost/date_time/filetime_functions.hpp
-+++ boost/date_time/filetime_functions.hpp
-@@ -27,6 +27,16 @@
- #include <boost/date_time/time.hpp>
- #include <boost/date_time/date_defs.hpp>
-
-+#if !defined(BOOST_USE_WINDOWS_H)
-+extern "C" {
-+ struct _FILETIME; // Windows Kits/8.1/Include/shared/minwindef.h
-+ struct _SYSTEMTIME; // Windows Kits/8.1/Include/um/minwinbase.h
-+ __declspec(dllimport) void __stdcall GetSystemTimeAsFileTime(_FILETIME* lpFileTime);
-+ __declspec(dllimport) int __stdcall FileTimeToLocalFileTime(const _FILETIME* lpFileTime, _FILETIME* lpLocalFileTime);
-+ __declspec(dllimport) void __stdcall GetSystemTime(_SYSTEMTIME* lpSystemTime);
-+ __declspec(dllimport) int __stdcall SystemTimeToFileTime(const _SYSTEMTIME* lpSystemTime, _FILETIME* lpFileTime);
-+}
-+#endif
- namespace boost {
-
- namespace date_time {
-@@ -54,10 +64,6 @@
- boost::uint16_t wMilliseconds;
- };
-
-- __declspec(dllimport) void __stdcall GetSystemTimeAsFileTime(FILETIME* lpFileTime);
-- __declspec(dllimport) int __stdcall FileTimeToLocalFileTime(const FILETIME* lpFileTime, FILETIME* lpLocalFileTime);
-- __declspec(dllimport) void __stdcall GetSystemTime(SYSTEMTIME* lpSystemTime);
-- __declspec(dllimport) int __stdcall SystemTimeToFileTime(const SYSTEMTIME* lpSystemTime, FILETIME* lpFileTime);
-
- } // extern "C"
-
-@@ -74,7 +80,7 @@
- GetSystemTimeAsFileTime(&ft_utc);
- FileTimeToLocalFileTime(&ft_utc, &ft);
- #elif defined(BOOST_HAS_GETSYSTEMTIMEASFILETIME)
-- GetSystemTimeAsFileTime(&ft);
-+ GetSystemTimeAsFileTime(reinterpret_cast<::_FILETIME *>(&ft));
- #else
- system_time st;
- GetSystemTime(&st);
--- boost/multi_array/base.hpp
+++ boost/multi_array/base.hpp
@@ -222,7 +222,7 @@
@@ -57,17 +18,6 @@
// Deal with VC 2010 output_iterator_tag requirement
typedef array_iterator<T,T*,mpl::size_t<NumDims>,reference,
mutable_iterator_tag> iterator;
---- boost/multi_array/iterator.hpp
-+++ boost/multi_array/iterator.hpp
-@@ -60,7 +60,7 @@
- , private
- value_accessor_generator<T,NumDims>::type
- {
-- friend class iterator_core_access;
-+ friend class boost::iterators::iterator_core_access;
- typedef detail::multi_array::associated_types<T,NumDims> access_t;
-
- typedef iterator_facade<
# workdir/UnpackedTarball/boost\boost/smart_ptr/detail/yield_k.hpp(63,29) : error: 'Sleep' redeclared without 'dllimport' attribute: previous 'dll# import' ignored [-Werror,-Winconsistent-dllimport]
# extern "C" void __stdcall Sleep( unsigned long ms );