2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

1345. [port] Use a explicit -Wformat with gcc. Not all versions

include it in -Wall.
This commit is contained in:
Mark Andrews
2002-07-31 02:19:07 +00:00
parent 7d011946d2
commit 53f1312c61
3 changed files with 7 additions and 4 deletions

View File

@@ -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

4
configure vendored
View File

@@ -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*)

View File

@@ -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*)