RE: [boost] Re: patch: BOOST_AUTO_UNIT_TEST in auto_unit_test.hpp

2003-03-26 Thread Rozental, Gennadiy
> In your original e-mail, you asked for a solution to the > multiple function > definition error. Wouldn't using a mechanism similar to > cpp_main work? Ie, put > the init_unit_test_suite() definition in a CPP file that only > gets included > once, such as: > > #include > > Which in turn inc

[boost] Re: patch: BOOST_AUTO_UNIT_TEST in auto_unit_test.hpp

2003-03-26 Thread Convector Editor
I took a look at the auto_unit_test.hpp source code. I believe that we are both correct. The GCC "#pragma interface" feature lets it all work for me. I have a pretty good idea how, but that is outside the scope of this thread. Rest assured, I use BOOST_AUTO_UNIT_TEST across a dozen source files in

[boost] Re: patch: BOOST_AUTO_UNIT_TEST in auto_unit_test.hpp

2003-03-25 Thread Gennadiy Rozental
> Hmmm. It works for me. I'm using BOOST_AUTO_UNIT_TEST across several of my > source files without name collisions (after my patch). I'm also using the GCC > "#pragma interface" feature, which might make a difference. Pardon my > ignorance, since I'm not very familiar with the auto unit test imple