Skip to content

Commit c7ee8b9

Browse files
committed
Ignore class memaccess warning
1 parent 506d95c commit c7ee8b9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/test_charconv_preservation.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
#include <boost/core/lightweight_test.hpp>
77
#include <array>
88

9+
#if defined(__GNUC__) && __GNUC__ >= 8
10+
# pragma GCC diagnostic push
11+
# pragma GCC diagnostic ignored "-Wclass-memaccess"
12+
#endif
13+
914
using namespace boost::decimal;
1015

1116
template <typename ResultsType, typename StringsType>

0 commit comments

Comments
 (0)