[Boost-bugs] [Boost C++ Libraries] #4417: boost\interprocess\file_mapping compilation errors

Subject: [Boost-bugs] [Boost C++ Libraries] #4417: boost\interprocess\file_mapping compilation errors
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-07-09 22:53:55


#4417: boost\interprocess\file_mapping compilation errors
-------------------------------------+--------------------------------------
 Reporter: anonymous | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: Boost 1.44.0 | Component: interprocess
  Version: Boost Development Trunk | Severity: Problem
 Keywords: vc2010 |
-------------------------------------+--------------------------------------
 Compilation errors with Visual Studio 2010:

 ...\ext_libs\boost\boost\interprocess\detail\move.hpp(358): error C2440:
 'return' : cannot convert from 'boost::interprocess::file_mapping' to
 'boost::interprocess::file_mapping &&'
 1> You cannot bind an lvalue to an rvalue reference
 1> ...\ext_libs\boost\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
 1> with
 1> [
 1> T=boost::interprocess::file_mapping &
 1> ]
 1>...\ext_libs\boost\boost\interprocess\detail\move.hpp(358): error C2440:
 'return' : cannot convert from 'boost::interprocess::mapped_region' to
 'boost::interprocess::mapped_region &&'
 1> You cannot bind an lvalue to an rvalue reference
 1> ...\ext_libs\boost\boost\interprocess\mapped_region.hpp(159) :
 see reference to function template instantiation
 'boost::interprocess::mapped_region
 &&boost::interprocess::move<boost::interprocess::mapped_region&>(T)' being
 compiled
 1> with
 1> [
 1> T=boost::interprocess::mapped_region &
 1> ]
 2>...\filesystem\filesystem.h(39): warning C4018: '<' : signed/unsigned
 mismatch
 2>...\filesystem\filesystem.h(52): warning C4018: '<' : signed/unsigned
 mismatch
 2>...\ext_libs\boost\boost\interprocess\detail\move.hpp(358): error C2440:
 'return' : cannot convert from 'boost::interprocess::file_mapping' to
 'boost::interprocess::file_mapping &&'
 2> You cannot bind an lvalue to an rvalue reference
 2> ...\ext_libs\boost\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
 2> with
 2> [
 2> T=boost::interprocess::file_mapping &
 2> ]
 2>...\ext_libs\boost\boost\interprocess\detail\move.hpp(358): error C2440:
 'return' : cannot convert from 'boost::interprocess::mapped_region' to
 'boost::interprocess::mapped_region &&'
 2> You cannot bind an lvalue to an rvalue reference
 2> ...\ext_libs\boost\boost\interprocess\mapped_region.hpp(159) :
 see reference to function template instantiation
 'boost::interprocess::mapped_region
 &&boost::interprocess::move<boost::interprocess::mapped_region&>(T)' being
 compiled
 2> with
 2> [
 2> T=boost::interprocess::mapped_region &
 2> ]

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4417>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC