Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#9196 closed Bugs (fixed)

boost/archive/iterators/transform_width.hpp missing definition for std::min

Reported by: Frank Heimes <drfghde@…> 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 Frank Heimes <drfghde10@…>, 9 years ago

Mistyped my email address

comment:2 by viboes, 9 years ago

Component: Noneserialization
Owner: set to Robert Ramey

comment:3 by Robert Ramey, 9 years ago

Resolution: fixed
Status: newclosed

added

#include <agorithm>

to transform_width.hpp

comment:4 by CyberTech, 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.

comment:5 by anonymous, 9 years ago

Please merge to release branch, I can't compile my app against 1.54 without it!

in reply to:  5 comment:6 by anonymous, 9 years ago

version 1.55 still have this issuse

comment:7 by mjklaim@…, 9 years ago

I just compiled 1.55 with VS2013 release (no update) and indeed it is still a problem.

in reply to:  3 comment:8 by rhylton@…, 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.

Note: See TracTickets for help on using tickets.