Boost C++ Libraries: Ticket #7103: boost/container/string.hpp missing #include <boost/functional/hash.hpp> https://svn.boost.org/trac10/ticket/7103 <p> string.hpp references hash_range but hash.hpp is not included leading to compile failure. </p> <p> adding: </p> <p> #include &lt;boost/functional/hash.hpp&gt; </p> <p> to boost/container/string.hpp resolves this issue. </p> <p> Platform: Fedora 17 gcc: 4.7 boost: 1.48 </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7103 Trac 1.4.3 Vijay Rao <vijay@…> Sun, 08 Jul 2012 16:37:55 GMT <link>https://svn.boost.org/trac10/ticket/7103#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7103#comment:1</guid> <description> <p> Actual error message from gcc 4.7: </p> <p> /usr/include/boost/container/string.hpp:2764:40: error: 'hash_range' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Wed, 11 Jul 2012 17:52:15 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/7103#comment:2 https://svn.boost.org/trac10/ticket/7103#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">fixed</span> </li> </ul> <p> Thanks for the report, fixed in trunk at revision 79423 </p> Ticket