Ticket #7103 (closed Bugs: fixed)

Opened 5 years ago

Last modified 5 years ago

boost/container/string.hpp missing #include <boost/functional/hash.hpp>

Reported by: Vijay Rao <vijay@…> Owned by: igaztanaga
Milestone: To Be Determined Component: container
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc:


string.hpp references hash_range but hash.hpp is not included leading to compile failure.


#include <boost/functional/hash.hpp>

to boost/container/string.hpp resolves this issue.

Platform: Fedora 17 gcc: 4.7 boost: 1.48


Change History

comment:1 Changed 5 years ago by Vijay Rao <vijay@…>

Actual error message from gcc 4.7:

/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]

comment:2 Changed 5 years ago by igaztanaga

  • Status changed from new to closed
  • Resolution set to fixed

Thanks for the report, fixed in trunk at revision 79423


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.