26 มี.ค. 2557

Build boost 1.55 (shared) VS2013 fix

1.change BOOST_WORKAROUND(_MSC_VER, <= 1700) to BOOST_WORKAROUND(_MSC_VER, <= 1800) in named_slot_map.cpp and named_slot_map.hpp to successfully compile under msvc-12.0

2.
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"


b2.exe -j8 toolset=msvc-13.0 variant=debug,release link=shared threading=multi runtime-link=shared

http://www.swganh.com/anh_community/viewtopic.php?f=71&t=1412

https://svn.boost.org/trac/boost/ticket/1499