/root/hdl/torc/src/.//torc/common/UnitTestMain.cpp: In member function 'virtual void RegressionFilter::test_suite_finish(const boost::unit_test::test_suite&)':
/root/hdl/torc/src/.//torc/common/UnitTestMain.cpp:93:16: error: 'const class boost::unit_test::test_suite' has no member named 'p_enabled'
inTestSuite.p_enabled.set(false);
^
/root/hdl/torc/src/.//torc/common/UnitTestMain.cpp: At global scope:
/root/hdl/torc/src/.//torc/common/UnitTestMain.cpp:104:46: error: invalid use of incomplete type 'class boost::unit_test::test_tree_visitor'
class DebugFilter : public boost::unit_test::test_tree_visitor {
^
In file included from /usr/include/boost/test/tree/observer.hpp:16:0,
from /usr/include/boost/test/unit_test_log.hpp:18,
from /usr/include/boost/test/tools/old/impl.hpp:19,
from /usr/include/boost/test/test_tools.hpp:46,
from /usr/include/boost/test/unit_test.hpp:18,
from /root/hdl/torc/src/.//torc/common/UnitTestMain.cpp:25:
/usr/include/boost/test/detail/fwd_decl.hpp:27:8: error: forward declaration of 'class boost::unit_test::test_tree_visito '
class test_tree_visitor;
^
/root/hdl/torc/src/.//torc/common/UnitTestMain.cpp: In member function 'virtual void DebugFilter::visit(const boost::unit_test::test_case&)':
/root/hdl/torc/src/.//torc/common/UnitTestMain.cpp:111:14: error: 'const class boost::unit_test::test_case' has no member named 'p_enabled'
inTestCase.p_enabled.set((enabled.find(inTestCase.p_name.get()) != std::string::npos));
^
/root/hdl/torc/src/.//torc/common/UnitTestMain.cpp: In constructor 'TestFixture::TestFixture()':
/root/hdl/torc/src/.//torc/common/UnitTestMain.cpp:160:4: error: 'traverse_test_tree' is not a member of 'boost::unit_tes '
boost::unit_test::traverse_test_tree(boost::unit_test::framework::master_test_suite(),
^
In file included from /usr/include/boost/config.hpp:61:0,
from /usr/include/boost/test/test_tools.hpp:17,
from /usr/include/boost/test/unit_test.hpp:18,
from /root/hdl/torc/src/.//torc/common/UnitTestMain.cpp:25:
/root/hdl/torc/src/.//torc/common/UnitTestMain.cpp: At global scope:
/root/hdl/torc/src/.//torc/common/UnitTestMain.cpp:166:1: error: expected initializer at end of input
Frankly, even making source compiled, I am not sure at this point that P&R algorithms are well done. I suspect some bug there (as usual), and more of MY time needs to be involved in sorting out stuff.
edit:
so, there are a few problems:
first, it requires lib_Boost but it's not clear WHICH? one.
When it was brutally given all-* from the repository, and it sorted out.
Not a good way to fix problems, but sources are a mess and I can't spent too much time on them.
Second, it requires to relax -Werror because the C++ code style is not well done.
I sorted out removing the flag.
Sources are compiled with C++98, which means it's a very very very old-code-style