Boost logo

Boost Users :

From: Clarke, Trevor (tclarke_at_[hidden])
Date: 2006-08-31 14:26:14


I'm trying to use boost::shmem and I'm having trouble on Solaris. The
same code works fine on Windows with VS8. I'm getting:

Error: Redefining
boost::shmem::detail::segment_manager<boost::shmem::detail::CharType,
...

After use in boost::shmem::detail::segment_manager<char,
boost::shmem::simple_seq_fit...

 

The offending line in boost::shmem is

typedef segment_manager<CharType, MemoryAlgorithm, IndexType>
segment_manager;

in boost::shmem::detail::segment_manager::index_config

 

The code in my application is

mpLast->mNext =
reinterpret_case<my_list_node*>(mpSegment->construct<my_list_node>(boost
::shmem::anonymous_instance)());

whieh mpSegment is a segment_manager*.

 

Any idea what is going on?

 

--------------------

Trevor R.H. Clarke

tclarke at ball.com <mailto:tclarke_at_[hidden]>

Ball Aerospace & Technologies Corp

 



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