Opened 6 years ago

Closed 5 years ago

#6727 closed Bugs (fixed)

boost/interprocess/sync/shm/named_condition.hpp duplicates a nested namespace

Reported by: Jeff Odom <jeff.odom@…> Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: interprocess
Version: Boost 1.49.0 Severity: Regression
Keywords: Cc:


boost/interprocess/sync/shm/named_condition.hpp mistakenly creates the namespace boost::interprocess::ipcdetail::ipcdetail which causes files included after it to fail to compile.

The following trivial test program causes compilation to fail under g++ 4.6.1:

#include <boost/interprocess/sync/shm/named_condition.hpp> #include <boost/interprocess/allocators/detail/allocator_common.hpp>

The attached patch removes the accidental declaration of this inner namespace

Attachments (1)

diff (648 bytes) - added by Jeff Odom <jeff.odom@…> 6 years ago.
Patch against svn rev 77488

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by Jeff Odom <jeff.odom@…>

Attachment: diff added

Patch against svn rev 77488

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

Resolution: fixed
Status: newclosed

Thanks for the report. It was fixed in revision [72912]

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.