mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 14:04:26 +02:00
Disable -Wclass-memaccess for GCC 8
This commit is contained in:
@@ -34,7 +34,12 @@
|
|||||||
// other
|
// other
|
||||||
#include <boost/core/no_exceptions_support.hpp>
|
#include <boost/core/no_exceptions_support.hpp>
|
||||||
// std
|
// std
|
||||||
#include <cstring> //for emmove/memcpy
|
#include <cstring> //for memmove/memcpy
|
||||||
|
|
||||||
|
#if defined(BOOST_GCC) && (BOOST_GCC >= 80000)
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wclass-memaccess"
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
namespace container {
|
namespace container {
|
||||||
@@ -1141,4 +1146,9 @@ void move_assign_range_alloc_n( Allocator &a, I inp_start, typename allocator_tr
|
|||||||
} //namespace container {
|
} //namespace container {
|
||||||
} //namespace boost {
|
} //namespace boost {
|
||||||
|
|
||||||
|
#if defined(BOOST_GCC) && (BOOST_GCC >= 80000)
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif //#ifndef BOOST_CONTAINER_DETAIL_COPY_MOVE_ALGO_HPP
|
#endif //#ifndef BOOST_CONTAINER_DETAIL_COPY_MOVE_ALGO_HPP
|
||||||
|
Reference in New Issue
Block a user