Re: NO_WERROR: correct usage?

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Tue, 09 Nov 2004 09:55:12 +0100
"Conrad J. Sabatier" <conrads_at_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
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Tue Nov 09 2004 - 07:55:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:21 UTC