boost 1.38 to 1.42 upgrade problem

Hello,
I'm using successfully boost library (interprocess part mainly) since a
long time (ver 1.38)
But when I try to upgrade to newer version (any version higher than
1.38), compilation is failing (using VC++ express 2008)...
here is the error msg from compiler :
d:\svn\fbistudio\dep\boost_latest\boost/preprocessor/iteration/detail/lo
cal.hpp(37) : error C2664:
'helpdesk::objects::shm::shared_data::shared_data(helpdesk::objects::shm
::sharedmemory_type &) throw()' : cannot convert parameter 1 from 'const
helpdesk::objects::shm::sharedmemory_type' to
'helpdesk::objects::shm::sharedmemory_type &'
1> Conversion loses qualifiers
1>
d:\svn\fbistudio\dep\boost_latest\boost/preprocessor/iteration/detail/lo
cal.hpp(37) : while compiling class template member function 'void
boost::interprocess::detail::Ctor1Arg

AMDG DE COCK Gregory wrote:
I'm using successfully boost library (interprocess part mainly) since a long time (ver 1.38) But when I try to upgrade to newer version (any version higher than 1.38), compilation is failing (using VC++ express 2008)... here is the error msg from compiler :
d:\svn\fbistudio\dep\boost_latest\boost/preprocessor/iteration/detail/lo cal.hpp(37) : error C2664: 'helpdesk::objects::shm::shared_data::shared_data(helpdesk::objects::shm ::sharedmemory_type &) throw()' : cannot convert parameter 1 from 'const helpdesk::objects::shm::sharedmemory_type' to 'helpdesk::objects::shm::sharedmemory_type &' 1> Conversion loses qualifiers 1> <snip>
The constructor argument forwarding appears to be inconsistent with comments. It might work if you used boost::ref. In Christ, Steven Watanabe
participants (2)
-
DE COCK Gregory
-
Steven Watanabe