From owner-freebsd-current Mon Feb 25 17:46:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id B115337B400 for ; Mon, 25 Feb 2002 17:46:25 -0800 (PST) Received: from peter3.wemm.org ([12.232.27.13]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020226014625.OGNY1214.rwcrmhc54.attbi.com@peter3.wemm.org> for ; Tue, 26 Feb 2002 01:46:25 +0000 Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id g1Q1kPs65075 for ; Mon, 25 Feb 2002 17:46:25 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 8D6A03BAC for ; Mon, 25 Feb 2002 17:46:24 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: current@freebsd.org Subject: HEADS UP: cvs commit: src/sys/conf kern.pre.mk (fwd) Date: Mon, 25 Feb 2002 17:46:24 -0800 From: Peter Wemm Message-Id: <20020226014624.8D6A03BAC@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG There are a couple of offending files in the kernel still, and some drivers. The things people are most likely to run into are: usb, inet6, and some drivers (twe, asr etc). Yes, you will almost certainly need 'make -DNO_WERROR' for the short term. But do take a look, there is some low hanging fruit there. ------- Forwarded Message Date: Mon, 25 Feb 2002 14:04:33 -0800 From: Peter Wemm To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf kern.pre.mk peter 2002/02/25 14:04:33 PST Modified files: sys/conf kern.pre.mk Log: Turn on -Werror by default. This is is easily turned off, by either: - fix the warnings, they are there for a reason! - add -DNO_ERROR to your make(1) command. - add 'makeoptions NO_WERROR=true' to your kernel config. - add 'nowerror' to conf/files* that have warnings that should be fixed due to tracking 3rd party vendor code. - add 'nowerror' to conf/files* where the warning is false due to a compiler bug and fixing it with brute force would be too expensive. There are some very sloppy warnings in our kernel build, come on folks! 'make release' uses -DNO_WERROR intentionally. Revision Changes Path 1.8 +5 -5 src/sys/conf/kern.pre.mk ------- End of Forwarded Message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message