Boost C++ Libraries: Ticket #11221: intrusive/pointer_traits.hpp fails to compile with C++98 https://svn.boost.org/trac10/ticket/11221 <p> boost/thread.hpp eventually includes boost/intrusive/pointer_traits.hpp. This gives compile errors, eg: /Source/SmartSound_109/0_SDK/Cross/boost/include/boost/intrusive/pointer_traits.hpp:36:1: Use of undeclared identifier 'check' </p> <p> The error depends on a compile setting, (Project settings): Apple LLVM 6.0 - Language - C++ </p> <blockquote> <p> C++ Language Dialect </p> <blockquote> <p> (set to) C++ 98 [std=c++98] </p> </blockquote> </blockquote> <p> This is on Mac OS 10.9 with Xcode 6.2. I attached a sample project that fails to compile by simply including boost/thread.hpp in main.mm. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11221 Trac 1.4.3 Marc Mondesir <marcm@…> Tue, 21 Apr 2015 21:43:50 GMT <link>https://svn.boost.org/trac10/ticket/11221#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11221#comment:1</guid> <description> <p> Sorry, duplicate of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/11222" title="#11222: Bugs: intrusive/pointer_traits.hpp fails to compile with C++98 (closed: fixed)">#11222</a>. Browser hung and it double-submitted when I reloaded page. Please delete this one. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Fri, 26 Jun 2015 11:14:52 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/11221#comment:2 https://svn.boost.org/trac10/ticket/11221#comment:2 <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">duplicate</span> </li> </ul> Ticket