Subject: Re: [boost] [phoenix] not playing nice with other libs
From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2011-05-03 04:10:31


Jeffrey Lee Hellrung, Jr. wrote:
> I'm guessing it was probably a documented default setting in v2, hence
> I'm guessing this is an effort to maximize backward compatibility.
>
> I can think of 2 reasonable and safe things:
> - #error if the preprocessor constants from other libraries aren't
> satisfactory (as already suggested); or

Sounds a bit inconvenient for the user, but maybe I just misunderstood.

> - define the default Boost.Phoenix preprocessor constants in terms of the
> other Boost library preprocessor constants, and warn about the backward
> incompatibility in the documentation.

Sounds fine to me, but that doesn't mean much. It depends a bit on how easy the user can fix this himself when he is aware of it, and the impact on compile time.

Regards,
Thomas