
"Dave Jenkins" <david@jenkins.net> wrote in message news:fivsn4$vr8$1@ger.gmane.org...
If it compiles it should work fine. The exception is implemented in the library.
Oops, maybe I should have compiled the library with /clr too.
Anyway, here is an example command line and program to duplicate the problem under msvc-8.0: Thanks, Dave Jenkins
cl /clr test_1.cpp -I%BOOST_ROOT% /link libboost_unit_test_framework-vc80-mt-1_35.lib /ENTRY:main
// test_1.cpp #include <boost/test/unit_test.hpp> // #include <boost/test/execution_monitor.hpp> void test1() {} using namespace boost::unit_test; test_suite* init_unit_test_suite( int argc, char* argv[] ) { test_suite *test = BOOST_TEST_SUITE("test1"); test->add(BOOST_TEST_CASE(&test1)); return test; }
I have no problems compiling and linking this example with regular options. I know very little about CLR, but I would guess library and executable compilation options should coincide. Gennadiy