Boost C++ Libraries: Ticket #9417: Boost 1.55.0 doesn't compile on icc13 with c++11 https://svn.boost.org/trac10/ticket/9417 <p> I get the following compile error when building boost with icc13 with c++11 : </p> <blockquote> <p> "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 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/453" title="#453: Bugs: polymorphic i/o archives and stl containers problem (closed: Fixed)">#453</a>: 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 </p> <blockquote> <p> singleton() {} </p> <blockquote> <p> <sup> </sup></p> </blockquote> <p> detected during instantiation of "boost::unit_test::singleton&lt;Derived&gt;::singleton() [with Derived=boost::unit_test::unit_test_log_t]" at line 131 of "./boost/test/unit_test_log.hpp" </p> </blockquote> </blockquote> <p> Applying this patch (<a class="ext-link" href="http://lists.boost.org/boost-commit/2013/08/47074.php"><span class="icon">​</span>http://lists.boost.org/boost-commit/2013/08/47074.php</a>), I subsequently get this error : </p> <p> $ "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" </p> <blockquote> <p> ./boost/test/unit_test_log.hpp(131): error <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/453" title="#453: Bugs: polymorphic i/o archives and stl containers problem (closed: Fixed)">#453</a>: protected function "boost::unit_test::singleton&lt;Derived&gt;::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&lt;boost::unit_test::unit_test_log_t&gt;" pointer or object </p> <blockquote> <p> BOOST_TEST_SINGLETON_CONS( unit_test_log_t ); <sup> </sup></p> </blockquote> </blockquote> <p> I'm building on rhel5 with gcc47 from devtoolset1.1. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9417 Trac 1.4.3 Richard Geary <richardg.work@…> Tue, 26 Nov 2013 19:57:11 GMT <link>https://svn.boost.org/trac10/ticket/9417#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9417#comment:1</guid> <description> <p> Update : I see that the 1.55.0 release notes specify support for ICC 13.0.1, but for other compilers they explicitly state they support c++11. </p> <p> Does this mean that boost 1.55.0 is explicitly not supported for icc with c++11? ICC 14.0.1's C++11 support is much improved on icc 13.1.1. Will this be supported in the next version? </p> <p> Thanks! </p> </description> <category>Ticket</category> </item> <item> <author>Richard Geary <richardg.work@…></author> <pubDate>Fri, 13 Dec 2013 17:19:07 GMT</pubDate> <title>severity changed; cc, keywords set https://svn.boost.org/trac10/ticket/9417#comment:2 https://svn.boost.org/trac10/ticket/9417#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">richardg.work@…</span> added </li> <li><strong>keywords</strong> c++11 icc added </li> <li><strong>severity</strong> <span class="trac-field-old">Problem</span> → <span class="trac-field-new">Showstopper</span> </li> </ul> <p> For the thread : </p> <p> Boost 1.55.0 builds with these configurations : icc 13.1.1 c++03, icc 14.0.1 c++03, icc 14.0.1 c++11 </p> <p> Boost 1.55.0 does not build with : icc 13.1.1 c++11 </p> Ticket viboes Fri, 13 Dec 2013 20:21:32 GMT <link>https://svn.boost.org/trac10/ticket/9417#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9417#comment:3</guid> <description> <p> Could you try this </p> <pre class="wiki">singleton() : noncopyable() {} </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Sun, 15 Dec 2013 17:33:42 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9417#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9417#comment:4</guid> <description> <p> Thanks, this fixed it. There are a lot of other classes in boost which inherit from noncopyable, and this fix needs to be made for each class. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Mon, 16 Dec 2013 11:27:48 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/9417#comment:5 https://svn.boost.org/trac10/ticket/9417#comment:5 <ul> <li><strong>owner</strong> set to <span class="trac-author">Gennadiy Rozental</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">test</span> </li> </ul> <p> Please create a ticket for each library. </p> Ticket Gennadiy Rozental Tue, 07 Jul 2015 21:09:40 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/9417#comment:6 https://svn.boost.org/trac10/ticket/9417#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">obsolete</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.59.0</span> </li> </ul> <p> Please resubmit for most recent develop state, if this is outstanding </p> Ticket