|
Boost : |
Subject: [boost] boost internal compile problems after moving to 1.44 in VC10
From: Christopher Lux (christopherlux_at_[hidden])
Date: 2010-08-17 13:01:24
Hi,
i am in the process of moving my projects to boost 1.44 on VC10 x64.
These are the problems i have (seems like all are boost internal):
The errors especially are show stoppers here, i am not that into
rvalue references yet to see the problems with the templates in
boost.interprocess.
1>E...\inc\boost\boost/interprocess/detail/move.hpp(342): 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> E...inc\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>E...\inc\boost\boost/interprocess/detail/move.hpp(342): 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> E...\inc\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> ]
1>E...\inc\boost\boost/thread/win32/thread_data.hpp(171): warning
C4244: 'argument' : conversion from '__int64' to 'long', possible loss
of data
1> ..\..\..\..\..\xxx.cpp(366) : see reference to function
template instantiation 'void
boost::this_thread::sleep<boost::date_time::subsecond_duration<base_duration,frac_of_second>>(const
TimeDuration &)' being compiled
1> with
1> [
1> base_duration=boost::posix_time::time_duration,
1> frac_of_second=0x03e8,
1>
TimeDuration=boost::date_time::subsecond_duration<boost::posix_time::time_duration,0x03e8>
1> ]
1>E...\inc\boost\boost/interprocess/detail/os_file_functions.hpp(124):
warning C4018: '>' : signed/unsigned mismatch
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk