[Boost-bugs] [Boost C++ Libraries] #9417: Boost 1.55.0 doesn't compile on icc13 with c++11

Subject: [Boost-bugs] [Boost C++ Libraries] #9417: Boost 1.55.0 doesn't compile on icc13 with c++11
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-20 21:31:08


#9417: Boost 1.55.0 doesn't compile on icc13 with c++11
---------------------------------------------+-----------------------------
 Reporter: Richard Geary <richardg.work@…> | Type: Bugs
   Status: new | Milestone: To Be
Component: Building Boost | Determined
 Severity: Problem | Version: Boost 1.55.0
                                             | Keywords:
---------------------------------------------+-----------------------------
 I get the following compile error when building boost with icc13 with
 c++11 :

  "icpc13" -c -xc++ -gcc-name=gcc47 -gxx-name=g++47 -w2 -inline-level=2 -O3
 -ip -pthread -std=c++11 -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o
 "/spare/local1/rgeary/boostSrc-1.55.0/build-icc13-c++11-release-
 multi/boost/bin.v2/libs/test/build/intel-linux/release/link-static
 /threading-multi/exception_safety.o" "libs/test/src/exception_safety.cpp"
  ./boost/test/utils/trivial_singleton.hpp(40): error #453: protected
 function "boost::noncopyable_::noncopyable::noncopyable()" (declared at
 line 27 of "./boost/noncopyable.hpp")
  is not accessible through a "boost::noncopyable_::noncopyable" pointer or
 object
       singleton() {}
                    ^
           detected during instantiation of
 "boost::unit_test::singleton<Derived>::singleton() [with
 Derived=boost::unit_test::unit_test_log_t]" at line 131 of
 "./boost/test/unit_test_log.hpp"


 Applying this patch (http://lists.boost.org/boost-
 commit/2013/08/47074.php), I subsequently get this error :

 $ "icpc13" -c -xc++ -gcc-name=gcc47 -gxx-name=g++47 -w2 -inline-level=2
 -O3 -ip -pthread -std=c++11 -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"." -c -o
 "/spare/local1/rgeary/boostSrc-1.55.0/build-icc13-c++11-release-
 multi/boost/bin.v2/libs/test/build/intel-linux/release/link-static
 /threading-multi/ex
 ception_safety.o" "libs/test/src/exception_safety.cpp"

   ./boost/test/unit_test_log.hpp(131): error #453: protected function
 "boost::unit_test::singleton<Derived>::singleton() [with
 Derived=boost::unit_test::unit_test_log_t]" (declared at line 42 of
 "./boost/test/utils/trivial_singleton.hpp") is not accessible through a
 "boost::unit_test::singleton<boost::unit_test::unit_test_log_t>" pointer
 or object
       BOOST_TEST_SINGLETON_CONS( unit_test_log_t );
       ^

 I'm building on rhel5 with gcc47 from devtoolset1.1.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9417>
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:14 UTC