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/Interface/Interface.h:5,
from
/home/othmarsen/Documents/Software/C++/MOXA/UC-7112/ewbmeter/ewbmeter/Interface/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<T,
U>' are private
In file included from
/opt/c++/boost/boost_1_39_0/boost/interprocess/sync/posix/semaphore_wrapper.hpp:17,
from /opt/c++/boost/boost_1_39_0/boost/interprocess/sync/named_mutex.hpp:26,
from
/home/othmarsen/Documents/Software/C++/MOXA/UC-7112/ewbmeter/ewbmeter/Interface/Interface.h:5,
from
/home/othmarsen/Documents/Software/C++/MOXA/UC-7112/ewbmeter/ewbmeter/Interface/SerialInterface.h:5,
from ../Interface/MockSerialInterface.h:4,
from ../Interface/MockSerialInterface.cpp:1:
/opt/c++/boost/boost_1_39_0/boost/interprocess/detail/os_file_functions.hpp:
In function `bool boost::interprocess::detail::delete_subdirectories_recursive(const
std::string&, const char*)':
/opt/c++/boost/boost_1_39_0/boost/interprocess/detail/os_file_functions.hpp:461:
error: `::' does not have a class or union named `stat'
Any ideas on that?
Thanks and best regards
Kessi