Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2013 07:45:26 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        David Wolfskill <david@catwhisker.org>
Cc:        adrian@freebsd.org, current@freebsd.org
Subject:   Re: clang detects error in r250841
Message-ID:  <CAJ-VmokG1-ky%2BkWRvvO23-NBV9JHH7M33kebP3mhV9QZ4JJhMw@mail.gmail.com>
In-Reply-To: <20130521121814.GT1291@albert.catwhisker.org>
References:  <20130521121814.GT1291@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, I committed it early this morning without running a make
universe on ref10-amd64.

I've fixed it.

Thanks,



Adrian

On 21 May 2013 05:18, David Wolfskill <david@catwhisker.org> wrote:
> Got through buildworld; buildkernel stops a bit abruptly:
>
> ...
> --- ar5416_misc.o ---
> clang -c -O -pipe  -std=3Dc99 -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-empt=
y-body  -Wno-error-parentheses-equality  -nostdinc  -I. -I/usr/src/sys -I/u=
sr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERN=
EL_OPTION_HEADERS -include opt_global.h  -mno-aes -mno-avx -mno-mmx -mno-ss=
e -msoft-float -ffreestanding -fstack-protector -Werror  /usr/src/sys/dev/a=
th/ath_hal/ar5416/ar5416_misc.c -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/a=
th/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 typ=
e '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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokG1-ky%2BkWRvvO23-NBV9JHH7M33kebP3mhV9QZ4JJhMw>