Boost logo

Boost :

Subject: Re: [boost] [1.51.0] release candidates available
From: Daniela Engert (dani_at_[hidden])
Date: 2012-08-17 14:04:53


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk