Boost C++ Libraries: Ticket #11075: Unqualified calls to memmove/memcpy in container/detail/copy_move_algo.hpp https://svn.boost.org/trac10/ticket/11075 <p> Compiling libs/thread/test/sync/mutual_exclusion/sync_queue/single_thread_pass.cpp with Oracle Solaris Studio12.4 on Solaris 11.2, we see the following error: </p> <p> "../boost/container/detail/copy_move_algo.hpp", line 177: Error: memmove is not defined. "../boost/container/detail/copy_move_algo.hpp", line 304: Where: While instantiating "boost::container::container_detail::memmove&lt;int*, int*&gt;(int*, int*, int*)". "../boost/container/detail/copy_move_algo.hpp", line 304: Where: Instantiated from boost::container::vector&lt;int, boost::container::new_allocator&lt;int&gt;&gt;::priv_forward_range_insert_new_allocation&lt;boost::container::container_detail::insert_copy_proxy&lt;boost::container::new_allocator&lt;int&gt;, int*&gt;&gt;(int*const, unsigned, int*const, const unsigned, boost::container::container_detail::insert_copy_proxy&lt;boost::container::new_allocator&lt;int&gt;, int*&gt;). "../boost/container/vector.hpp", line 2456: Where: Instantiated from non-template code. </p> <p> In boost/container/detail/copy_move_algo.hpp, the header &lt;cstring&gt; is included, however calls to memmove and memcpy need to be qualified with std:: </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11075 Trac 1.4.3 Ion Gaztañaga Fri, 06 Mar 2015 19:14:44 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11075#comment:1 https://svn.boost.org/trac10/ticket/11075#comment:1 <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> fixed in <a class="ext-link" href="https://github.com/boostorg/container/commit/c194a6794db1f5428465eb12bf7e5220a0630bfa"><span class="icon">​</span>https://github.com/boostorg/container/commit/c194a6794db1f5428465eb12bf7e5220a0630bfa</a> </p> <p> Thanks for the patch. </p> Ticket