Boost logo

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

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)
# define Assert(x) do{}while(0)

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, kalb at, bjorn.karlsson at, gregod at, wekempf at