From 53f1312c61fa8618852584bcdf9f35530282eb08 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 31 Jul 2002 02:19:07 +0000 Subject: [PATCH] 1345. [port] Use a explicit -Wformat with gcc. Not all versions include it in -Wall. --- CHANGES | 3 +++ configure | 4 ++-- configure.in | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 465dd9fa86..c4d2bcf005 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +1345. [port] Use a explicit -Wformat with gcc. Not all versions + include it in -Wall. + 1344. [func] Log if the serial number on the master has gone backwards. If you have multiple machines specified in the masters diff --git a/configure b/configure index ebdbf8c3d2..a9b9e491eb 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.326 . +# From configure.in Revision: 1.327 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.53. # @@ -5792,7 +5792,7 @@ MKDEPCFLAGS="-M" IRIX_DNSSEC_WARNINGS_HACK="" if test "X$GCC" = "Xyes"; then - STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings" + STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat" else case $host in *-dec-osf*) diff --git a/configure.in b/configure.in index 12c4d3a95c..e3dfd416a9 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl AC_DIVERT_POP()dnl -AC_REVISION($Revision: 1.326 $) +AC_REVISION($Revision: 1.327 $) AC_INIT(lib/dns/name.c) AC_PREREQ(2.13) @@ -798,7 +798,7 @@ MKDEPCFLAGS="-M" IRIX_DNSSEC_WARNINGS_HACK="" if test "X$GCC" = "Xyes"; then - STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings" + STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat" else case $host in *-dec-osf*)