Boost Interprocess os_file_functions

Hi everyone
For a mutual exclusion on a SerialInterface class, I used a Boost
Interprocess Mutex, which compiled on MinGW without any problems. Using the
same code on my arm-linux-gcc cross compilation tool chain (Version 3.3.2)
renders the following error:
g++ -I"/home/othmarsen/Documents/Software/C++/MOXA/UC-7112/ewbmeter"
-I"/home/othmarsen/Documents/Software/C++/MOXA/UC-7112/pss"
-I/opt/c++/boost/boost_1_39_0 -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP
-MF"Interface/MockSerialInterface.d" -MT"Interface/MockSerialInterface.d"
-o"Interface/MockSerialInterface.o" "../Interface/MockSerialInterface.cpp"
In file included from
/opt/c++/boost/boost_1_39_0/boost/interprocess/sync/emulation/named_creation
_functor.hpp:16,
from
/opt/c++/boost/boost_1_39_0/boost/interprocess/sync/named_mutex.hpp:22,
from
/home/othmarsen/Documents/Software/C++/MOXA/UC-7112/ewbmeter/ewbmeter/Interf
ace/Interface.h:5,
from
/home/othmarsen/Documents/Software/C++/MOXA/UC-7112/ewbmeter/ewbmeter/Interf
ace/SerialInterface.h:5,
from ../Interface/MockSerialInterface.h:4,
from ../Interface/MockSerialInterface.cpp:1:
/opt/c++/boost/boost_1_39_0/boost/interprocess/detail/mpl.hpp:67: warning:
all member functions in class
`boost::interprocess::detail::is_convertible

Pascal Kesseli wrote:
Hi everyone
For a mutual exclusion on a SerialInterface class, I used a Boost Interprocess Mutex, which compiled on MinGW without any problems. Using the same code on my arm-linux-gcc cross compilation tool chain (Version 3.3.2) renders the following error:
Hi, GCC < 3.4 is not supported by the library. Best, Ion
participants (2)
-
Ion Gaztañaga
-
Pascal Kesseli