Ticket #3138 (closed Bugs: fixed)
Interprocess dependency on sys/shm.h
|Reported by:||Niklas Angare <li51ckf02@…>||Owned by:||igaztanaga|
Since 1.39, boost/interprocess/mapped_region.hpp depends on sys/shm.h (from POSIX XSI). The QNX 6 operating system doesn't have this header and thus Interprocess no longer works.
boost/interprocess/shared_memory_object.hpp only conditionally includes sys/shm.h, like this:
# include <sys/shm.h> System V shared memory...
mapped_region.hpp uses a bunch of stuff from sys/shm.h though so the fix won't be quite that easy.
Here are the rest of the errors from my NA-QNX641-qcc-gnu0x test runner:
mapped_region.hpp:402: error: '::shmid_ds' has not been declared
mapped_region.hpp:402: error: expected `;' before 'xsi_ds'
mapped_region.hpp:403: error: '::shmctl' has not been declared
mapped_region.hpp:403: error: 'IPC_STAT' was not declared in this scope
mapped_region.hpp:403: error: 'xsi_ds' was not declared in this scope
mapped_region.hpp:419: error: 'SHM_RDONLY' was not declared in this scope
mapped_region.hpp:426: error: '::shmat' has not been declared
mapped_region.hpp:552: error: '::shmdt' has not been declared
Full log: http://tinyurl.com/onnn2t
- Status changed from new to closed
- Resolution set to fixed
- Status changed from closed to reopened
- Resolution fixed deleted