Opened 10 years ago
Closed 10 years ago
#7103 closed Bugs (fixed)
boost/container/string.hpp missing #include <boost/functional/hash.hpp>
Reported by: | Owned by: | Ion Gaztañaga | |
---|---|---|---|
Milestone: | To Be Determined | Component: | container |
Version: | Boost 1.48.0 | Severity: | Problem |
Keywords: | Cc: |
Description
string.hpp references hash_range but hash.hpp is not included leading to compile failure.
adding:
#include <boost/functional/hash.hpp>
to boost/container/string.hpp resolves this issue.
Platform: Fedora 17 gcc: 4.7 boost: 1.48
Change History (2)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks for the report, fixed in trunk at revision 79423
Note:
See TracTickets
for help on using tickets.
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]