From owner-freebsd-current@FreeBSD.ORG Tue Nov 9 08:55:06 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 E751116A4CF for ; Tue, 9 Nov 2004 08:55:06 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE8FB43D5A for ; Tue, 9 Nov 2004 08:55:05 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iA98swti083251; Tue, 9 Nov 2004 10:54:58 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 61065-03; Tue, 9 Nov 2004 10:54:57 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iA98svYf083248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 Nov 2004 10:54:57 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iA98sWkI043377; Tue, 9 Nov 2004 10:54:32 +0200 (EET) (envelope-from ru) Date: Tue, 9 Nov 2004 10:54:32 +0200 From: Ruslan Ermilov To: "Conrad J. Sabatier" Message-ID: <20041109085432.GB43113@ip.net.ua> References: <20041108223815.517366ea@dolphin.local.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0ntfKIWw70PvrIHh" Content-Disposition: inline In-Reply-To: <20041108223815.517366ea@dolphin.local.net> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua 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:07 -0000 --0ntfKIWw70PvrIHh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 08, 2004 at 10:38:15PM -0600, Conrad J. Sabatier wrote: > The description in /usr/src/UPDATING re: the use of NO_WERROR seems to > be incorrect: >=20 > 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. >=20 > 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. >=20 The above does NOT say you should be adding -DNO_WERROR to CFLAGS, it says you should add it "to your make line", e.g.: make buildworld -DNO_WERROR > On the other hand, defining NO_WERROR as a make variable in > /etc/make.conf does seem to work, like so: >=20 > NO_WERROR=3Dtrue >=20 True. ;) > In addition, for kernel builds, it appears that it is necessary to=20 > define: >=20 > WERROR=3D-Wno-error=20 >=20 Or just define it to an empty value. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --0ntfKIWw70PvrIHh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBkIXIqRfpzJluFF4RAvCuAJ42efhpfATEpTdRtd++LyUHtMII6wCeLx5d zTZr7Zc0lxKSg5jYrszY71U= =4oYL -----END PGP SIGNATURE----- --0ntfKIWw70PvrIHh--