On Feb 16, 2013, at 2:05 PM, Dag-Erling Smørgrav <d...@des.no> wrote:
> FreeBSD Tinderbox <tinder...@freebsd.org> writes: >> cc -O2 -pipe -I/src/lib/libldns/../../contrib/ldns -std=gnu99 >> -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W >> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c >> /src/lib/libldns/../../contrib/ldns/dnssec_verify.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=3 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 mar...@xcllnt.net _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"