看板 FB_current 關於我們 聯絡資訊
On Feb 16, 2013, at 2:05 PM, Dag-Erling Sm=F8rgrav <des@des.no> wrote: > FreeBSD Tinderbox <tinderbox@freebsd.org> writes: >> cc -O2 -pipe -I/src/lib/libldns/../../contrib/ldns -std=3Dgnu99 -fstack-= protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-par= ameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninit= ialized -Wno-pointer-sign -c /src/lib/libldns/../../contrib/ldns/dnssec_ver= ify.c -o dnssec_verify.o >> cc1: warnings being treated as errors >> /src/lib/libldns/../../contrib/ldns/dnssec_verify.c:638: warning: >> ldns_dnssec_trust_tree_print_sm' defined but not used >> *** [dnssec_verify.o] Error code 1 >> = >> Stop in /src/lib/libldns. > = > Why is this happening? The Makefile sets WARNS to 3, which adds > -Wno-unused-function to CFLAGS, which should suppress this warning. I don't see -Wno-unused-function above. I only see -Wno-unused-parameter. I also don't see -Wno-parentheses-equality nor -Wno-conversion, so I guess that means that the set of flags applicable for WARNS=3D3 isn't being taken. It looks like WARNS is in fact 3: eris% make -V WARNS 3 Since bsd.sys.mk has grown unreadable, try unraveling the conditionals to see if WARNS for GCC does the equivalent for CLANG. Is the problem specific to architectures that don't use CLANG? = -- = Marcel Moolenaar marcel@xcllnt.net _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"