id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3436,Code miscompilation with MSVC 7.1,Andrey Semashev,Gennadiy Rozental,"While trying to compile Boost.Test 1.40 with MSVC 7.1 into a shared library I found out that the library crashed during initialization. Apparently, the crash was because of the broken code compilation in the library. The problem is that the typed_parameter< ... >::accept_modifier method is called on invalid this pointer. It looks like MSVC 7.1 has a hard time in compiling operator<< and operator- when it accepts shared_ptr by value. When I changed the operators to accept const references everything worked fine. Please find the patch attached. It may also be useful to speed up test startup, aside for the MSVC 7.1 cure. ",Bugs,closed,Boost 1.41.0,test,Boost 1.40.0,Problem,worksforme,msvc,