Boost logo

Boost Users :

Subject: Re: [Boost-users] [Signals2] Error on building project RELEASE
From: Frank Mori Hess (fmhess_at_[hidden])
Date: 2009-04-27 09:15:44


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<T,n_stack_elements>::stack_all
>ocator(boost::signals2::detail::stack_storage<T,10> *)' : cannot convert
> parameter 1 from
> 'boost::signals2::detail::stack_allocator<T,n_stack_elements>' to
> 'boost::signals2::detail::stack_storage<T,n_stack_elements> *'

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




Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net