* tests/test-limits-h.c [__GNUC__]: Ignore -Woverlength-strings.
---
 tests/test-limits-h.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/test-limits-h.c b/tests/test-limits-h.c
index 597dabf..f5576bf 100644
--- a/tests/test-limits-h.c
+++ b/tests/test-limits-h.c
@@ -22,6 +22,10 @@
 
 #include "verify.h"
 
+#if 4 < __GNUC__ + (3 <= __GNUC_MINOR__)
+# pragma GCC diagnostic ignored "-Woverlength-strings"
+#endif
+
 /* Macros specified by ISO/IEC TS 18661-1:2014.  */
 
 #define verify_width(width, min, max) \
-- 
2.5.5


Reply via email to