Ticket #2935: BOOST_MSVC_FULL.patch
File BOOST_MSVC_FULL.patch, 13.3 KB (added by , 14 years ago) |
---|
-
boost/config/compiler/visualc.hpp
14 14 15 15 #define BOOST_MSVC _MSC_VER 16 16 17 #if _MSC_FULL_VER / 10000 == _MSC_VER 18 # define BOOST_MSVC_FULL (_MSC_FULL_VER * 10) 19 #elif _MSC_FULL_VER / 100000 == _MSC_VER 20 # define BOOST_MSVC_FULL _MSC_FULL_VER 21 #else 22 # error "Cannot determine build number from _MSC_FULL_VER" 23 #endif 24 25 17 26 // turn off the warnings before we #include anything 18 27 #pragma warning( disable : 4503 ) // warning: decorated name length exceeded 19 28 -
boost/detail/indirect_traits.hpp
45 45 { 46 46 }; 47 47 48 # if defined(BOOST_MSVC) && _MSC_FULL_VER<= 13102140 // vc7.01 alpha workaround48 # if defined(BOOST_MSVC) && BOOST_MSVC_FULL <= 13102140 // vc7.01 alpha workaround 49 49 template<class T> 50 50 struct is_reference_to_const<T const volatile&> : mpl::true_ 51 51 { … … 138 138 { 139 139 }; 140 140 141 # if defined(BOOST_MSVC) && _MSC_FULL_VER<= 13102140 // vc7.01 alpha workaround141 # if defined(BOOST_MSVC) && BOOST_MSVC_FULL <= 13102140 // vc7.01 alpha workaround 142 142 template <class T> 143 143 struct is_reference_to_volatile<T const volatile&> : mpl::true_ 144 144 { -
boost/iterator/iterator_adaptor.hpp
128 128 typedef boost::detail::enable_type type; 129 129 }; 130 130 131 # elif BOOST_WORKAROUND( _MSC_FULL_VER, BOOST_TESTED_AT(13102292)) && BOOST_MSVC > 1300131 # elif BOOST_WORKAROUND(BOOST_MSVC_FULL, BOOST_TESTED_AT(13102292)) && BOOST_MSVC > 1300 132 132 133 133 // For some reason vc7.1 needs us to "cut off" instantiation 134 134 // of is_convertible in a few cases. -
boost/mpl/aux_/na_assert.hpp
18 18 #include <boost/mpl/aux_/config/msvc.hpp> 19 19 #include <boost/mpl/aux_/config/workaround.hpp> 20 20 21 #if !BOOST_WORKAROUND( _MSC_FULL_VER, <= 140050601) \21 #if !BOOST_WORKAROUND(BOOST_MSVC_FULL, <= 140050601) \ 22 22 && !BOOST_WORKAROUND(__EDG_VERSION__, <= 243) 23 23 # include <boost/mpl/assert.hpp> 24 24 # define BOOST_MPL_AUX_ASSERT_NOT_NA(x) \ -
boost/python/converter/arg_from_python.hpp
115 115 arg_rvalue_from_python(PyObject*); 116 116 bool convertible() const; 117 117 118 # if BOOST_MSVC < 1301 || _MSC_FULL_VER> 13102196118 # if BOOST_MSVC < 1301 || BOOST_MSVC_FULL > 13102196 119 119 typename arg_rvalue_from_python<T>:: 120 120 # endif 121 121 result_type operator()(); -
boost/python/converter/arg_to_python_base.hpp
13 13 namespace detail 14 14 { 15 15 struct BOOST_PYTHON_DECL arg_to_python_base 16 # if !defined(BOOST_MSVC) || BOOST_MSVC <= 1300 || _MSC_FULL_VER> 1310217916 # if !defined(BOOST_MSVC) || BOOST_MSVC <= 1300 || BOOST_MSVC_FULL > 13102179 17 17 : handle<> 18 18 # endif 19 19 { 20 20 arg_to_python_base(void const volatile* source, registration const&); 21 # if defined(BOOST_MSVC) && BOOST_MSVC > 1300 && _MSC_FULL_VER<= 1310217921 # if defined(BOOST_MSVC) && BOOST_MSVC > 1300 && BOOST_MSVC_FULL <= 13102179 22 22 PyObject* get() const { return m_ptr.get(); } 23 23 PyObject* release() { return m_ptr.release(); } 24 24 private: -
boost/python/detail/force_instantiate.hpp
10 10 // Allows us to force the argument to be instantiated without 11 11 // incurring unused variable warnings 12 12 13 # if !defined(BOOST_MSVC) || BOOST_MSVC < 1300 || _MSC_FULL_VER> 1310219613 # if !defined(BOOST_MSVC) || BOOST_MSVC < 1300 || BOOST_MSVC_FULL > 13102196 14 14 15 15 template <class T> 16 16 inline void force_instantiate(T const&) {} -
boost/python/detail/result.hpp
43 43 template <class R, class T> 44 44 boost::type<R>* result(R (T::*), int = 0) { return 0; } 45 45 46 # if (defined(BOOST_MSVC) && _MSC_FULL_VER<= 13102140) \46 # if (defined(BOOST_MSVC) && BOOST_MSVC_FULL <= 13102140) \ 47 47 || (defined(__GNUC__) && __GNUC__ < 3) \ 48 48 || (defined(__MWERKS__) && __MWERKS__ < 0x3000) 49 49 // This code actually works on all implementations, but why use it when we don't have to? -
boost/python/override.hpp
46 46 return converter(m_obj.release()); 47 47 } 48 48 49 # if BOOST_WORKAROUND( _MSC_FULL_VER, BOOST_TESTED_AT(140050215))49 # if BOOST_WORKAROUND(BOOST_MSVC_FULL, BOOST_TESTED_AT(140050215)) 50 50 template <class T> 51 51 operator T*() 52 52 { -
boost/random/lagged_fibonacci.hpp
33 33 namespace boost { 34 34 namespace random { 35 35 36 #if BOOST_WORKAROUND( _MSC_FULL_VER, BOOST_TESTED_AT(13102292)) && BOOST_MSVC > 130036 #if BOOST_WORKAROUND(BOOST_MSVC_FULL, BOOST_TESTED_AT(13102292)) && BOOST_MSVC > 1300 37 37 # define BOOST_RANDOM_EXTRACT_LF 38 38 #endif 39 39 -
boost/random/subtract_with_carry.hpp
33 33 namespace boost { 34 34 namespace random { 35 35 36 #if BOOST_WORKAROUND( _MSC_FULL_VER, BOOST_TESTED_AT(13102292)) && BOOST_MSVC > 130036 #if BOOST_WORKAROUND(BOOST_MSVC_FULL, BOOST_TESTED_AT(13102292)) && BOOST_MSVC > 1300 37 37 # define BOOST_RANDOM_EXTRACT_SWC_01 38 38 #endif 39 39 -
boost/tr1/detail/config.hpp
123 123 #endif 124 124 125 125 #if defined(_MSC_VER) && (_MSC_VER >= 1500) \ 126 && defined( _MSC_FULL_VER) && \126 && defined(BOOST_MSVC_FULL) && \ 127 127 !defined(__SGI_STL_PORT) && \ 128 128 !defined(_STLPORT_VERSION) && \ 129 129 !defined(_RWSTD_VER_STR) && \ -
boost/type_traits/has_new_operator.hpp
85 85 BOOST_STATIC_CONSTANT(unsigned, s1 = sizeof(has_new_operator_impl<T>::template check_sig<T>(0))); 86 86 BOOST_STATIC_CONSTANT(unsigned, s2 = sizeof(has_new_operator_impl<T>::template check_sig2<T>(0))); 87 87 #else 88 #if BOOST_WORKAROUND( _MSC_FULL_VER, >= 140050000)88 #if BOOST_WORKAROUND(BOOST_MSVC_FULL, >= 140050000) 89 89 #pragma warning(push) 90 90 #pragma warning(disable:6334) 91 91 #endif … … 93 93 BOOST_STATIC_CONSTANT(unsigned, s1 = sizeof(check_sig<T>(0))); 94 94 BOOST_STATIC_CONSTANT(unsigned, s2 = sizeof(check_sig2<T>(0))); 95 95 96 #if BOOST_WORKAROUND( _MSC_FULL_VER, >= 140050000)96 #if BOOST_WORKAROUND(BOOST_MSVC_FULL, >= 140050000) 97 97 #pragma warning(pop) 98 98 #endif 99 99 #endif -
boost/type_traits/intrinsics.hpp
82 82 # define BOOST_HAS_TYPE_TRAITS_INTRINSICS 83 83 #endif 84 84 85 #if defined(BOOST_MSVC) && defined( _MSC_FULL_VER) && (_MSC_FULL_VER>=140050215)85 #if defined(BOOST_MSVC) && defined(BOOST_MSVC_FULL) && (BOOST_MSVC_FULL >=140050215) 86 86 # include <boost/type_traits/is_same.hpp> 87 87 88 88 # define BOOST_IS_UNION(T) __is_union(T) -
boost/type_traits/is_abstract.hpp
94 94 #ifdef __GNUC__ 95 95 BOOST_STATIC_CONSTANT(std::size_t, s1 = sizeof(is_abstract_imp2<T>::template check_sig<T>(0))); 96 96 #else 97 #if BOOST_WORKAROUND( _MSC_FULL_VER, >= 140050000)97 #if BOOST_WORKAROUND(BOOST_MSVC_FULL, >= 140050000) 98 98 #pragma warning(push) 99 99 #pragma warning(disable:6334) 100 100 #endif 101 101 BOOST_STATIC_CONSTANT(std::size_t, s1 = sizeof(check_sig<T>(0))); 102 #if BOOST_WORKAROUND( _MSC_FULL_VER, >= 140050000)102 #if BOOST_WORKAROUND(BOOST_MSVC_FULL, >= 140050000) 103 103 #pragma warning(pop) 104 104 #endif 105 105 #endif -
boost/type_traits/is_base_and_derived.hpp
133 133 template<typename B, typename D> 134 134 struct is_base_and_derived_impl2 135 135 { 136 #if BOOST_WORKAROUND( _MSC_FULL_VER, >= 140050000)136 #if BOOST_WORKAROUND(BOOST_MSVC_FULL, >= 140050000) 137 137 #pragma warning(push) 138 138 #pragma warning(disable:6334) 139 139 #endif … … 156 156 157 157 BOOST_STATIC_CONSTANT(bool, value = 158 158 sizeof(bd_helper<B,D>::check_sig(Host(), 0)) == sizeof(type_traits::yes_type)); 159 #if BOOST_WORKAROUND( _MSC_FULL_VER, >= 140050000)159 #if BOOST_WORKAROUND(BOOST_MSVC_FULL, >= 140050000) 160 160 #pragma warning(pop) 161 161 #endif 162 162 }; -
boost/type_traits/is_convertible.hpp
256 256 #ifdef BOOST_MSVC 257 257 #pragma warning(push) 258 258 #pragma warning(disable:4244) 259 #if BOOST_WORKAROUND( _MSC_FULL_VER, >= 140050000)259 #if BOOST_WORKAROUND(BOOST_MSVC_FULL, >= 140050000) 260 260 #pragma warning(disable:6334) 261 261 #endif 262 262 #endif -
boost/type_traits/is_function.hpp
65 65 template <typename T> 66 66 struct is_function_impl 67 67 { 68 #if BOOST_WORKAROUND( _MSC_FULL_VER, >= 140050000)68 #if BOOST_WORKAROUND(BOOST_MSVC_FULL, >= 140050000) 69 69 #pragma warning(push) 70 70 #pragma warning(disable:6334) 71 71 #endif … … 74 74 bool, value = sizeof(::boost::type_traits::is_function_ptr_tester(t)) 75 75 == sizeof(::boost::type_traits::yes_type) 76 76 ); 77 #if BOOST_WORKAROUND( _MSC_FULL_VER, >= 140050000)77 #if BOOST_WORKAROUND(BOOST_MSVC_FULL, >= 140050000) 78 78 #pragma warning(pop) 79 79 #endif 80 80 }; -
boost/type_traits/is_member_function_pointer.hpp
64 64 { 65 65 template <typename T> struct result_ 66 66 { 67 #if BOOST_WORKAROUND( _MSC_FULL_VER, >= 140050000)67 #if BOOST_WORKAROUND(BOOST_MSVC_FULL, >= 140050000) 68 68 #pragma warning(push) 69 69 #pragma warning(disable:6334) 70 70 #endif … … 75 75 bool, value = ( 76 76 1 == sizeof(::boost::type_traits::is_mem_fun_pointer_tester(self_type::make_t)) 77 77 )); 78 #if BOOST_WORKAROUND( _MSC_FULL_VER, >= 140050000)78 #if BOOST_WORKAROUND(BOOST_MSVC_FULL, >= 140050000) 79 79 #pragma warning(pop) 80 80 #endif 81 81 }; -
libs/python/src/converter/arg_to_python_base.cpp
15 15 { 16 16 arg_to_python_base::arg_to_python_base( 17 17 void const volatile* source, registration const& converters) 18 # if !defined(BOOST_MSVC) || BOOST_MSVC <= 1300 || _MSC_FULL_VER> 1310217918 # if !defined(BOOST_MSVC) || BOOST_MSVC <= 1300 || BOOST_MSVC_FULL > 13102179 19 19 : handle<> 20 20 # else 21 21 : m_ptr -
libs/python/src/object/inheritance.cpp
5 5 #include <boost/python/object/inheritance.hpp> 6 6 #include <boost/python/type_id.hpp> 7 7 #include <boost/graph/breadth_first_search.hpp> 8 #if _MSC_FULL_VER >= 13102171 && _MSC_FULL_VER<= 131021798 #if BOOST_MSVC_FULL >= 13102171 && BOOST_MSVC_FULL <= 13102179 9 9 # include <boost/graph/reverse_graph.hpp> 10 10 #endif 11 11 #include <boost/graph/adjacency_list.hpp>