Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2005-06-22 10:23:12


Joaquín Mª López Muñoz wrote:

> Despite recent changes by Dave Abrahams, mpl::set is still
> failing in tru64cxx as shown in the last regression cycle:
>
> http://tinyurl.com/9qzuh

[snip problem analysis]

I took the liberty to commit attached patch and the regression test for set
now passes on Tru64/CXX.

Thanks again for the help!

Markus

Index: ptr_to_ref.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/mpl/aux_/ptr_to_ref.hpp,v
retrieving revision 1.4
diff -u -r1.4 ptr_to_ref.hpp
--- ptr_to_ref.hpp 13 Oct 2004 18:23:20 -0000 1.4
+++ ptr_to_ref.hpp 22 Jun 2005 15:18:34 -0000
@@ -20,7 +20,9 @@
 
 
 #if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1400)) \
- || BOOST_WORKAROUND(__EDG_VERSION__, <= 245)
+ || ( BOOST_WORKAROUND(__EDG_VERSION__, <= 245) \
+ && !(defined(__STD_STRICT_ANSI) \
+ || defined(__STD_STRICT_ANSI_ERRORS)) )
 
 # define BOOST_MPL_AUX_PTR_TO_REF(X) \
     *BOOST_MPL_AUX_STATIC_CAST(X*, 0) \


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk