Boost logo

Boost :

From: Alex Besogonov (cyberax_at_[hidden])
Date: 2005-12-10 07:51:41

Good <time-of-day>!

GCC4.1.0 fails to compile Boost.Test with -fprofile-arcs or
-ftest-coverage compiler options. I've traced compiler error to "void
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:
i/ undefined
reference to `global constructors keyed to

Has anybody encountered this problem?

PS: Is there any interest for GCOV (GNU Coverage tool) support in
Boost.Build v2 for test coverage analysis?

With respect,
             Alex Besogonov (cyberax_at_[hidden])

Boost list run by bdawes at, gregod at, cpdaniel at, john at