Boost C++ Libraries: Ticket #11076: Unqualified calls to memmove/memcpy in container/detail/copy_move_algo.hpp https://svn.boost.org/trac10/ticket/11076 <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/11076 Trac 1.4.3 Aparna Kumta <aparna.kumta@…> Thu, 05 Mar 2015 19:38:03 GMT <link>https://svn.boost.org/trac10/ticket/11076#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11076#comment:1</guid> <description> <p> For some reason, I see that 2 tickets got created for this issue. <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/11075"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/11075</a> <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/11076"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/11076</a> </p> <p> Please close this one. </p> </description> <category>Ticket</category> </item> <item> <author>Aparna Kumta <aparna.kumta@…></author> <pubDate>Thu, 05 Mar 2015 19:40:06 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11076#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11076#comment:1</guid> <description> <p> For some reason, I see that 2 tickets got created for this issue. <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/11075"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/11075</a> <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/11076"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/11076</a> </p> <p> Please close this one. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Fri, 06 Mar 2015 19:19:08 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/11076#comment:2 https://svn.boost.org/trac10/ticket/11076#comment:2 <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">duplicate</span> </li> </ul> <p> Duplicate of 11075 </p> Ticket