[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

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

2003-03-25 Thread Convector Editor
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 implementatio

[boost] patch: BOOST_AUTO_UNIT_TEST in auto_unit_test.hpp

2003-03-25 Thread Convector Editor
The new (Boost 1.30.0) BOOST_AUTO_UNIT_TEST macro appends the current file line number to the generated function name. This can cause name collisions across source files. My patch appends the function name. The function name has global visibility, so it should be unique. *** auto_unit_test.hpp.o