We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a0231b commit 76794eeCopy full SHA for 76794ee
include/jsoncons/reflect/decode_traits.hpp
@@ -41,6 +41,12 @@ namespace reflect {
41
42
// decode_traits
43
44
+// Ignore false positives
45
+#if defined(__GNUC__)
46
+# pragma GCC diagnostic push
47
+# pragma GCC diagnostic ignored "-Warray-bounds"
48
+#endif
49
+
50
template <typename T,typename Enable = void>
51
struct decode_traits
52
{
@@ -64,6 +70,10 @@ struct decode_traits
64
70
}
65
71
};
66
72
73
74
+# pragma GCC diagnostic pop
75
76
67
77
// specializations
68
78
69
79
// primitive
0 commit comments