Boost logo

Boost Users :

Subject: Re: [Boost-users] boost 1.38 to 1.42 upgrade problem
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-04-09 12:12:37


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


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