Opened 9 years ago
Closed 9 years ago
#9187 closed Bugs (fixed)
basic_text_oprimitive.ipp: Solaris Studio using apache stl: need to include <algorithm>
Reported by: | Owned by: | Robert Ramey | |
---|---|---|---|
Milestone: | To Be Determined | Component: | serialization |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | Cc: | Brian, Vandenberg, <phantall+boost@…> |
Description
I'm building in Solaris against boost 1.54 (with a few modifications needed to get a number of things to build).
The error I get is "copy is not a member of std" when building boost/archive/impl/basic_text_oprimitive.ipp.
Adding an "#include <algorithm>" to that file eliminates the build error.
Change History (5)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Component: | Building Boost → serialization |
---|---|
Owner: | set to |
comment:3 by , 9 years ago
Hmm - on which line to you get this error? I don't find any call to std::copy in the code. I'm guessing this might be coming from some include file. In that case, THAT include file should include the <algorithm header>
This is separate from the min issue in transform_width which is a little more subtle.
comment:4 by , 9 years ago
Here's where I'm seeing them both:
boost/archive/impl/basic_text_oprimitive.ipp:60 boost/archive/iterators/transform_width.hpp:151
-Brian
comment:5 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I forgot to mention, the same sort of thing happens in boost/archive/iterators/transform_width.hpp, though it complains about the use of std::min as opposed to std::copy.