Boost logo

Boost :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2006-10-16 01:29:22

Ion Gaztañaga wrote:
> Hi,
> Rene Rivera wrote:
>> Ion Gaztañaga wrote:
>>> Hi to all,
>> Not sure if this is the same as the snapshot since I'm trying to use the
>> CVS version. But I get this conflict, with vc8:
>> ..\bin\ext\boost\interprocess\1.33.1\msvc-8.0\rsi.debug\architecture-x86\boost/interprocess/mapped_region.hpp(50)
>> : error C2011: 'boost::interprocess::mapped_region' : 'class' type
>> redefinition
> Seems like you are including memory_mappable.hpp and mapped_region.hpp

I was including neither. The includes I had, from a rather older version
which I'm finally transitioning to the interprocess version of code

#include <boost/interprocess/ipc/message_queue.hpp>
#include <boost/interprocess/sync/named_mutex.hpp>
#include <boost/interprocess/shared_memory_object.hpp>
#include <boost/interprocess/indexes/map_index.hpp>

And my test file also included:

#include <boost/interprocess/shared_memory.hpp>

But you just removed that one. And now I get a bunch of other compile

> Can you try it again changing your includes from memory_mappable.hpp to
> mapped_region.hpp?

Not possible ;-) But I will try and get the rest of my code working
again. Will take a some time to figure out what I need to change to go
from shmem=>interprocess. So no holding of breath is recommended :-)

-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. -
-- rrivera/ - grafik/
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

Boost list run by bdawes at, gregod at, cpdaniel at, john at