
GCC4.1.0 fails to compile Boost.Test with -fprofile-arcs or -ftest-coverage compiler options. I've traced compiler error to "void
What these parameters do?
xml_report_formatter::test_unit_report_start( test_unit const& tu, std::ostream& ostr )" function.
GCC on Windows just fails with an ICE. GCC4.1 on Linux finishes compilation successfully but fails to link the resulting executable with erorrs like this: =============================================================== /home/cyberax/FlexIDE/libs/boost/bin.v2/libs/test/build/gcc/debug/threading-mult i/libboost_unit_test_framework-gcc-mt-d-1_33.so.1.33.0: undefined reference to `global constructors keyed to _ZN5boost9unit_test97_GLOBAL__N__home_cyberax_FlexI DE_libs_boost_libs_test_src_results_collector.cpp_00000000_75CE510517results_col lectorE' ===============================================================
Could you demangle this symbol?
PS: Is there any interest for GCOV (GNU Coverage tool) support in Boost.Build v2 for test coverage analysis?
It would be interresting. Gennadiy