Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Test - problems overriding main
From: ramonpadilla1_at_[hidden]
Date: 2015-09-10 05:07:36


>________________________________
> From: Gennadiy Rozental <rogeeff_at_[hidden]>
>To: boost-users_at_[hidden]
>Sent: Monday, 7 September 2015, 6:39
>Subject: Re: [Boost-users] Boost.Test - problems overriding main
>
>
><ramonpadilla1 <at> yahoo.co.uk> writes:
>
>> >This is because your library was built without
>BOOST_TEST_ALTERNATIVE_INIT_API.
>>
>> Having looked at the documentation, it suggests that I
>> only need to build the library with
>> BOOST_TEST_NO_MAIN if I want to supply my own main. Why do
>> I also need to also build with BOOST_TEST_ALTERNATIVE_INIT_API?
>
>Why did you specify it in your test module?
>
>The value of this macro should be the same both during library build and

>when you build test module.

OK. I get it now thanks.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net