X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-intprops.c;h=1a34d77bf59704508658758e8d1bb6b605989c0b;hb=ca39b1aeb0317680a7344fc9b9a1951323c90fab;hp=8fc582b90fc37e2c47bf9c3644cc9d5b860ba72b;hpb=1e0b92c990dfeb136cda606e2914e2d87b00bd74;p=gnulib.git diff --git a/tests/test-intprops.c b/tests/test-intprops.c index 8fc582b90..1a34d77bf 100644 --- a/tests/test-intprops.c +++ b/tests/test-intprops.c @@ -16,6 +16,12 @@ /* 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__ +# pragma GCC diagnostic ignored "-Wtype-limits" +#endif + #include #include "intprops.h"