Subject: Re: misc/3301: Allow -Werror to be turned off
To: None <sjg@quick.com.au>
From: Chris G. Demetriou <cgd@cs.cmu.edu>
List: netbsd-bugs
Date: 03/08/1997 15:36:22
> >Description:
>
> Often when building current, some parts of the system will not compile
> with -Werror, also many 3rd party software will not compile with this
> flag. Fixing all the warnings in all the s/w in the world is
> unrealistic, so hard coding -Werror is counter productive.
(1) If parts of the system will not compile with -Werror, that is a
BUG, period. All software in NetBSD should compile with -Werror. As
you've noted, sometimes in -current it won't but there are often other
bugs in -current as well. The right solution is always to fix the
bugs.
(2) Third-party software should probably not be using bsd.sys.mk.
Note that bsd.sys.mk is only used by the bsd.*.mk definitions,
i.e. for programs intended to be built in the native environment.
Normal third-party software uses sys.mk for its make rules, and
doesn't include bsd.sys.mk.
cgd