|
Boost Users : |
Subject: [Boost-users] static library link (unit test) to msvc 2008
From: Boost fan (atorrses_at_[hidden])
Date: 2008-10-12 16:11:06
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 ?
:)
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