Windows: Add support for building with clang.
[blender.git] / build_files / build_environment / patches / boost.diff
1 --- a/boost/config/compiler/visualc.hpp       2015-12-08 11:55:19 -0700
2 +++ b/boost/config/compiler/visualc.hpp    2018-03-17 10:29:52 -0600
3 @@ -287,12 +287,3 @@
4  #  define BOOST_COMPILER "Microsoft Visual C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
5  #endif
6
7 -//
8 -// last known and checked version is 19.00.23026 (VC++ 2015 RTM):
9 -#if (_MSC_VER > 1900)
10 -#  if defined(BOOST_ASSERT_CONFIG)
11 -#     error "Unknown compiler version - please run the configure tests and report the results"
12 -#  else
13 -#     pragma message("Unknown compiler version - please run the configure tests and report the results")
14 -#  endif
15 -#endif
16 --- a/boost/type_traits/has_nothrow_assign.hpp  2015-12-13 05:49:42 -0700
17 +++ b/boost/type_traits/has_nothrow_assign.hpp  2018-05-27 11:11:02 -0600
18 @@ -24,7 +24,7 @@
19  #include <boost/type_traits/remove_reference.hpp>
20  #endif
21  #endif
22 -#if defined(__GNUC__) || defined(__SUNPRO_CC)
23 +#if defined(__GNUC__) || defined(__SUNPRO_CC) || defined(__clang__)
24  #include <boost/type_traits/is_const.hpp>
25  #include <boost/type_traits/is_volatile.hpp>
26  #include <boost/type_traits/is_assignable.hpp>
27 --- a/boost/type_traits/has_nothrow_constructor.hpp     2015-12-13 05:49:42 -0700
28 +++ b/boost/type_traits/has_nothrow_constructor.hpp     2018-05-27 11:11:02 -0600
29 @@ -17,7 +17,7 @@
30  #if defined(BOOST_MSVC) || defined(BOOST_INTEL)
31  #include <boost/type_traits/has_trivial_constructor.hpp>
32  #endif
33 -#if defined(__GNUC__ ) || defined(__SUNPRO_CC)
34 +#if defined(__GNUC__ ) || defined(__SUNPRO_CC) || defined(__clang__)
35  #include <boost/type_traits/is_default_constructible.hpp>
36  #endif
37