We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 771750f commit 314e9eaCopy full SHA for 314e9ea
1 file changed
test/array6.cpp
@@ -7,12 +7,18 @@
7
8
#define BOOST_ALLOW_DEPRECATED_SYMBOLS // get_c_array
9
10
+#include <boost/array.hpp>
11
+#include <boost/core/lightweight_test.hpp>
12
+#include <boost/config.hpp>
13
#include <string>
14
#include <iostream>
-#include <boost/array.hpp>
15
#include <algorithm>
16
-#include <boost/core/lightweight_test_trait.hpp>
17
+#if defined(BOOST_GCC) && BOOST_GCC / 10000 == 12
18
+// false -Warray-bounds positive when using -fsanitize=undefined
19
+// restricted to GCC 12 because that's what is tested on Drone
20
+# pragma GCC diagnostic ignored "-Warray-bounds"
21
+#endif
22
23
namespace {
24
template< class T >
0 commit comments