|
Boost Users : |
Subject: [Boost-users] VS2010+boost 1.44 - error in move.hpp
From: archie14 (admin_at_[hidden])
Date: 2011-03-31 18:56:11
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.
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