Building Boost 1.55 for Visual Studio 2013

1.8k views Asked by At

While building Boost 1.55 for vs2013 (vc120) my serialization library was skipped due to following error:

../transform_width.hpp(151) : error C3861: 'min': indentifier not found

I solved this by including the algorithm header in transform_width.hpp:

#include <algorithm>

I figured that was the issue because std::min is used at line 151:

unsigned int i = std::min(missing_bits, m_remaining_bits);

Is this a known issue? Is there another solution to this issue (one that doesn't require changes in boost)?

0

There are 0 answers