Boost logo

Boost Users :

Subject: [Boost-users] [BOOST Interprocess] file lock error on MSVC 10
From: Claude (clros_at_[hidden])
Date: 2011-03-24 03:14:55


Hi,
 I'm trying to compile simple program with MSVC++ 10 that use
<boost/interprocess/sync/file_lock.hpp> include file (boost version
1.44)
But I have a compile error in this file at row 68:

C:\Users\Claudio\Desktop\boost_1_44_0\boost/interprocess/sync/file_lock.hpp(68):
vedere il riferimento all'istanza del modello di funzione
'boost::interprocess::file_lock
&&boost::interprocess::move<boost::interprocess::file_lock&>(T)'
in corso di compilazione
          with
          [
              T=boost::interprocess::file_lock &
          ]
"Impossibile associare un elemento lvalue a un riferimento di rvalue"
("Can not associate a lvalue to a rvalue reference")

This program compiles without error on GCC 4.5 (Linux Ubuntu)

Why?

--
View this message in context: http://boost.2283326.n4.nabble.com/BOOST-Interprocess-file-lock-error-on-MSVC-10-tp3401796p3401796.html
Sent from the Boost - Users mailing list archive at Nabble.com.

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