Bruce Evans wrote:
> > cc1: warnings being treated as errors
> > /local0/src2/sys/dev/ccd/ccd.c: In function `ccdiodone':
> > /local0/src2/sys/dev/ccd/ccd.c:1181: warning: long long int format, daddr_t arg
>(arg 6)
> > *** Error code 1
>
> This is a routine printf format error. %lld format shou
On Thu, 12 Sep 2002, Kris Kennaway wrote:
> How are you supposed to disable -Werror in kernel builds? Setting
Not :-). You are supposed to fix errors and not ignore them.
> ...
> cc1: warnings being treated as errors
> /local0/src2/sys/dev/ccd/ccd.c: In function `ccdiodone':
> /local0/src2/s
On Thu, Sep 12, 2002 at 05:47:29PM -0700, David O'Brien wrote:
> On Thu, Sep 12, 2002 at 01:27:50PM -0700, Kris Kennaway wrote:
> > How are you supposed to disable -Werror in kernel builds? Setting
> > NO_WERROR in the env or passing it to 'make buildkernel' via -D
> > doesn't work; neither does
On Thu, Sep 12, 2002 at 01:27:50PM -0700, Kris Kennaway wrote:
> How are you supposed to disable -Werror in kernel builds? Setting
> NO_WERROR in the env or passing it to 'make buildkernel' via -D
> doesn't work; neither does putting -Wno-error in COPTFLAGS. I get the
> following fatal warning w
Kris Kennaway <[EMAIL PROTECTED]> writes:
> On Thu, Sep 12, 2002 at 01:52:40PM -0700, Nate Lawson wrote:
> > (who wants NO_WERROR back or better, warns-clean code more often in
> > -current)
>
> NO_WERROR is standard in userland; it should work in the kernel too.
Peter removed support for this a
On Thu, Sep 12, 2002 at 01:52:40PM -0700, Nate Lawson wrote:
> NO_WERROR was removed so the only way is to set in your make.conf:
> WERROR=
>
> This causes the WERROR?=-Werror to not set the flag.
Thanks, Bill Fenner also told me this on IRC. The directions in
/usr/src/UPDATING need to be fixe
On Thu, 12 Sep 2002, Kris Kennaway wrote:
> How are you supposed to disable -Werror in kernel builds? Setting
> NO_WERROR in the env or passing it to 'make buildkernel' via -D
> doesn't work; neither does putting -Wno-error in COPTFLAGS. I get the
> following fatal warning when compiling a recen