[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] test-limits-h: suppress -Woverlength-strings
From: |
Pádraig Brady |
Subject: |
[PATCH] test-limits-h: suppress -Woverlength-strings |
Date: |
Sat, 15 Oct 2016 23:31:55 +0100 |
* 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] test-limits-h: suppress -Woverlength-strings,
Pádraig Brady <=