Boost logo

Boost Users :

Subject: Re: [Boost-users] VS2010+boost 1.44 - error in move.hpp
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2011-04-01 05:59:59


El 01/04/2011 0:56, archie14 escribió:
> While compiling the project in VS2010 previously built without errors in
> VS2008 I am getting following error:
>
> c:\libraries\boost\boost_1_44_0\boost\interprocess\detail\move.hpp(342): error
> C2440: 'return' : cannot convert from 'boost::interprocess::file_mapping'
> to 'boost::interprocess::file_mapping&&'
> You cannot bind an lvalue to an rvalue reference
> c:\libraries\boost\boost_1_44_0\boost\interprocess\file_mapping.hpp
> (62) : see reference to function template
> instantiation 'boost::interprocess::file_mapping
> &&boost::interprocess::move<boost::interprocess::file_mapping&>(T)' being
> compiled
> with
> [
> T=boost::interprocess::file_mapping&
> ]
>
>
> I tried to search the forum for the reports on this error and did not find
> anything.
>
> I'll appreciate any help in this matter.

Update your interprocess code. This bug should be solved now.

Ion


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