mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
224. [cleanup] The entire project builds cleanly with gcc's
-Wcast-qual and -Wwrite-strings warnings enabled, which is now the default when using gcc. (Warnings from confparser.c, because of yacc's code, are unfortunately to be expected.) 223. [func] Several functions were reprototyped to qualify one or more of their arguments with "const". Similarly, several functions that return pointers now have those pointers qualified with const.
This commit is contained in:
15
CHANGES
15
CHANGES
@@ -1,3 +1,14 @@
|
||||
224. [cleanup] The entire project builds cleanly with gcc's
|
||||
-Wcast-qual and -Wwrite-strings warnings enabled,
|
||||
which is now the default when using gcc. (Warnings
|
||||
from confparser.c, because of yacc's code, are
|
||||
unfortunately to be expected.)
|
||||
|
||||
223. [func] Several functions were reprototyped to qualify one
|
||||
or more of their arguments with "const". Similarly,
|
||||
several functions that return pointers now have
|
||||
those pointers qualified with const.
|
||||
|
||||
222. [bug] The global 'also-notify' option was ignored.
|
||||
|
||||
221. [bug] An uninitialized variable was sometimes passed to
|
||||
@@ -26,10 +37,10 @@
|
||||
214. [func] New public function isc_netaddr_format(), for
|
||||
formatting network addresses in log messages.
|
||||
|
||||
213. [cleanup] Don't leak memory when reloading the zone if
|
||||
213. [bug] Don't leak memory when reloading the zone if
|
||||
an update-policy clause was present in the old zone.
|
||||
|
||||
212. [cleanup] Added dns_message_get/settsigkey, to make TSIG
|
||||
212. [func] Added dns_message_get/settsigkey, to make TSIG
|
||||
key management reasonable.
|
||||
|
||||
211. [func] The 'key' and 'server' statements can now occur
|
||||
|
4
configure
vendored
4
configure
vendored
@@ -1,6 +1,6 @@
|
||||
#! /bin/sh
|
||||
|
||||
# From configure.in Revision: 1.141
|
||||
# From configure.in Revision: 1.142
|
||||
|
||||
|
||||
|
||||
@@ -2309,7 +2309,7 @@ MKDEPCC="$CC"
|
||||
MKDEPCFLAGS="-M"
|
||||
IRIX_DNSSEC_WARNINGS_HACK=""
|
||||
if test "X$GCC" = "Xyes"; then
|
||||
STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes"
|
||||
STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings"
|
||||
case "$host" in
|
||||
*-freebsd*)
|
||||
CC="$CC -pthread"
|
||||
|
Reference in New Issue
Block a user