NO_WERROR: correct usage?
Dag-Erling Smørgrav
des at des.no
Tue Nov 9 00:55:28 PST 2004
"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
More information about the freebsd-current
mailing list