Opened 9 years ago
Closed 9 years ago
#8703 closed Bugs (fixed)
Solaris - error: 'posix_memalign' was not declared in this scope
Reported by: | anonymous | Owned by: | Andrey Semashev |
---|---|---|---|
Milestone: | Boost 1.54.0 | Component: | log |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | Cc: |
Description
libs/log/src/threadsafe_queue.cpp: In static member function 'static void* boost::log::v2_mt_posix::aux::threadsafe_queue_impl::operator new(std::size_t)': libs/log/src/threadsafe_queue.cpp:169:36: error: 'posix_memalign' was not declared in this scope if (posix_memalign(&p, 64, size) || !p)
It looks like posix_memalign is not available for Solaris 10 (using GCC 4.8.0).
Change History (3)
comment:1 by , 9 years ago
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I don't have this system to test, so a patch would be welcome. Does Solaris have memalign()? Is it compatible with free()? Is there a macro I can use to detect Solaris target?