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 |
||
---|---|---|
.. | ||
tests | ||
AUTHORS | ||
ChangeLog | ||
closeout.c | ||
closeout.h | ||
config.h | ||
COPYING | ||
dfa.c | ||
dfa.h | ||
error.c | ||
error.h | ||
exclude.c | ||
exclude.h | ||
FREEBSD-upgrade | ||
getpagesize.h | ||
grep.1 | ||
grep.c | ||
grep.h | ||
grepmat.c | ||
hard-locale.c | ||
hard-locale.h | ||
isdir.c | ||
kwset.c | ||
kwset.h | ||
Makefile | ||
Makefile.depend | ||
NEWS | ||
obstack.c | ||
obstack.h | ||
quotearg.c | ||
quotearg.h | ||
README | ||
savedir.c | ||
savedir.h | ||
search.c | ||
system.h | ||
THANKS | ||
xalloc.h | ||
xmalloc.c | ||
xstrtol.c | ||
xstrtol.h | ||
xstrtoumax.c |
This is GNU grep, the "fastest grep in the west" (we hope). All bugs reported in previous releases have been fixed. Many exciting new bugs have probably been introduced in this revision. GNU grep is provided "as is" with no warranty. The exact terms under which you may use and (re)distribute this program are detailed in the GNU General Public License, in the file COPYING. GNU grep is based on a fast lazy-state deterministic matcher (about twice as fast as stock Unix egrep) hybridized with a Boyer-Moore-Gosper search for a fixed string that eliminates impossible text from being considered by the full regexp matcher without necessarily having to look at every character. The result is typically many times faster than Unix grep or egrep. (Regular expressions containing backreferencing will run more slowly, however.) See the files AUTHORS and THANKS for a list of authors and other contributors. See the file INSTALL for compilation and installation instructions. See the file NEWS for a description of major changes in this release. See the file TODO for ideas on how you could help us improve grep. Send bug reports to bug-gnu-utils@gnu.org. Be sure to include the word "grep" in your Subject: header field.