
3 May
2006
3 May
'06
11:39 p.m.
Hi, I tried to use the BOOST_GLOBAL_FIXTURE macro using 1.33.1, but I can't seem to get it to run. The breakpoints do not stop on it, and there is no output from the constructor or destructor. http://lists.boost.org/Archives/boost/2005/12/98092.php ------ #define BOOST_AUTO_TEST_MAIN #include <iostream> struct MyConfig { MyConfig() { std::cout << "global setup\n"; } ~MyConfig() { std::cout << "global teardown\n"; } }; BOOST_GLOBAL_FIXTURE( MyConfig ) ; BOOST_GLOBAL_FIXTURE( MyConfig m ) { m; } Any ideas? Thanks, Ed