Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Nov 2004 09:55:12 +0100
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        "Conrad J. Sabatier" <conrads@cox.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: NO_WERROR: correct usage?
Message-ID:  <xzpwtwv5rm7.fsf@dwp.des.no>
In-Reply-To: <20041108223815.517366ea@dolphin.local.net> (Conrad J. Sabatier's message of "Mon, 8 Nov 2004 22:38:15 -0600")
References:  <20041108223815.517366ea@dolphin.local.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"Conrad J. Sabatier" <conrads@cox.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpwtwv5rm7.fsf>