Commit 174a4f7b authored by David Lawrence's avatar David Lawrence
Browse files

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.
parent 47770338
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
......
#! /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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment