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':
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 should only be
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 recent
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 fixed
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 while
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 when
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