clang detects error in r250841
David Wolfskill
david at catwhisker.org
Tue May 21 12:18:18 UTC 2013
Got through buildworld; buildkernel stops a bit abruptly:
...
--- ar5416_misc.o ---
clang -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal
...
--- ar5416_misc.o ---
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c:507:12: error: implicit conversion from enumeration type 'HAL_STATUS' to different enumeration type 'HAL_BOOL' [-Werror,-Wenum-conversion]
return (HAL_ENOTSUPP);
~~~~~~ ^~~~~~~~~~~~
1 error generated.
*** [ar5416_misc.o] Error code 1
make: stopped in /common/S4/obj/usr/src/sys/CANARY
....
Peace,
david
--
David H. Wolfskill david at catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130521/4364f768/attachment.sig>
More information about the freebsd-current
mailing list