Problem reported by Pádraig Brady in:
http://lists.gnu.org/archive/html/bug-gnulib/2015-11/msg00008.html
It is not worth the hassle to port this test to compilers that
cannot handle long strings in diagnostics.
* tests/test-intprops.c [__GNUC__]: Ignore -Woverlength-strings.
+2015-11-05 Paul Eggert <eggert@cs.ucla.edu>
+
+ intprops-test: suppress -Woverlength-strings
+ Problem reported by Pádraig Brady in:
+ http://lists.gnu.org/archive/html/bug-gnulib/2015-11/msg00008.html
+ It is not worth the hassle to port this test to compilers that
+ cannot handle long strings in diagnostics.
+ * tests/test-intprops.c [__GNUC__]: Ignore -Woverlength-strings.
+
2015-11-03 Pádraig Brady <P@draigBrady.com>
quotearg: add quotearg_n_style_colon()
/* Written by Paul Eggert. */
-/* Tell gcc not to warn about the many (X < 0) expressions that
- the overflow macros expand to. */
-#if (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) || 4 < __GNUC__
+/* Tell gcc not to warn about the long expressions that the overflow
+ macros expand to, or about the (X < 0) expressions. */
+#if 4 < __GNUC__ + (3 <= __GNUC_MINOR__)
+# pragma GCC diagnostic ignored "-Woverlength-strings"
# pragma GCC diagnostic ignored "-Wtype-limits"
#endif