Subject: Re: [boost] [scope_exit] trunk tests fail on sun compiler
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-04-02 18:13:54


Le 02/04/12 22:21, lcaminiti a écrit :
> lcaminiti wrote
>> Next I'll either be able to fix these errors or mark the Sun tests n/a.
>>
> Good news :) it seems that ScopeExit compiles on Sun (after I've replaced
> Boost.Test with Boost.Detail/LightweightTest as Vicente suggested).
>
> One issue however it that Boost.Typeof does not automatically detect Sun as
> not having native type-of so BOOST_TYPEOF_EMULATION must be explicitly
> defined by the user to compile ScopeExit code. But once that's done, most
> (I'm still double checking if all) tests seems to compile. I will mark the
> ScopeExit failures on Sun as "must use type-of emulation mode (by defining
> the BOOST_TYPEOF_EMULATION macro)".
>
>
What about forcing BOOST_TYPEOF_EMULATION with Sun compiler?

Boost.Chrono adds this to the Jamfile project requirements

<toolset>sun:<define>BOOST_TYPEOF_EMULATION

Maybe I should add it to the config.hpp file in addition to document the
restriction.

Best,
Vicente