test-intprops: disable -Wtype-limits diagnostics
[gnulib.git] / ChangeLog
index fee8b5a..390d4e8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-05-24  Paul Eggert  <eggert@cs.ucla.edu>
 
+       test-intprops: disable -Wtype-limits diagnostics
+       * tests/test-intprops.c: Use a pragma to ignore -Wtype-limits
+       diagnostics.  Otherwise, the integer overflow macros generate many
+       diagnostics.  Reported by Jim Meyering in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00528.html>.
+
        intprops: shorten, to pacify gcc -Woverlength-strings
        * lib/intprops.h (_GL_INT_CONVERT, _GL_INT_NEGATE_CONVERT):
        (_GL_BINARY_OP_OVERFLOW): Say "0 * (x)" rather than "(x) - (x)",