summaryrefslogtreecommitdiff
path: root/usr.bin/man/Makefile
AgeCommit message (Collapse)Author
2023-06-03bsd.own.mk: rename GCC_NO_* to CC_WNO_*lukem
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler. GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2019-10-13introduce some common variables for use in GCC warning disables:mrg
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8) use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come. we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
2014-02-17config() in manconf.c now verifies _build (and _crunch) commanduwe
templates with fmtcheck(3) so annotate the printf that uses these commands as safe with a __format_arg wrapper and drop -Wno-format-nonliteral. XXX: Using local wrapper for now, solving this in general would be nice, but it raises namespace pollution issues. XXX^2: catman(8) also uses manconf.c and uses _build and _crunch so it can also benefit from this (but see above).
2013-07-19Use -Wno-format-nonliteral instead of blanket -Wno-format.uwe
2013-07-18use -Wno-format and revert "fixstring"christos
2013-07-18WARNS=6christos
- fix cast qual issues - don't use snprintf on a user-provided buffer
2009-04-14Enable WARNS=4 by default for usr.bin, except for:lukem
awk bdes checknr compile_et error gss hxtool kgetcred kinit klist ldd less lex locale login m4 man menuc mk_cmds mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh string2key telnet tn3270 verify_krb5_conf xlint
2007-10-05Convert to using raise_default_signal(3).lukem
2006-10-08WFORMAT is no more...peter
2002-09-13Rename man/config.{c,h} to man/manconf.{c,h}, so we don't have tothorpej
worry about problems including "config.h" when building as a host tool.
2000-10-11More format string cleanup by sommerfeld.is
1995-09-28Sync with 4.4BSD-Lite2tls
1994-12-22specify man pages the new way.cgd
1993-12-21add man(1) ; part of new man(1) package from Bosticcgd
1993-07-31Add RCS indentifiers.mycroft
1993-07-27Add makewhatis scriptjtc
1993-03-21initial import of 386bsd-0.1 sourcescgd