xref: /aoo42x/main/boost/boost_1_55_0.patch (revision b46563b0)
1e7c78ce6Struckmandiff -ur misc/boost_1_55_0/boost/asio/ssl/impl/context.ipp misc/build/boost_1_55_0/boost/asio/ssl/impl/context.ipp
2e7c78ce6Struckman--- misc/boost_1_55_0/boost/asio/ssl/impl/context.ipp	2013-10-26 16:25:53.000000000 -0700
3e7c78ce6Struckman+++ misc/build/boost_1_55_0/boost/asio/ssl/impl/context.ipp	2016-03-23 01:11:12.425434000 -0700
4e7c78ce6Struckman@@ -87,6 +87,14 @@
5e7c78ce6Struckman     handle_ = ::SSL_CTX_new(::SSLv2_server_method());
6e7c78ce6Struckman     break;
7e7c78ce6Struckman #endif // defined(OPENSSL_NO_SSL2)
8e7c78ce6Struckman+#if defined(OPENSSL_NO_SSL3)
9e7c78ce6Struckman+  case context::sslv3:
10e7c78ce6Struckman+  case context::sslv3_client:
11e7c78ce6Struckman+  case context::sslv3_server:
12e7c78ce6Struckman+    boost::asio::detail::throw_error(
13e7c78ce6Struckman+        boost::asio::error::invalid_argument, "context");
14e7c78ce6Struckman+    break;
15e7c78ce6Struckman+#else // defined(OPENSSL_NO_SSL3)
16e7c78ce6Struckman   case context::sslv3:
17e7c78ce6Struckman     handle_ = ::SSL_CTX_new(::SSLv3_method());
18e7c78ce6Struckman     break;
19e7c78ce6Struckman@@ -96,6 +104,7 @@
20e7c78ce6Struckman   case context::sslv3_server:
21e7c78ce6Struckman     handle_ = ::SSL_CTX_new(::SSLv3_server_method());
22e7c78ce6Struckman     break;
23e7c78ce6Struckman+#endif // defined(OPENSSL_NO_SSL3)
24e7c78ce6Struckman   case context::tlsv1:
25e7c78ce6Struckman     handle_ = ::SSL_CTX_new(::TLSv1_method());
26e7c78ce6Struckman     break;
27e7c78ce6Struckmandiff -ur misc/boost_1_55_0/boost/asio/ssl/old/detail/openssl_context_service.hpp misc/build/boost_1_55_0/boost/asio/ssl/old/detail/openssl_context_service.hpp
28e7c78ce6Struckman--- misc/boost_1_55_0/boost/asio/ssl/old/detail/openssl_context_service.hpp	2013-05-20 05:32:20.000000000 -0700
29e7c78ce6Struckman+++ misc/build/boost_1_55_0/boost/asio/ssl/old/detail/openssl_context_service.hpp	2016-03-23 01:11:12.426497000 -0700
30e7c78ce6Struckman@@ -85,6 +85,13 @@
31e7c78ce6Struckman       impl = ::SSL_CTX_new(::SSLv2_server_method());
32e7c78ce6Struckman       break;
33e7c78ce6Struckman #endif // defined(OPENSSL_NO_SSL2)
34e7c78ce6Struckman+#if defined(OPENSSL_NO_SSL3)
35e7c78ce6Struckman+    case context_base::sslv3:
36e7c78ce6Struckman+    case context_base::sslv3_client:
37e7c78ce6Struckman+    case context_base::sslv3_server:
38e7c78ce6Struckman+      boost::asio::detail::throw_error(boost::asio::error::invalid_argument);
39e7c78ce6Struckman+      break;
40e7c78ce6Struckman+#else // defined(OPENSSL_NO_SSL3)
41e7c78ce6Struckman     case context_base::sslv3:
42e7c78ce6Struckman       impl = ::SSL_CTX_new(::SSLv3_method());
43e7c78ce6Struckman       break;
44e7c78ce6Struckman@@ -94,6 +101,7 @@
45e7c78ce6Struckman     case context_base::sslv3_server:
46e7c78ce6Struckman       impl = ::SSL_CTX_new(::SSLv3_server_method());
47e7c78ce6Struckman       break;
48e7c78ce6Struckman+#endif // defined(OPENSSL_NO_SSL3)
49e7c78ce6Struckman     case context_base::tlsv1:
50e7c78ce6Struckman       impl = ::SSL_CTX_new(::TLSv1_method());
51e7c78ce6Struckman       break;
52e7c78ce6Struckmandiff -ur misc/boost_1_55_0/boost/bind/arg.hpp misc/build/boost_1_55_0/boost/bind/arg.hpp
53e7c78ce6Struckman--- misc/boost_1_55_0/boost/bind/arg.hpp	2007-11-25 10:07:19.000000000 -0800
54e7c78ce6Struckman+++ misc/build/boost_1_55_0/boost/bind/arg.hpp	2016-03-23 01:11:12.421530000 -0700
55e7c78ce6Struckman@@ -33,8 +33,7 @@
56e7c78ce6Struckman
57e7c78ce6Struckman     template< class T > arg( T const & /* t */ )
58e7c78ce6Struckman     {
59e7c78ce6Struckman-        // static assert I == is_placeholder<T>::value
60e7c78ce6Struckman-        typedef char T_must_be_placeholder[ I == is_placeholder<T>::value? 1: -1 ];
61e7c78ce6Struckman+        BOOST_STATIC_ASSERT( I == is_placeholder<T>::value );
62e7c78ce6Struckman     }
63e7c78ce6Struckman };
64e7c78ce6Struckman
65e7c78ce6Struckmandiff -ur misc/boost_1_55_0/boost/concept/detail/general.hpp misc/build/boost_1_55_0/boost/concept/detail/general.hpp
66e7c78ce6Struckman--- misc/boost_1_55_0/boost/concept/detail/general.hpp	2010-06-08 12:31:13.000000000 -0700
67e7c78ce6Struckman+++ misc/build/boost_1_55_0/boost/concept/detail/general.hpp	2016-03-23 01:11:12.388374000 -0700
68e7c78ce6Struckman@@ -65,10 +65,19 @@
69e7c78ce6Struckman
70e7c78ce6Struckman # endif
71e7c78ce6Struckman
72e7c78ce6Struckman+// Version check from https://svn.boost.org/trac/boost/changeset/82886
73e7c78ce6Struckman+// (boost/static_assert.hpp)
74e7c78ce6Struckman+#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) || defined(__clang__)
75e7c78ce6Struckman+#define BOOST_CONCEPT_UNUSED_TYPEDEF __attribute__((unused))
76e7c78ce6Struckman+#else
77e7c78ce6Struckman+#define BOOST_CONCEPT_UNUSED_TYPEDEF /**/
78e7c78ce6Struckman+#endif
79e7c78ce6Struckman+
80e7c78ce6Struckman #  define BOOST_CONCEPT_ASSERT_FN( ModelFnPtr )             \
81e7c78ce6Struckman     typedef ::boost::concepts::detail::instantiate<          \
82e7c78ce6Struckman     &::boost::concepts::requirement_<ModelFnPtr>::failed>    \
83e7c78ce6Struckman-      BOOST_PP_CAT(boost_concept_check,__LINE__)
84e7c78ce6Struckman+      BOOST_PP_CAT(boost_concept_check,__LINE__)             \
85e7c78ce6Struckman+      BOOST_CONCEPT_UNUSED_TYPEDEF
86e7c78ce6Struckman
87e7c78ce6Struckman }}
88e7c78ce6Struckman
89e7c78ce6Struckmandiff -ur misc/boost_1_55_0/boost/math/special_functions/fpclassify.hpp misc/build/boost_1_55_0/boost/math/special_functions/fpclassify.hpp
90e7c78ce6Struckman--- misc/boost_1_55_0/boost/math/special_functions/fpclassify.hpp	2013-09-28 09:19:47.000000000 -0700
91e7c78ce6Struckman+++ misc/build/boost_1_55_0/boost/math/special_functions/fpclassify.hpp	2016-03-23 01:11:12.392773000 -0700
92e7c78ce6Struckman@@ -348,7 +348,7 @@
93e7c78ce6Struckman { //!< \brief return true if floating-point type t is finite.
94e7c78ce6Struckman    typedef detail::fp_traits<long double>::type traits;
95e7c78ce6Struckman    typedef traits::method method;
96e7c78ce6Struckman-   typedef boost::is_floating_point<long double>::type fp_tag;
97e7c78ce6Struckman+   //typedef boost::is_floating_point<long double>::type fp_tag;
98e7c78ce6Struckman    typedef long double value_type;
99e7c78ce6Struckman    return detail::isfinite_impl(static_cast<value_type>(x), method());
100e7c78ce6Struckman }
101e7c78ce6Struckman@@ -419,7 +419,7 @@
102e7c78ce6Struckman {
103e7c78ce6Struckman    typedef detail::fp_traits<long double>::type traits;
104e7c78ce6Struckman    typedef traits::method method;
105e7c78ce6Struckman-   typedef boost::is_floating_point<long double>::type fp_tag;
106e7c78ce6Struckman+   //typedef boost::is_floating_point<long double>::type fp_tag;
107e7c78ce6Struckman    typedef long double value_type;
108e7c78ce6Struckman    return detail::isnormal_impl(static_cast<value_type>(x), method());
109e7c78ce6Struckman }
110e7c78ce6Struckman@@ -508,7 +508,7 @@
111e7c78ce6Struckman {
112e7c78ce6Struckman    typedef detail::fp_traits<long double>::type traits;
113e7c78ce6Struckman    typedef traits::method method;
114e7c78ce6Struckman-   typedef boost::is_floating_point<long double>::type fp_tag;
115e7c78ce6Struckman+   //typedef boost::is_floating_point<long double>::type fp_tag;
116e7c78ce6Struckman    typedef long double value_type;
117e7c78ce6Struckman    return detail::isinf_impl(static_cast<value_type>(x), method());
118e7c78ce6Struckman }
119e7c78ce6Struckman@@ -594,7 +594,7 @@
120e7c78ce6Struckman { //!< \brief return true if floating-point type t is NaN (Not A Number).
121e7c78ce6Struckman    typedef detail::fp_traits<long double>::type traits;
122e7c78ce6Struckman    typedef traits::method method;
123e7c78ce6Struckman-   typedef boost::is_floating_point<long double>::type fp_tag;
124e7c78ce6Struckman+   //typedef boost::is_floating_point<long double>::type fp_tag;
125e7c78ce6Struckman    return detail::isnan_impl(x, method());
126e7c78ce6Struckman }
127e7c78ce6Struckman #endif
128e7c78ce6Struckmandiff -ur misc/boost_1_55_0/boost/spirit/home/classic/core/primitives/primitives.hpp misc/build/boost_1_55_0/boost/spirit/home/classic/core/primitives/primitives.hpp
129e7c78ce6Struckman--- misc/boost_1_55_0/boost/spirit/home/classic/core/primitives/primitives.hpp	2008-06-22 08:05:38.000000000 -0700
130e7c78ce6Struckman+++ misc/build/boost_1_55_0/boost/spirit/home/classic/core/primitives/primitives.hpp	2016-03-23 01:11:12.407415000 -0700
131e7c78ce6Struckman@@ -47,7 +47,6 @@
132e7c78ce6Struckman         typename parser_result<self_t, ScannerT>::type
133e7c78ce6Struckman         parse(ScannerT const& scan) const
134e7c78ce6Struckman         {
135e7c78ce6Struckman-            typedef typename parser_result<self_t, ScannerT>::type result_t;
136e7c78ce6Struckman             typedef typename ScannerT::value_t value_t;
137e7c78ce6Struckman             typedef typename ScannerT::iterator_t iterator_t;
138e7c78ce6Struckman
139e7c78ce6Struckmandiff -ur misc/boost_1_55_0/boost/static_assert.hpp misc/build/boost_1_55_0/boost/static_assert.hpp
140e7c78ce6Struckman--- misc/boost_1_55_0/boost/static_assert.hpp	2013-09-21 13:17:00.000000000 -0700
141e7c78ce6Struckman+++ misc/build/boost_1_55_0/boost/static_assert.hpp	2016-03-23 01:11:12.430683000 -0700
142e7c78ce6Struckman@@ -67,7 +67,7 @@
143e7c78ce6Struckman //
144e7c78ce6Struckman // If the compiler warns about unused typedefs then enable this:
145e7c78ce6Struckman //
146e7c78ce6Struckman-#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)))
147e7c78ce6Struckman+#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) || defined(__clang__)
148e7c78ce6Struckman #  define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE __attribute__((unused))
149e7c78ce6Struckman #else
150e7c78ce6Struckman #  define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE
151e7c78ce6Struckmandiff -ur misc/boost_1_55_0/boost/tuple/detail/tuple_basic.hpp misc/build/boost_1_55_0/boost/tuple/detail/tuple_basic.hpp
152e7c78ce6Struckman--- misc/boost_1_55_0/boost/tuple/detail/tuple_basic.hpp	2011-01-02 12:25:11.000000000 -0800
153e7c78ce6Struckman+++ misc/build/boost_1_55_0/boost/tuple/detail/tuple_basic.hpp	2016-03-23 01:11:12.435344000 -0700
154e7c78ce6Struckman@@ -225,7 +225,6 @@
155e7c78ce6Struckman get(const cons<HT, TT>& c BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(int, N)) {
156e7c78ce6Struckman   typedef BOOST_DEDUCED_TYPENAME detail::drop_front<N>::BOOST_NESTED_TEMPLATE
157e7c78ce6Struckman       apply<cons<HT, TT> > impl;
158e7c78ce6Struckman-  typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
159e7c78ce6Struckman   return impl::call(c).head;
160e7c78ce6Struckman }
161e7c78ce6Struckman
162e7c78ce6Struckmandiff -ur misc/boost_1_55_0/boost/unordered/detail/equivalent.hpp misc/build/boost_1_55_0/boost/unordered/detail/equivalent.hpp
163e7c78ce6Struckman--- misc/boost_1_55_0/boost/unordered/detail/equivalent.hpp	2012-12-05 14:06:57.000000000 -0800
164e7c78ce6Struckman+++ misc/build/boost_1_55_0/boost/unordered/detail/equivalent.hpp	2016-03-23 01:04:46.934774000 -0700
1657766832aSHerbert Dürr@@ -534,11 +534,11 @@
1667766832aSHerbert Dürr             }
1677766832aSHerbert Dürr
1687766832aSHerbert Dürr             node_pointer first_node = static_cast<node_pointer>(prev->next_);
1697766832aSHerbert Dürr-            link_pointer end = first_node->group_prev_->next_;
1707766832aSHerbert Dürr+            link_pointer end_var = first_node->group_prev_->next_;
1717766832aSHerbert Dürr
1727766832aSHerbert Dürr-            std::size_t count = this->delete_nodes(prev, end);
1737766832aSHerbert Dürr+            std::size_t count_var = this->delete_nodes(prev, end_var);
1747766832aSHerbert Dürr             this->fix_bucket(bucket_index, prev);
1757766832aSHerbert Dürr-            return count;
1767766832aSHerbert Dürr+            return count_var;
1777766832aSHerbert Dürr         }
1787766832aSHerbert Dürr
1797766832aSHerbert Dürr         iterator erase(c_iterator r)
1807766832aSHerbert Dürr@@ -557,21 +557,21 @@
1817766832aSHerbert Dürr             return iterator(r2.node_);
1827766832aSHerbert Dürr         }
1837766832aSHerbert Dürr
1847766832aSHerbert Dürr-        link_pointer erase_nodes(node_pointer begin, node_pointer end)
1857766832aSHerbert Dürr+        link_pointer erase_nodes(node_pointer begin_arg, node_pointer end_arg)
1867766832aSHerbert Dürr         {
1877766832aSHerbert Dürr-            std::size_t bucket_index = this->hash_to_bucket(begin->hash_);
1887766832aSHerbert Dürr+            std::size_t bucket_index = this->hash_to_bucket(begin_arg->hash_);
1897766832aSHerbert Dürr
1907766832aSHerbert Dürr-            // Split the groups containing 'begin' and 'end'.
1917766832aSHerbert Dürr+            // Split the groups containing 'begin_arg' and 'end_arg'.
1927766832aSHerbert Dürr             // And get the pointer to the node before begin while
1937766832aSHerbert Dürr             // we're at it.
1947766832aSHerbert Dürr-            link_pointer prev = split_groups(begin, end);
1957766832aSHerbert Dürr+            link_pointer prev = split_groups(begin_arg, end_arg);
1967766832aSHerbert Dürr
1977766832aSHerbert Dürr-            // If we don't have a 'prev' it means that begin is at the
1987766832aSHerbert Dürr+            // If we don't have a 'prev' it means that begin_arg is at the
1997766832aSHerbert Dürr             // beginning of a block, so search through the blocks in the
2007766832aSHerbert Dürr             // same bucket.
2017766832aSHerbert Dürr             if (!prev) {
2027766832aSHerbert Dürr                 prev = this->get_previous_start(bucket_index);
2037766832aSHerbert Dürr-                while (prev->next_ != begin)
2047766832aSHerbert Dürr+                while (prev->next_ != begin_arg)
2057766832aSHerbert Dürr                     prev = static_cast<node_pointer>(prev->next_)->group_prev_;
2067766832aSHerbert Dürr             }
2077766832aSHerbert Dürr
2087766832aSHerbert Dürr@@ -581,24 +581,24 @@
2097766832aSHerbert Dürr                     static_cast<node_pointer>(prev->next_)->group_prev_->next_;
2107766832aSHerbert Dürr                 this->delete_nodes(prev, group_end);
2117766832aSHerbert Dürr                 bucket_index = this->fix_bucket(bucket_index, prev);
2127766832aSHerbert Dürr-            } while(prev->next_ != end);
2137766832aSHerbert Dürr+            } while(prev->next_ != end_arg);
2147766832aSHerbert Dürr
2157766832aSHerbert Dürr             return prev;
2167766832aSHerbert Dürr         }
2177766832aSHerbert Dürr
2187766832aSHerbert Dürr-        static link_pointer split_groups(node_pointer begin, node_pointer end)
2197766832aSHerbert Dürr+        static link_pointer split_groups(node_pointer begin_arg, node_pointer end_arg)
2207766832aSHerbert Dürr         {
2217766832aSHerbert Dürr-            node_pointer prev = begin->group_prev_;
2227766832aSHerbert Dürr-            if (prev->next_ != begin) prev = node_pointer();
2237766832aSHerbert Dürr+            node_pointer prev = begin_arg->group_prev_;
2247766832aSHerbert Dürr+            if (prev->next_ != begin_arg) prev = node_pointer();
2257766832aSHerbert Dürr
2267766832aSHerbert Dürr-            if (end) {
2277766832aSHerbert Dürr-                node_pointer first = end;
2287766832aSHerbert Dürr-                while (first != begin && first->group_prev_->next_ == first) {
2297766832aSHerbert Dürr+            if (end_arg) {
2307766832aSHerbert Dürr+                node_pointer first = end_arg;
2317766832aSHerbert Dürr+                while (first != begin_arg && first->group_prev_->next_ == first) {
2327766832aSHerbert Dürr                     first = first->group_prev_;
2337766832aSHerbert Dürr                 }
2347766832aSHerbert Dürr
2357766832aSHerbert Dürr-                boost::swap(first->group_prev_, end->group_prev_);
2367766832aSHerbert Dürr-                if (first == begin) return prev;
2377766832aSHerbert Dürr+                boost::swap(first->group_prev_, end_arg->group_prev_);
2387766832aSHerbert Dürr+                if (first == begin_arg) return prev;
2397766832aSHerbert Dürr             }
2407766832aSHerbert Dürr
2417766832aSHerbert Dürr             if (prev) {
2427766832aSHerbert Dürr@@ -606,7 +606,7 @@
2437766832aSHerbert Dürr                 while (first->group_prev_->next_ == first) {
2447766832aSHerbert Dürr                     first = first->group_prev_;
2457766832aSHerbert Dürr                 }
2467766832aSHerbert Dürr-                boost::swap(first->group_prev_, begin->group_prev_);
2477766832aSHerbert Dürr+                boost::swap(first->group_prev_, begin_arg->group_prev_);
2487766832aSHerbert Dürr             }
2497766832aSHerbert Dürr
2507766832aSHerbert Dürr             return prev;
251e7c78ce6Struckmandiff -ur misc/boost_1_55_0/boost/unordered/detail/table.hpp misc/build/boost_1_55_0/boost/unordered/detail/table.hpp
252e7c78ce6Struckman--- misc/boost_1_55_0/boost/unordered/detail/table.hpp	2013-08-18 02:44:14.000000000 -0700
253e7c78ce6Struckman+++ misc/build/boost_1_55_0/boost/unordered/detail/table.hpp	2016-03-23 01:04:46.936005000 -0700
2547766832aSHerbert Dürr@@ -257,9 +257,9 @@
2557766832aSHerbert Dürr             return prev ? iterator(prev->next_) : iterator();
2567766832aSHerbert Dürr         }
2577766832aSHerbert Dürr
2587766832aSHerbert Dürr-        std::size_t hash_to_bucket(std::size_t hash) const
2597766832aSHerbert Dürr+        std::size_t hash_to_bucket(std::size_t hash_arg) const
2607766832aSHerbert Dürr         {
2617766832aSHerbert Dürr-            return policy::to_bucket(bucket_count_, hash);
2627766832aSHerbert Dürr+            return policy::to_bucket(bucket_count_, hash_arg);
2637766832aSHerbert Dürr         }
2647766832aSHerbert Dürr
2657766832aSHerbert Dürr         float load_factor() const
2667766832aSHerbert Dürr@@ -655,8 +655,8 @@
2677766832aSHerbert Dürr             // assign_nodes takes ownership of the container's elements,
2687766832aSHerbert Dürr             // assigning to them if possible, and deleting any that are
2697766832aSHerbert Dürr             // left over.
2707766832aSHerbert Dürr-            assign_nodes<table> assign(*this);
2717766832aSHerbert Dürr-            table_impl::fill_buckets(x.begin(), *this, assign);
2727766832aSHerbert Dürr+            assign_nodes<table> assign_var(*this);
2737766832aSHerbert Dürr+            table_impl::fill_buckets(x.begin(), *this, assign_var);
2747766832aSHerbert Dürr         }
2757766832aSHerbert Dürr
2767766832aSHerbert Dürr         void assign(table const& x, true_type)
2777766832aSHerbert Dürr@@ -730,9 +730,9 @@
2787766832aSHerbert Dürr                 // move_assign_nodes takes ownership of the container's
2797766832aSHerbert Dürr                 // elements, assigning to them if possible, and deleting
2807766832aSHerbert Dürr                 // any that are left over.
2817766832aSHerbert Dürr-                move_assign_nodes<table> assign(*this);
2827766832aSHerbert Dürr+                move_assign_nodes<table> assign_var(*this);
2837766832aSHerbert Dürr                 node_holder<node_allocator> nodes(x);
2847766832aSHerbert Dürr-                table_impl::fill_buckets(nodes.begin(), *this, assign);
2857766832aSHerbert Dürr+                table_impl::fill_buckets(nodes.begin(), *this, assign_var);
2867766832aSHerbert Dürr             }
2877766832aSHerbert Dürr         }
2887766832aSHerbert Dürr
289e7c78ce6Struckmandiff -ur misc/boost_1_55_0/boost/unordered/detail/unique.hpp misc/build/boost_1_55_0/boost/unordered/detail/unique.hpp
290e7c78ce6Struckman--- misc/boost_1_55_0/boost/unordered/detail/unique.hpp	2013-08-18 02:44:14.000000000 -0700
291e7c78ce6Struckman+++ misc/build/boost_1_55_0/boost/unordered/detail/unique.hpp	2016-03-23 01:04:46.937066000 -0700
2927766832aSHerbert Dürr@@ -529,9 +529,9 @@
2937766832aSHerbert Dürr
2947766832aSHerbert Dürr             link_pointer end = static_cast<node_pointer>(prev->next_)->next_;
2957766832aSHerbert Dürr
2967766832aSHerbert Dürr-            std::size_t count = this->delete_nodes(prev, end);
2977766832aSHerbert Dürr+            std::size_t count_var = this->delete_nodes(prev, end);
2987766832aSHerbert Dürr             this->fix_bucket(bucket_index, prev);
2997766832aSHerbert Dürr-            return count;
3007766832aSHerbert Dürr+            return count_var;
3017766832aSHerbert Dürr         }
3027766832aSHerbert Dürr
3037766832aSHerbert Dürr         iterator erase(c_iterator r)
3047766832aSHerbert Dürr@@ -550,19 +550,19 @@
3057766832aSHerbert Dürr             return iterator(r2.node_);
3067766832aSHerbert Dürr         }
3077766832aSHerbert Dürr
3087766832aSHerbert Dürr-        void erase_nodes(node_pointer begin, node_pointer end)
3097766832aSHerbert Dürr+        void erase_nodes(node_pointer begin_arg, node_pointer end_arg)
3107766832aSHerbert Dürr         {
3117766832aSHerbert Dürr-            std::size_t bucket_index = this->hash_to_bucket(begin->hash_);
3127766832aSHerbert Dürr+            std::size_t bucket_index = this->hash_to_bucket(begin_arg->hash_);
3137766832aSHerbert Dürr
3147766832aSHerbert Dürr-            // Find the node before begin.
3157766832aSHerbert Dürr+            // Find the node before begin_arg
3167766832aSHerbert Dürr             link_pointer prev = this->get_previous_start(bucket_index);
3177766832aSHerbert Dürr-            while(prev->next_ != begin) prev = prev->next_;
3187766832aSHerbert Dürr+            while(prev->next_ != begin_arg) prev = prev->next_;
3197766832aSHerbert Dürr
3207766832aSHerbert Dürr             // Delete the nodes.
3217766832aSHerbert Dürr             do {
3227766832aSHerbert Dürr                 this->delete_node(prev);
3237766832aSHerbert Dürr                 bucket_index = this->fix_bucket(bucket_index, prev);
3247766832aSHerbert Dürr-            } while (prev->next_ != end);
3257766832aSHerbert Dürr+            } while (prev->next_ != end_arg);
3267766832aSHerbert Dürr         }
3277766832aSHerbert Dürr
3287766832aSHerbert Dürr         ////////////////////////////////////////////////////////////////////////
3296f313075Struckmandiff -ur misc/boost_1_55_0/boost/config/compiler/gcc.hpp misc/build/boost_1_55_0/boost/config/compiler/gcc.hpp
3306f313075Struckman--- misc/boost_1_55_0/boost/config/compiler/gcc.hpp	2013-09-17 09:55:51.000000000 -0700
331*b46563b0SDon Lewis+++ misc/build/boost_1_55_0/boost/config/compiler/gcc.hpp	2019-11-04 09:59:20.741944674 -0800
332*b46563b0SDon Lewis@@ -137,14 +137,18 @@
3336f313075Struckman
3346f313075Struckman // C++0x features in 4.3.n and later
3356f313075Struckman //
3366f313075Struckman-#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 2)) && defined(__GXX_EXPERIMENTAL_CXX0X__)
337*b46563b0SDon Lewis+#if ((__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 2)) && defined(__GXX_EXPERIMENTAL_CXX0X__)) || (__cplusplus >= 201103L)
3386f313075Struckman // C++0x features are only enabled when -std=c++0x or -std=gnu++0x are
3396f313075Struckman // passed on the command line, which in turn defines
3406f313075Struckman // __GXX_EXPERIMENTAL_CXX0X__.
341*b46563b0SDon Lewis #  define BOOST_HAS_DECLTYPE
342*b46563b0SDon Lewis #  define BOOST_HAS_RVALUE_REFS
343*b46563b0SDon Lewis #  define BOOST_HAS_STATIC_ASSERT
344*b46563b0SDon Lewis-#  define BOOST_HAS_VARIADIC_TMPL
345*b46563b0SDon Lewis+#  if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 4))
346*b46563b0SDon Lewis+#    define BOOST_HAS_VARIADIC_TMPL
347*b46563b0SDon Lewis+#  else
348*b46563b0SDon Lewis+#    define BOOST_NO_CXX11_VARIADIC_TEMPLATES
349*b46563b0SDon Lewis+#  endif
350*b46563b0SDon Lewis #else
351*b46563b0SDon Lewis #  define BOOST_NO_CXX11_DECLTYPE
352*b46563b0SDon Lewis #  define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
353*b46563b0SDon Lewis@@ -153,7 +157,7 @@
3546f313075Struckman
3556f313075Struckman // Variadic templates compiler:
3566f313075Struckman //   http://www.generic-programming.org/~dgregor/cpp/variadic-templates.html
3576f313075Struckman-#  if defined(__VARIADIC_TEMPLATES) || (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4) && defined(__GXX_EXPERIMENTAL_CXX0X__))
358*b46563b0SDon Lewis+#  if defined(__VARIADIC_TEMPLATES)
3596f313075Struckman #    define BOOST_HAS_VARIADIC_TMPL
3606f313075Struckman #  else
3616f313075Struckman #    define BOOST_NO_CXX11_VARIADIC_TEMPLATES
362