Boost logo

Boost :

From: Russell Yanofsky (rey4_at_[hidden])
Date: 2002-12-21 02:01:24


A preprocessor bug in codewarrior 8.3 causes various parts of the mpl
library to fail to compile. There was already a workaround in place, but
it was disabled for the latest compiler version. A patch which fixes the
problem is below.

- Russ

Index: aux_/preprocessor/sub.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/mpl/aux_/preprocessor/sub.hpp,v
retrieving revision 1.1.2.2
diff -u -r1.1.2.2 sub.hpp
--- aux_/preprocessor/sub.hpp 13 Sep 2002 05:29:28 -0000 1.1.2.2
+++ aux_/preprocessor/sub.hpp 21 Dec 2002 06:50:48 -0000
@@ -19,7 +19,7 @@
 
 #include "boost/mpl/aux_/preprocessor/tuple.hpp"
 
-#if !defined(__MWERKS__) || __MWERKS__ > 0x3002
+#if !defined(__MWERKS__) || __MWERKS__ > 0x3003
 # define BOOST_MPL_PP_SUB(i,j) \
     BOOST_MPL_PP_SUB_DELAY(i,j)


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