From 957725f33b57664dc7cacd5d419e4b8538c74fe4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 20 Dec 2009 17:40:15 +0100 Subject: [PATCH] build: quiet warnings from util.c * configure.ac (warnings): Add -Wno-overflow and -Wno-type-limits. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 6442ab6..7c9cda3 100644 --- a/configure.ac +++ b/configure.ac @@ -102,6 +102,8 @@ if test "$gl_gcc_warnings" = yes; then gl_WARN_ADD([-Wno-sign-compare]) # Too many warnings for now gl_WARN_ADD([-Wno-pointer-sign]) # Too many warnings for now gl_WARN_ADD([-Wno-unused-parameter]) # Too many warnings for now + gl_WARN_ADD([-Wno-overflow]) # util.c + gl_WARN_ADD([-Wno-type-limits]) # util.c # In spite of excluding -Wlogical-op above, it is enabled, as of # gcc 4.5.0 20090517, and it provokes warnings in cat.c, dd.c, truncate.c -- 2.47.2