#9196 closed Bugs (fixed)
boost/archive/iterators/transform_width.hpp missing definition for std::min
Reported by: | Owned by: | Robert Ramey | |
---|---|---|---|
Milestone: | To Be Determined | Component: | serialization |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | as of 24.09.2013 | Cc: |
Description
while compiling with VS 2013 RC, the following error occurs:
boost/archive/iterators/transform_width.hpp(151) : error C2039: 'min' : is not a member of 'std' boost/archive/iterators/transform_width.hpp(134) : while compiling class template member function 'void
boost::archive::iterators::transform_width<boost::archive::iterators::binary_from_base64<boost::archive::iterators::remove_whitespace<boost::archive::iterators::istr
eam_iterator<CharType>>,CharType>,8,6,CharType>::fill(void)'
Fix: Add #include <algorithm> to the four files "libs\serialization\src\basic_text_*primitive.cpp"
Is the fix for Ticket #8757 incomplete?
Change History (8)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Component: | None → serialization |
---|---|
Owner: | set to |
follow-up: 8 comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
added
#include <agorithm>
to transform_width.hpp
comment:4 by , 9 years ago
Just a reminder so this isn't missed, but since it's 13 days ago I was concerned; as of revision 86589 this fix has not been merged to branches/release.
follow-up: 6 comment:5 by , 9 years ago
Please merge to release branch, I can't compile my app against 1.54 without it!
comment:7 by , 9 years ago
I just compiled 1.55 with VS2013 release (no update) and indeed it is still a problem.
comment:8 by , 9 years ago
Replying to ramey:
added
#include <agorithm>
to transform_width.hpp
I presume you actually added #include <algorithm> (with the l). But it's not in the current download.
Mistyped my email address