[Boost-bugs] [Boost C++ Libraries] #11076: Unqualified calls to memmove/memcpy in container/detail/copy_move_algo.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #11076: Unqualified calls to memmove/memcpy in container/detail/copy_move_algo.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-05 19:33:38


#11076: Unqualified calls to memmove/memcpy in container/detail/copy_move_algo.hpp
-------------------------------------------+------------------------
 Reporter: Aparna Kumta <aparna.kumta@…> | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: container
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------------+------------------------
 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:

 "../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<int*,
 int*>(int*, int*, int*)".
 "../boost/container/detail/copy_move_algo.hpp", line 304: Where:
 Instantiated from boost::container::vector<int,
 boost::container::new_allocator<int>>::priv_forward_range_insert_new_allocation<boost::container::container_detail::insert_copy_proxy<boost::container::new_allocator<int>,
 int*>>(int*const, unsigned, int*const, const unsigned,
 boost::container::container_detail::insert_copy_proxy<boost::container::new_allocator<int>,
 int*>).
 "../boost/container/vector.hpp", line 2456: Where: Instantiated from
 non-template code.

 In boost/container/detail/copy_move_algo.hpp,
 the header <cstring> is included, however calls to memmove and memcpy need
 to be qualified with std::

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11076>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC