Opened 5 years ago

Closed 5 years ago

Last modified 5 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 Changed 5 years ago by Frank Heimes <drfghde10@…>

Mistyped my email address

comment:2 Changed 5 years ago by viboes

Component: Noneserialization
Owner: set to Robert Ramey

comment:3 Changed 5 years ago by Robert Ramey

Resolution: fixed
Status: newclosed

added

#include <agorithm>

to transform_width.hpp

comment:4 Changed 5 years ago by CyberTech

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 Changed 5 years ago by anonymous

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

comment:6 in reply to:  5 Changed 5 years ago by anonymous

version 1.55 still have this issuse

comment:7 Changed 5 years ago by mjklaim@…

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

comment:8 in reply to:  3 Changed 5 years ago by rhylton@…

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.