Boost C++ Libraries: Ticket #8703: Solaris - error: 'posix_memalign' was not declared in this scope https://svn.boost.org/trac10/ticket/8703 <pre class="wiki">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(&amp;p, 64, size) || !p) </pre><p> It looks like posix_memalign is not available for Solaris 10 (using GCC 4.8.0). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8703 Trac 1.4.3 Andrey Semashev Mon, 17 Jun 2013 12:24:11 GMT <link>https://svn.boost.org/trac10/ticket/8703#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8703#comment:1</guid> <description> <p> 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? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Mon, 17 Jun 2013 21:02:20 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8703#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8703#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84817" title="Hopefully, fixed compilation on Solaris 10. Refs #8703.">[84817]</a>) Hopefully, fixed compilation on Solaris 10. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8703" title="#8703: Bugs: Solaris - error: 'posix_memalign' was not declared in this scope (closed: fixed)">#8703</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Mon, 17 Jun 2013 21:20:24 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8703#comment:3 https://svn.boost.org/trac10/ticket/8703#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84818" title="Merged changes from trunk. Fixes #8703.">[84818]</a>) Merged changes from trunk. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8703" title="#8703: Bugs: Solaris - error: 'posix_memalign' was not declared in this scope (closed: fixed)">#8703</a>. </p> Ticket