Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73241 - trunk/libs/pool/test
From: john_at_[hidden]
Date: 2011-07-19 07:52:12


Author: johnmaddock
Date: 2011-07-19 07:52:11 EDT (Tue, 19 Jul 2011)
New Revision: 73241
URL: http://svn.boost.org/trac/boost/changeset/73241

Log:
Fix C++0x failure.
Try and suppress pathscale failure.
Text files modified:
   trunk/libs/pool/test/Jamfile.v2 | 1 +
   trunk/libs/pool/test/test_simple_seg_storage.hpp | 4 ++--
   2 files changed, 3 insertions(+), 2 deletions(-)

Modified: trunk/libs/pool/test/Jamfile.v2
==============================================================================
--- trunk/libs/pool/test/Jamfile.v2 (original)
+++ trunk/libs/pool/test/Jamfile.v2 2011-07-19 07:52:11 EDT (Tue, 19 Jul 2011)
@@ -13,6 +13,7 @@
         <toolset>gcc:<cxxflags>-Wshadow
         <toolset>gcc:<warnings-as-errors>on
         <toolset>gcc:<cxxflags>-Wno-long-long
+ <toolset>pathscale:<cxxflags>-Wno-long-long
         <toolset>gcc:<cxxflags>-Wcast-align
         <toolset>intel:<warnings-as-errors>on
         <toolset>msvc:<warnings-as-errors>on

Modified: trunk/libs/pool/test/test_simple_seg_storage.hpp
==============================================================================
--- trunk/libs/pool/test/test_simple_seg_storage.hpp (original)
+++ trunk/libs/pool/test/test_simple_seg_storage.hpp 2011-07-19 07:52:11 EDT (Tue, 19 Jul 2011)
@@ -99,7 +99,7 @@
     {
         set_partition_size(npartition_sz);
         allocated_blocks.push_back(
- std::make_pair<void*, std::size_t>(block, nsz) );
+ std::pair<void*, std::size_t>(block, nsz) );
         boost::simple_segregated_storage<std::size_t>::add_block(
             block, nsz, npartition_sz );
         // Post: !empty()
@@ -113,7 +113,7 @@
     {
         set_partition_size(npartition_sz);
         allocated_blocks.push_back(
- std::make_pair<void*, std::size_t>(block, nsz) );
+ std::pair<void*, std::size_t>(block, nsz) );
         boost::simple_segregated_storage<std::size_t>::add_ordered_block(
             block, nsz, npartition_sz );
         // Post: !empty()


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk