|
Boost Users : |
Subject: [Boost-users] Compile time Error when including boost interprocess sync/named_mutex.hpp
From: bcg (bidhan_mail_at_[hidden])
Date: 2010-11-19 13:55:48
Hello,I have trouble compiling a program to share memory between processes that uses
#include <boost/interprocess/sync/named_mutex.hpp>Version: boost_135_0During compilation I am getting following error. Can anyone give me any inputs to resolve this...Thanks
c:commonboost_1_35_0boostinterprocesssyncemulationnamed_creation_functor.hpp(33) : error C2061: syntax error : identifier 'address'
1> c:commonboost_1_35_0boostinterprocesssyncemulationnamed_creation_functor.hpp(49) : see reference to function template instantiation 'void boost::interprocess::detail::named_creation_functor<T>::construct<Arg>(void *,void *) const' being compiled
1> with
1> [
1> T=boost::interprocess::interprocess_mutex,
1> Arg=boost::interprocess::detail::named_creation_functor_no_arg
1> ]
1> c:commonboost_1_35_0boostinterprocesssyncemulationnamed_creation_functor.hpp(41) : while compiling class template member function 'bool boost::interprocess::detail::named_creation_functor<T>::operator ()(void *,size_t,bool) const'
1> with
1> [
1> T=boost::interprocess::interprocess_mutex
1> ]
1> c:commonboost_1_35_0boostinterprocesssyncnamed_mutex.hpp(174) : see reference to class template instantiation 'boost::interprocess::detail::named_creation_functor<T>' being compiled
1> with
1> [
1> T=boost::interprocess::interprocess_mutex
1> ]
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