CURRENT (r253984) buildworld fails: contrib/bind9/bin/dig/dighost.c:4340:27: error: passing 'const char *' to parameter of type 'void *' discards qualifiers

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Tue, 6 Aug 2013 11:00:33 +0200
Buildword on r253984 fails ins BIND9:


cc  -O2 -pipe -O3 -march=native
-I/usr/src/usr.sbin/pkg_install/create/../lib -pipe -O3 -std=gnu99
-Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized
-Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
-Wno-unused-function -Wno-conversion -Wformat=2 -Wno-format-extra-args
-Wno-format-nonliteral -Werror
-c /usr/src/usr.sbin/pkg_install/create/perform.c --- usr.bin.all__D
--- /usr/src/usr.bin/dig/../../contrib/bind9/bin/dig/dighost.c:4340:27:
error: passing 'const char *' to parameter of type 'void *' discards
qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
isc_buffer_init(&buffer, str, len);
[...]

Received on Tue Aug 06 2013 - 07:00:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:40 UTC