We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72f6c09 commit 5b5e7d1Copy full SHA for 5b5e7d1
1 file changed
include/jsoncons/utility/bigint.hpp
@@ -287,6 +287,11 @@ class bigint_storage : private std::allocator_traits<Allocator>:: template rebin
287
::new (&inlined_) inlined_storage();
288
}
289
290
+#if defined(__GNUC__) && !defined(__clang__)
291
+#pragma GCC diagnostic push
292
+#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
293
+#endif
294
+
295
bigint_storage(const bigint_storage& other)
296
: word_allocator_type(other.get_allocator())
297
{
@@ -300,6 +305,10 @@ class bigint_storage : private std::allocator_traits<Allocator>:: template rebin
300
305
301
306
302
307
308
309
+#pragma GCC diagnostic pop
310
311
303
312
bigint_storage(const bigint_storage& other, const Allocator& alloc)
304
313
: word_allocator_type(alloc)
314
0 commit comments