Ticket #6134 (closed Bugs: fixed)
boost 1.48.0 interprocess does not compile under FreeBSD
|Reported by:||edouarda14@…||Owned by:||igaztanaga|
|Milestone:||To Be Determined||Component:||interprocess|
/usr/local/include/boost/interprocess/shared_memory_object.hpp: In member function 'bool boost::interprocess::shared_memory_object::priv_open_or_create(boost::interprocess::ipcdetail::create_enum_t, const char*, boost::interprocess::mode_t, const boost::interprocess::permissions&)': /usr/local/include/boost/interprocess/shared_memory_object.hpp:278:36: error: 'shared_memory_object_ipcdetail' has not been declared /usr/local/include/boost/interprocess/shared_memory_object.hpp: In static member function 'static bool boost::interprocess::shared_memory_object::remove(const char*)': /usr/local/include/boost/interprocess/shared_memory_object.hpp:364:39: error: 'shared_memory_object_ipcdetail' has not been declared
The problem is that the namespace shared_memory_object_ipcdetail does not exist, it's actually shared_memory_object_detail as defined above in shared_memory_object.hpp
I also believe the function name is invalid and that it should be use_filesystem_based_posix, not use_filesistem_based_posix
It's a FreeBSD bug only as this function is only defined in FreeBSD.