Boost logo

Boost :

From: Marshall Clow (marshall_at_[hidden])
Date: 2003-10-06 14:27:22


Mat Marcus wrote:
>Building a mac based sample project and including function.hpp seems
>to show up some problems with the boost 1.30.0 function.hpp'sand/or
>the PP lib when used with CW 9. Has anyone worked out the required
>patches yet? Below are some of the illegal token pasting errors.

Mat -

This was discussed last month on the boost-users list. (thread
started on 02-Sep,
if you want to follow it).

It will be fixed in the next boost release

In the short term, you can either:
        Get the file "boost/mpl/aux_/config/preprocessor.hpp" from CVS,
or edit it yourself:

>#if defined(__MWERKS__) && (__MWERKS__ <= 0x3003 ||
>!defined(BOOST_STRICT_CONFIG)) \
>
>line needs to become
>
>#if defined(__MWERKS__) && __MWERKS__ <= 0x3003 \

and define

#define BOOST_PP_CONFIG_FLAGS() BOOST_PP_CONFIG_STRICT()

-- 
-- Marshall
Marshall Clow     Idio Software   <mailto:marshall_at_[hidden]>
Hey! Who messed with my anti-paranoia shot?

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