Opened 8 years ago
Closed 8 years ago
#10687 closed Bugs (wontfix)
Including boost.interprocess on a system without unistd.h causes compilation to fail
Reported by: | Owned by: | Ion Gaztañaga | |
---|---|---|---|
Milestone: | To Be Determined | Component: | interprocess |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: |
Description
I am using boost 1.55.0 on an embedded system which doesn't provide unistd.h file (TI CGTools for TMS3200C67x processors).
Including "boost/interprocess/smart_ptr/unique_ptr.hpp"
causes the compiler to fail due to missing unistd.h, included in boost/interprocess/detail/workaround.hpp
Note:
See TracTickets
for help on using tickets.
Interprocess (meaning shared memory, memory mapped files...) works on Windows and POSIX systems, I don't think it never ever work on a DSP. In any case, if you only need unique_ptr, Boost 1.57 will include a standard-conforming lightweight implementation of unique_ptr in Boost.Move. Boost.Interprocess header will redirect to this. You can try it in the beta (http://www.boost.org/users/history/version_1_57_0.html)