freebsd-nq/bin
Kyle Evans fe815331bb build: provide a default WARNS for all in-tree builds
The current default is provided in various Makefile.inc in some top-level
directories and covers a good portion of the tree, but doesn't cover parts
of the build a little deeper (e.g. libcasper).

Provide a default in src.sys.mk and set WARNS to it in bsd.sys.mk if that
variable is defined. This lets us relatively cleanly provide a default WARNS
no matter where you're building in the src tree without breaking things
outside of the tree.

Crunchgen has been updated as a bootstrap tool to work on this change
because it needs r365605 at a minimum to succeed. The cleanup necessary to
successfully walk over this change on WITHOUT_CLEAN builds has been added.

There is a supplemental project to this to list all of the warnings that are
encountered when the environment has WARNS=6 NO_WERROR=yes:
https://warns.kevans.dev -- this project will hopefully eventually go away
in favor of CI doing a much better job than it.

Reviewed by:	emaste, brooks, ngie (all earlier version)
Reviewed by:	emaste, arichardson (depend-cleanup.sh change)
Differential Revision:	https://reviews.freebsd.org/D26455
2020-09-18 17:17:46 +00:00
..
cat
chflags
chio chio: avoid out of bounds read 2020-07-26 15:10:33 +00:00
chmod
cp cp: fall back to read/write if copy_file_range fails 2020-09-11 20:49:36 +00:00
csh vfs: add restrictions to read(2) of a directory [1/2] 2020-06-04 18:09:55 +00:00
date date.1: note possibly surprising behaviour of -j -f 2020-08-26 00:31:59 +00:00
dd Add O_DIRECT flag to DD for cache bypass 2020-06-04 20:47:11 +00:00
df
domainname
echo
ed
expr
freebsd-version
getfacl
hostname
kenv
kill
ln
ls ls(1): Update all POSIX references and correct the STANDARDS section 2020-08-31 18:47:56 +00:00
mkdir
mv
pax
pkill
ps ps(1): Fix formatting of the "command" field for kernel threads. 2020-07-28 15:26:19 +00:00
pwait
pwd
realpath
rm
rmail
rmdir
setfacl
sh sh: Write absolute path in command -vV and type 2020-09-01 13:19:15 +00:00
sleep
stty
sync
test
tests
uuidgen
Makefile
Makefile.inc build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00