mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17:15 +02:00
shut down GCC Winterference-size
This commit is contained in:
committed by
Christian Mazakas
parent
8f348aea26
commit
e16a8737f4
@ -39,7 +39,14 @@ template<typename T>
|
||||
struct
|
||||
|
||||
#if defined(__cpp_lib_hardware_interference_size)
|
||||
#if defined(BOOST_GCC)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Winterference-size"
|
||||
#endif
|
||||
alignas(std::hardware_destructive_interference_size)
|
||||
#if defined(BOOST_GCC)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
#else
|
||||
alignas(64)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user