static library link (unit test) to msvc 2008

12 Oct
2008
12 Oct
'08
8:11 p.m.
Hi, I managed to make the static library work on msvc. some notes: 1.The compiler throws many exeptions on enable_if.hpp , although I had just included <unit_test.hpp>. As a work-around (hack?) #define BOOST_UTILITY_ENABLE_IF_HPP was used before inclusion. 2.The simple tests apparently works but I dont know how to manage dynamic ones (asserts) ; currently ( assert(x)-->Assert(x) ): #ifdef TEST_MODE # define Assert(x) BOOST_CHECK(x) #else # define Assert(x) do{}while(0) #endif There are some strange run time errors which debugging doesnt lead to exact code. Now any comments on these ? :)
6084
Age (days ago)
6084
Last active (days ago)
0 comments
1 participants
participants (1)
-
Boost fan