summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib.h b/lib.h
index c15e1ff5..dc12c355 100644
--- a/lib.h
+++ b/lib.h
@@ -623,6 +623,7 @@ INLINE ucnum c_u(val num)
#if CONFIG_NAN_BOXING && defined __GNUC__
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
+#pragma GCC diagnostic ignored "-Wuninitialized"
#endif
INLINE double c_f(val num)
@@ -637,6 +638,7 @@ INLINE double c_f(val num)
#if CONFIG_NAN_BOXING && defined __GNUC__
#pragma GCC diagnostic warning "-Wstrict-aliasing"
+#pragma GCC diagnostic warning "-Wuninitialized"
#endif
#if SIZEOF_WCHAR_T < 4 && !CONFIG_NAN_BOXING