freebsd-dev/lib/libc
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
..
aarch64
amd64
arm
capability
compat-43
db
gdtoa
gen getlogin_r: fix the type of len 2020-09-09 18:07:13 +00:00
gmon
i386
iconv
include
inet
isc
locale setlocale(3): Add an EXAMPLES section and add LANG category 2020-08-07 17:25:56 +00:00
md
mips
nameser
net
nls
posix1e
powerpc [PowerPC] Implement VDSO timebase access on powerpc* 2020-09-08 03:00:31 +00:00
powerpc64 [PowerPC] Implement VDSO timebase access on powerpc* 2020-09-08 03:00:31 +00:00
powerpcspe [PowerPC] Implement VDSO timebase access on powerpc* 2020-09-08 03:00:31 +00:00
quad
regex
resolv
riscv
rpc
secure
softfloat
stdio
stdlib Follow-up r365371 by removing sentences which indicate the state of the 2020-09-06 09:08:06 +00:00
stdtime
string
sys Fix error checking in shm_create_largepage(). 2020-09-18 12:30:15 +00:00
tests build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
uuid
x86
xdr
yp
libc_nossp.ldscript
libc.ldscript
Makefile
Makefile.depend
Makefile.depend.options
Versions.def