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
Ball Aerospace & Technologies Corp