Modify

Ticket #9421 (closed Bugs: fixed)

Opened 21 months ago

Last modified 19 months ago

VC2013 build error /boost/archive/iterators/transform_width.hpp

Reported by: anonymous Owned by: ramey
Milestone: To Be Determined Component: serialization
Version: Boost 1.55.0 Severity: Problem
Keywords: std::min Cc:

Description (last modified by viboes) (diff)

vc2013 build boost1.55 error:undefined std::min vc2013 std::min in file<algorithm> not in file<xutility> can this:

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
#include <xutility>
//add------
#if defined(_MSC_VER) && (_MSC_VER >= 1800)
#include <algorithm>
#endif

Attachments

transform_width.hpp Download (5.6 KB) - added by anonymous 21 months ago.
patch

Change History

Changed 21 months ago by anonymous

patch

comment:1 Changed 21 months ago by viboes

  • Owner set to ramey
  • Component changed from None to serialization
  • Description modified (diff)

comment:2 Changed 19 months ago by ramey

I"m not getting this

according to my info std::min is defined in <algorithm>

Perhaps this should be ?:

#if defined(_MSC_VER) && (_MSC_VER < 1800)
#include <xutility>
##else
#include <algorithm>
#endif}}}

comment:3 Changed 19 months ago by ramey

  • Status changed from new to closed
  • Resolution set to fixed

I couldn't find any problem in the history.

In any case now it's just:

#include <algorithm> // std::min

now. so I'm going to close this.

Robert Ramey

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.