Boost C++ Libraries: Ticket #1982: BOOST_HAS_SLIST assumed when using STLport https://svn.boost.org/trac10/ticket/1982 <p> The &lt;boost/config/stdlib/stlport.hpp&gt; header file contains the following lines which assumes that if you are using STLport then the slist type is available:- </p> <p> <em> </em> We always have SGI style hash_set, hash_map, and slist: <em> #define BOOST_HAS_HASH #define BOOST_HAS_SLIST </em></p> <p> However, if you have configured STLport to disable extensions (e.g. for portability) with the _STLP_NO_EXTENSIONS config setting in &lt;stlport\stl\config\user_config.h&gt; then you receive the following error under VC++ 8.0, when including for example, &lt;boost/algorithm/string.hpp&gt;, </p> <p> ...\STLport-5.1.5\stlport\slist(31) : fatal error C1189: #error : The slist class is an STLport extension. </p> <p> I presume the following is all that is required to fix this:- </p> <p> #if !defined(_STLP_NO_EXTENSIONS) # define BOOST_HAS_HASH # define BOOST_HAS_SLIST #endif </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1982 Trac 1.4.3 John Maddock Mon, 02 Jun 2008 15:15:43 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1982#comment:1 https://svn.boost.org/trac10/ticket/1982#comment:1 <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">fixed</span> </li> </ul> <p> Confirmed, patch applied. </p> Ticket