clang detects error in r250841
--PkEWctFf+8E2rcii
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Got through buildworld; buildkernel stops a bit abruptly:
=2E..
--- ar5416_misc.o ---
clang -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -=
Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qu=
al -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
=2E..
--- ar5416_misc.o ---
/usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_misc.c:507:12: error: implicit c=
onversion 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
=2E...
Peace,
david
--=20
David H. Wolfskill david@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.
--PkEWctFf+8E2rcii
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)
iEYEARECAAYFAlGbZgYACgkQmprOCmdXAD2YwwCeIRbobeJEZ+BIh+KUPq2ngxDc
DRwAn3Q8pm/7CqMLLJ59vOCI+BW3sF+B
=UerK
-----END PGP SIGNATURE-----
--PkEWctFf+8E2rcii--
討論串 (同標題文章)