Boost logo

Boost Users :

From: Jan Stetka (janpstetka_at_[hidden])
Date: 2006-04-21 08:50:22


Hi,
Is there an example of using a shmem::map?

I'm getting:

C:\boost_1_33_1\boost\shmem\sync\win32\win32_sync_primitives.hpp(155) :
error C2668: 'boost::shmem::GetSystemTimeAsFileTime' : ambiguous call to
overloaded function
 
C:\boost_1_33_1\boost\shmem\sync\win32\win32_sync_primitives.hpp(105):
could be 'void boost::shmem::GetSystemTimeAsFileTime(_FILETIME *)'
         C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\WinBase.h(3678): or 'void
GetSystemTimeAsFileTime(LPFILETIME)' [found using argument-dependent lookup]
         while trying to match the argument list '(_FILETIME *)'
C:\boost_1_33_1\boost\shmem\sync\win32\win32_sync_primitives.hpp(215) :
error C2668: 'boost::shmem::GetSystemInfo' : ambiguous call to
overloaded function
 
C:\boost_1_33_1\boost\shmem\sync\win32\win32_sync_primitives.hpp(117):
could be 'void boost::shmem::GetSystemInfo(_SYSTEM_INFO *)'
         C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\WinBase.h(3706): or 'void
GetSystemInfo(LPSYSTEM_INFO)' [found using argument-dependent lookup]
         while trying to match the argument list '(_SYSTEM_INFO *)'

when i try to compile

        boost::shmem::map<long,PHRunningData,boost::shmem::allocator<std::pair<long,PHRunningData>,

                boost::shmem::named_shared_object::segment_manager> > *_rp;

is this an error in the library?

I'm using the code from the vault.

Thanks in advance, Jan.


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