Boost logo

Boost :

From: Vesa Karvonen (vesa.karvonen_at_[hidden])
Date: 2001-12-05 11:52:43


Thanks Mat and Chris! I'll commit the workaround, so that CW users can use the
preprocessor library. I don't have much resources for testing it on CW, but
hopefully people report any problems they encounter.

-Vesa

From: "Mat Marcus" <mmarcus_at_[hidden]>
> It works on CW 7.0 Mac.
>
> - Mat
>
>
> At 1:18 PM +0200 12/4/01, Vesa Karvonen wrote:
> >Thanks!
> >
> >Any results on the Mac CW? What about other versions?
> >
> >If the workaround works on all CW versions (I'd assume that they use
> >the same preprocessor code on every compiler), I'll commit this
> >change to the tuple header:
> >
> >diff -r1.2 tuple.hpp
> >49c49,55
> >< #define BOOST_PREPROCESSOR_TUPLE_ELEM_DELAY(N,I,T)
> >BOOST_PREPROCESSOR_IDENTITY(BOOST_PREPROCESSOR_TUPLE##N##_ELEM##I
> >T)()
> >---
> >> #if defined(__MWERKS__) && __MWERKS__ <= 0x2405
> >> // This is a workaround for a CodeWarrior preprocessor bug.
> >>Strictly speaking
> >> // this workaround invokes undefined behavior, but it works as desired.
> >> # define BOOST_PREPROCESSOR_TUPLE_ELEM_DELAY(N,I,T)
> >>BOOST_PREPROCESSOR_TUPLE##N##_ELEM##I##T
> >> #else
> >> # define BOOST_PREPROCESSOR_TUPLE_ELEM_DELAY(N,I,T)
> >>BOOST_PREPROCESSOR_IDENTITY(BOOST_PREPROCESSOR_TUPLE##N##_ELEM##I
> >>T)()
> > > #endif
> >
>
> --
>
> Info: http://www.boost.org Send unsubscribe requests to:
<mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>


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