Opened 6 years ago

Closed 6 years ago

#6134 closed Bugs (fixed)

boost 1.48.0 interprocess does not compile under FreeBSD

Reported by: edouarda14@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: interprocess
Version: Boost 1.48.0 Severity: Showstopper
Keywords: Cc:


/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.

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by Ion Gaztañaga

Resolution: fixed
Status: newclosed

Trunk and Release branch code compiles in FreeBSD (tested in PC-BSD 8 32 bit)

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ion Gaztañaga.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.