[Boost-bugs] [Boost C++ Libraries] #8325: Boost test compilation issue on Solaris 10

Subject: [Boost-bugs] [Boost C++ Libraries] #8325: Boost test compilation issue on Solaris 10
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-22 15:32:28


#8325: Boost test compilation issue on Solaris 10
---------------------------------------------------+------------------------
 Reporter: nicolas.jouvray@… | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
---------------------------------------------------+------------------------
 We have some issues compiling Boost test on Solaris 10. We are stucked on
 ''not'' using the stl port. Previously Boost test compilation was fine
 with BOOST_TEST_SUPPORT_RUN_BY_NAME disabled.

 We just tried to build the trunk version and we ran into the following
 problems with BOOST_TEST_SUPPORT_TOKEN_ITERATOR disabled :
 - boost/test/impl/decorator.ipp : it seems there is a missing namespace
 here

 {{{
 throw framework::setup_error( "depends_on decorator is not supported on
 this platform" );
 }}}

 - error in the following file

 {{{
  "CC" -xO4 -mt -erroff=%none -m32 -KPIC -DBOOST_ALL_NO_LIB=1
 -DBOOST_TEST_DYN_LINK=1 -DNDEBUG -I"." -c -o
 "bin.v2/libs/test/build/sun/release/address-model-32/threading-
 multi/framework.o" "libs/test/src/framework.cpp"

 ...failed sun.compile.c++ bin.v2/libs/test/build/sun/release/address-
 model-32/threading-multi/framework.o...
 ...skipped <pbin.v2/libs/test/build/sun/release/address-model-32
 /threading-multi>libboost_unit_test_framework-sw-mt-1_54.so.1.54.0 for
 lack of <pbin.v2/libs/test/build/sun/release/address-model-32/threading-
 multi>framework.o...
 ...skipped <p/tao/prog/ext/boost/boost_svn/Solaris5.10/lib32
>libboost_unit_test_framework-sw-mt-1_54.so.1.54.0 for lack of
 <pbin.v2/libs/test/build/sun/release/address-model-32/threading-multi
>libboost_unit_test_framework-sw-mt-1_54.so.1.54.0...
 ...skipped <p/tao/prog/ext/boost/boost_svn/Solaris5.10/lib32
>libboost_unit_test_framework-sw-mt-1_54.so for lack of
 <p/tao/prog/ext/boost/boost_svn/Solaris5.10/lib32
>libboost_unit_test_framework-sw-mt-1_54.so.1.54.0...
 sun.compile.c++ bin.v2/libs/test/build/sun/release/address-model-32/link-
 static/threading-multi/framework.o
 "./boost/test/results_collector.hpp", line 100: Warning:
 boost::unit_test::results_collector_t::assertion_result hides the virtual
 function boost::unit_test::test_observer::assertion_result(bool).
 "./boost/test/tree/test_case_counter.hpp", line 46: Warning:
 boost::unit_test::test_case_counter::visit hides the virtual function
 boost::unit_test::test_tree_visitor::visit(const
 boost::unit_test::test_unit&).
 "./boost/test/impl/framework.ipp", line 174: Error: Formal argument x of
 type const std::pair<unsigned long, bool>& in call to
 std::list<std::pair<unsigned long, bool> >::push_back(const
 std::pair<unsigned long, bool>&) is being passed
 std::pair<boost::unit_test::test_unit::readonly_property63, bool>.
 "./boost/test/impl/framework.ipp", line 184: Error: Formal argument x of
 type const std::pair<unsigned long, bool>& in call to
 std::list<std::pair<unsigned long, bool> >::push_back(const
 std::pair<unsigned long, bool>&) is being passed
 std::pair<boost::unit_test::test_unit::readonly_property63, bool>.
 "./boost/test/impl/framework.ipp", line 200: Warning:
 boost::unit_test::ut_detail::name_filter::visit hides the virtual function
 boost::unit_test::test_tree_visitor::visit(const
 boost::unit_test::test_unit&).
 "./boost/test/impl/framework.ipp", line 219: Error: Formal argument x of
 type const std::pair<unsigned long, bool>& in call to
 std::list<std::pair<unsigned long, bool> >::push_back(const
 std::pair<unsigned long, bool>&) is being passed
 std::pair<boost::unit_test::test_unit::readonly_property63, bool>.
 "./boost/test/impl/framework.ipp", line 229: Warning:
 boost::unit_test::ut_detail::label_filter::visit hides the virtual
 function boost::unit_test::test_tree_visitor::visit(const
 boost::unit_test::test_case&).
 "./boost/test/impl/framework.ipp", line 258: Warning:
 boost::unit_test::ut_detail::change_status::visit hides the virtual
 function boost::unit_test::test_tree_visitor::visit(const
 boost::unit_test::test_case&).
 "./boost/test/impl/framework.ipp", line 314: Warning:
 boost::unit_test::ut_detail::remove_disabled::visit hides the virtual
 function boost::unit_test::test_tree_visitor::visit(const
 boost::unit_test::test_case&).
 "./boost/test/impl/framework.ipp", line 479: Warning:
 boost::unit_test::framework_impl::visit hides the virtual function
 boost::unit_test::test_tree_visitor::visit(const
 boost::unit_test::test_unit&).
 "./boost/test/impl/framework.ipp", line 571: Error: Formal argument x of
 type const std::pair<unsigned long, bool>& in call to
 std::list<std::pair<unsigned long, bool> >::push_back(const
 std::pair<unsigned long, bool>&) is being passed
 std::pair<boost::unit_test::test_unit::readonly_property64, bool>.
 "./boost/test/impl/framework.ipp", line 596: Error: Formal argument x of
 type const std::pair<unsigned long, bool>& in call to
 std::list<std::pair<unsigned long, bool> >::push_back(const
 std::pair<unsigned long, bool>&) is being passed
 std::pair<boost::unit_test::test_unit::readonly_property63, bool>.
 "./boost/test/impl/framework.ipp", line 603: Warning:
 collect_disabled::visit hides the virtual function
 boost::unit_test::test_tree_visitor::visit(const
 boost::unit_test::test_case&).
 "./boost/test/impl/framework.ipp", line 692: Warning:
 apply_decorators::visit hides the virtual function
 boost::unit_test::test_tree_visitor::visit(const
 boost::unit_test::test_case&).
 5 Error(s) and 9 Warning(s) detected.
 }}}

 Would it be possible to fix this ?

 Regards

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8325>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC