From owner-freebsd-current@FreeBSD.ORG Tue Nov 9 08:55:28 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF23816A5F1 for ; Tue, 9 Nov 2004 08:55:28 +0000 (GMT) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0488B43D2F for ; Tue, 9 Nov 2004 08:55:28 +0000 (GMT) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id AD85D5310; Tue, 9 Nov 2004 09:55:26 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id C20345312; Tue, 9 Nov 2004 09:55:12 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id 9E7B5B861; Tue, 9 Nov 2004 09:55:12 +0100 (CET) To: "Conrad J. Sabatier" References: <20041108223815.517366ea@dolphin.local.net> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Tue, 09 Nov 2004 09:55:12 +0100 In-Reply-To: <20041108223815.517366ea@dolphin.local.net> (Conrad J. Sabatier's message of "Mon, 8 Nov 2004 22:38:15 -0600") Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.64 cc: freebsd-current@freebsd.org Subject: Re: NO_WERROR: correct usage? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 08:55:28 -0000 "Conrad J. Sabatier" writes: > The description in /usr/src/UPDATING re: the use of NO_WERROR seems to > be incorrect: > > 20020815: > A "bug" in gcc(1) that was hiding warning in system headers was > fixed. It's probably time to add -DNO_WERROR to your make line > again. > > Adding "-DNO_WERROR" to CFLAGS in /etc/make.conf seems to have no > effect; the "-Werror" switch still gets added at certain places during > the build. Look again. It doesn't say anything about CFLAGS. It uses the slightly confusing term "make line", which refers to the make(1) command line, as in: # cd /usr/src # make buildworld -DNO_WERROR In any case, the problems this UPDATING entry was meant to address were fixed a long time ago, and you do not need NO_WERROR. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no