Opened 11 years ago

Closed 10 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:

Description

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@…> 11 years ago.
Patch against svn rev 77488

Download all attachments as: .zip

Change History (2)

by Jeff Odom <jeff.odom@…>, 11 years ago

Attachment: diff added

Patch against svn rev 77488

comment:1 by Ion Gaztañaga, 10 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.