Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2008-01-17 06:36:49


Author: danieljames
Date: 2008-01-17 06:36:49 EST (Thu, 17 Jan 2008)
New Revision: 42832
URL: http://svn.boost.org/trac/boost/changeset/42832

Log:
Apache stdcxx calls allocate with a void pointer.
Text files modified:
   branches/unordered/trunk/libs/unordered/test/helpers/allocator.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: branches/unordered/trunk/libs/unordered/test/helpers/allocator.hpp
==============================================================================
--- branches/unordered/trunk/libs/unordered/test/helpers/allocator.hpp (original)
+++ branches/unordered/trunk/libs/unordered/test/helpers/allocator.hpp 2008-01-17 06:36:49 EST (Thu, 17 Jan 2008)
@@ -44,9 +44,9 @@
 
         pointer allocate(size_type n, const_pointer u) { return allocate(n); }
 
-#if defined(__IBMCPP__)
- // Workaround for IBM Visual Age which seems to use a void pointer
- // for the second argument.
+#if defined(__IBMCPP__) || BOOST_WORKAROUND(BOOST_RWSTD_VER, < 0x04020000)
+ // Workaround for IBM Visual Age and Rogue Wave (or maybe just Apache stdcxx?)
+ // which seem to use a void pointer for the second argument.
         pointer allocate(size_type n, void const* u) { return allocate(n); }
 #endif
 


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