summaryrefslogtreecommitdiff
path: root/boost
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-30 17:00:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-30 20:28:05 +0000
commit2b7083aef8b9508ca93c55c62448ce044ae1fc95 (patch)
tree58566689d60b5dcf707aac18240d03875274e2c9 /boost
parent10bfc4df5335c6cd2ae700df7485668d896998b5 (diff)
WaE: more multi_array warnings
Diffstat (limited to 'boost')
-rw-r--r--boost/boost.6397.warnings.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/boost/boost.6397.warnings.patch b/boost/boost.6397.warnings.patch
index a307c315f05a..82e3b5e88ee9 100644
--- a/boost/boost.6397.warnings.patch
+++ b/boost/boost.6397.warnings.patch
@@ -169,6 +169,18 @@
} else {
std::fill_n(index_base_list_.begin(),NumDims,0);
}
+@@ -622,9 +622,9 @@
+ // This is only supplied to support multi_array's default constructor
+ explicit multi_array_ref(T* base,
+ const storage_order_type& so,
+- const index* index_bases,
++ const index* index_bases_,
+ const size_type* extents) :
+- super_type(base,so,index_bases,extents) { }
++ super_type(base,so,index_bases_,extents) { }
+
+ };
+
--- misc/boost_1_44_0/boost/multi_array/storage_order.hpp 2012-01-12 20:21:29.790009198 +0000
+++ misc/build/boost_1_44_0/boost/multi_array/storage_order.hpp 2012-01-12 20:30:57.667472937 +0000
@@ -34,10 +34,10 @@
@@ -199,7 +211,19 @@
+ base_(base), extents_(extents), strides_(i_strides),
index_base_(index_base) {
}
+
+@@ -369,9 +369,9 @@
+
+ sub_array (T* base,
+ const size_type* extents,
+- const index* strides,
++ const index* _strides,
+ const index* index_base) :
+- super_type(base,extents,strides,index_base) {
++ super_type(base,extents,_strides,index_base) {
+ }
+ };
--- misc/boost_1_44_0/boost/multi_array/view.hpp 2012-01-12 20:21:29.790009198 +0000
+++ misc/build/boost_1_44_0/boost/multi_array/view.hpp 2012-01-12 20:26:36.350945110 +0000
@@ -231,7 +231,7 @@
@@ -220,3 +244,14 @@
// Calculate the array size
num_elements_ = std::accumulate(extent_list_.begin(),extent_list_.end(),
+@@ -441,8 +441,8 @@
+ template <typename ExtentList, typename Index>
+ explicit multi_array_view(T* base,
+ const ExtentList& extents,
+- const boost::array<Index,NumDims>& strides) :
+- super_type(base,extents,strides) { }
++ const boost::array<Index,NumDims>& _strides) :
++ super_type(base,extents,_strides) { }
+
+ };
+