Boost logo

Boost :

From: Chris Little (cslittle_at_[hidden])
Date: 2001-12-03 15:34:11


> -----Original Message-----
> From: Vesa Karvonen [mailto:vesa.karvonen_at_[hidden]]
> Sent: Monday, December 03, 2001 2:41 PM
> To: boost_at_[hidden]
> Subject: [boost] Preprocessor workaround for CodeWarrior
>
>
> Hi,
>
> Could someone with access to CodeWarrior (7.0) (PC &| Mac)
> compiler try the following workaround. I have access to
> "CodeWarrior for Palm OS Platform 7.0", but I do not have
> access to other versions. I know that it invokes undefined
> behaviour, but it is simple and it seems to work on that
> particular compiler.
>
> Change line 49 of boost\preprocessor\tuple.hpp to:
>
> #define BOOST_PREPROCESSOR_TUPLE_ELEM_DELAY(N,I,T)\
> BOOST_PREPROCESSOR_TUPLE##N##_ELEM##I##T
>
> Regards,
> Vesa Karvonen

With this change preprocessor_test.cpp compiles and runs fine under CWP 7 on
PC. I will try in on my Mac later.

Chris



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