Modify

Opened 5 years ago

Closed 5 years ago

#7103 closed Bugs (fixed)

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

Reported by: Vijay Rao <vijay@…> 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

Attachments (0)

Change History (2)

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 Ion Gaztañaga

Resolution: fixed
Status: newclosed

Thanks for the report, fixed in trunk at revision 79423

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ion Gaztañaga.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.