|
Boost Users : |
Subject: Re: [Boost-users] boost interprocess: memory allocation container
From: Carla Strembicke (Carla.Strembicke_at_[hidden])
Date: 2010-11-18 20:17:22
I am on the linux platform using the gcc version 4.5.1.
Below is the entire error of the make:
make
g++ -I.. -I../../../inc -I/usr/local/boost_1_44_0 -g -gstabs -D_UNIX -D_REENTRANT -std=c++0x -c ../subexec.cpp -o ../subexec.o
In file included from /usr/local/boost_1_44_0/boost/interprocess/segment_manager.hpp:28:0,
from /usr/local/boost_1_44_0/boost/interprocess/detail/managed_memory_impl.hpp:30,
from /usr/local/boost_1_44_0/boost/interprocess/managed_shared_memory.hpp:21,
from ../subexec.cpp:4:
/usr/local/boost_1_44_0/boost/interprocess/detail/named_proxy.hpp: In member function ââ¬ËT* boost::interprocess::detail::named_proxy<SegmentManager, T, is_iterator>::operator()(Args&& ...) const [with Args = std::less<int>, const boost::interprocess::allocator<std::pair<int, boost::posix_time::ptime>, boost::interprocess::segment_manager<char, boost::interprocess::rbtree_best_fit<boost::interprocess::mutex_family>, boost::interprocess::iset_index> >&, SegmentManager = boost::interprocess::segment_manager<char, boost::interprocess::rbtree_best_fit<boost::interprocess::mutex_family>, boost::interprocess::iset_index>, T = boost::container::map<int, boost::posix_time::ptime, boost::interprocess::allocator<std::pair<int, boost::posix_time::ptime>, boost::interprocess::segment_manager<char, boost::interprocess::rbtree_best_fit<boost::interprocess::mutex_family>, boost::interprocess::iset_index> > >, bool is_iterator = false]ââ¬â¢:
../subexec.cpp:60:17: instantiated from here
/usr/local/boost_1_44_0/boost/interprocess/detail/named_proxy.hpp:123:131: error: no matching function for call to ââ¬Ëforward(std::less<int>&)ââ¬â¢
I still can't get it to work.....any suggestions?
-----Original Message-----
From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Ion Gaztañaga
Sent: Thursday, November 18, 2010 1:02 PM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] boost interprocess: memory allocation container
On 18/11/2010 19:28, Carla Strembicke wrote:
> Hello,
>
> I am using boost 1.44 and trying to create shared memory and utilizing
> the segment manager with a interprocess map.
>
> I continually get a compile error when call the segment manager
> construct call. I canât figure out what the problem is.
Seems to work on MSVC 7.1. Platform? If it's MSVC 10 then it will be fixed for Boost 1.45 or use trunk code.
Best,
Ion
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
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