
On Aug 17, 2012, at 11:04 AM, Daniela Engert <dani@ngrt.de> wrote:
Am 17.08.2012 14:54, schrieb Tom Kent:
Built 32 and 64 bit binaries on windows 7-32 in vc8, vc9, vc10. Links and runs with a sample program on Win7-32 and Win7-64.
I've successfully built 32 and 64 bit binaries on win7 with vc10 and vc11 - with one small exception, though: boost::signals fails to build with vc11. Applying this tiny patch keeps vc11 happy and passes the tests just fine.
Ciao, Dani
Index: boost/signals/detail/named_slot_map.hpp =================================================================== --- boost/signals/detail/named_slot_map.hpp (boost-1_51_0-rc) +++ boost/signals/detail/named_slot_map.hpp (mine) @@ -126,7 +126,7 @@ || slot_ == other.slot_)); }
-#if BOOST_WORKAROUND(_MSC_VER, <= 1600) +#if BOOST_WORKAROUND(_MSC_VER, <= 1700) void decrement(); void advance(difference_type); #endif Index: libs/signals/src/named_slot_map.cpp =================================================================== --- libs/signals/src/named_slot_map.cpp (boost-1_51_0-rc) +++ libs/signals/src/named_slot_map.cpp (mine) @@ -24,7 +24,7 @@ typedef slot_container_type::const_iterator const_group_iterator;
-#if BOOST_WORKAROUND(_MSC_VER, <= 1600) +#if BOOST_WORKAROUND(_MSC_VER, <= 1700) void named_slot_map_iterator::decrement() { assert(false); } void named_slot_map_iterator::advance(difference_type) { assert(false); } #endif
Patch applied to trunk in revision 80079. Thanks! -- Marshall Marshall Clow Idio Software <mailto:mclow.lists@gmail.com> A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki