On Monday 27 April 2009, Daniele Barzotti wrote:
I retrieved Signals2 from svn on 15/04/09.
When I build it like STATIC DEBUG lib all works fine, but when I switch to STATIC RELEASE I got two errors...
ATDispatcher.cpp C:\Programmi\Microsoft Visual Studio 9.0\VC\include\xutility(419) : error C2664: 'boost::signals2::detail::stack_allocator
::stack_all ocator(boost::signals2::detail::stack_storage *)' : cannot convert parameter 1 from 'boost::signals2::detail::stack_allocator ' to 'boost::signals2::detail::stack_storage *'
It seems msvc 9 in release mode with iterator checking turned on needs to be able to copy construct allocators from allocators with different template types. See for example: http://www.mail-archive.com/qpid-dev@incubator.apache.org/msg13891.html Would you try applying changeset 52627 from svn trunk and see if that fixes it? : https://svn.boost.org/trac/boost/changeset/52627/trunk