[boost] [test] Need help with BOOST_GLOBAL_FIXTURE usage

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

"Ed Johnson"
Hi,
I tried to use the BOOST_GLOBAL_FIXTURE macro using 1.33.1, but I
I don't think 1.33.1 contains this feature. It shouldn't compile at all. Try cvs version. Gennadiy
participants (2)
-
Ed Johnson
-
Gennadiy Rozental