10 Sep
2015
10 Sep
'15
9:07 a.m.
________________________________ From: Gennadiy Rozental
To: boost-users@lists.boost.org Sent: Monday, 7 September 2015, 6:39 Subject: Re: [Boost-users] Boost.Test - problems overriding main
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.