Boost logo

Boost :

Subject: Re: [boost] [phoenix] not playing nice with other libs
From: Joel de Guzman (joel_at_[hidden])
Date: 2011-05-03 11:29:57


On 5/3/2011 9:16 PM, Mathias Gaunard wrote:
> On 03/05/2011 07:36, Thomas Heller wrote:
>
>> Its not just for the unit tests. Its for being API compatible with Boost.Bind
>> and backwards compatible with Phoenix V2.
>
> How about making a file
> <boost/phoenix/compatibility_limits.hpp>
>
> that redefines the values necessary to be compatible with those APIs?
>
> Then whoever needs compatibility needs to include this file explicitly.

Very good suggestion. You may also have a PP define to auto-include it:

#define BOOST_PHOENIX_V2_COMPATIBILITY

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://boost-spirit.com

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