Login  Register

Re: BOOST_MESSAGE undefined

Posted by Luigi Ballabio on Mar 04, 2013; 9:38am
URL: http://quantlib.414.s1.nabble.com/BOOST-MESSAGE-undefined-tp14086p14087.html

Hello,
    I'll copy the answer that I just gave you on Stack Overflow:

I'm afraid you gave us more credit than we deserved :)

We haven't compiled QuantLib against Boost svn yet. The latest I've
tried is Boost 1.53 (the latest released version) in which
BOOST_MESSAGE was still available.

Thanks for the heads-up, though. I'll patch the library so that it's
ready for next version. As mentioned in the comments, it should be as
simple as adding

#if BOOST_VERSION > 105300
#define BOOST_MESSAGE(msg) BOOST_TEST_MESSAGE(msg)
#endif

to test-suite/utilities.hpp.

Luigi


On Mon, Mar 4, 2013 at 10:23 AM, cf16-2 <[hidden email]> wrote:

>
> I have just installed boost_1_54 by checkout from svn and then
>
> bootstrap
> .\b2
>
> it compiles well all but one project: test-suite which uses BOOST_MESSAGE.
> this is undefined. I see that there is no BOOST_MESSAGE in my version of
> boost. is this QuantLib incompatibility or I've missed something? on my
> linux boost version the same thing applies to BOOST_MESSAGE - it is
> undefined
>
> I have seen that this is now deprecated
> http://www.boost.org/doc/libs/1_34_0/libs/test/doc/components/test_tools/reference/deprecated.html
>
> shouldn't we do #define BOOST_MESSAGE(msg) BOOST_TEST_MESSAGE(msg)
> or have I just missed something?
> the same with BOOST_ERROR
>
> regards,
> cf16
>
>
>
>
>
> --
> View this message in context: http://quantlib.10058.n7.nabble.com/BOOST-MESSAGE-undefined-tp14086.html
> Sent from the quantlib-dev mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> QuantLib-dev mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev