Commit Graph

9 Commits

Author SHA1 Message Date
mrg de11d87641 introduce some common variables for use in GCC warning disables:
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."
2019-10-13 07:28:04 +00:00
christos 5084cd4f69 avoid pointer gymnastics 2013-10-19 17:05:58 +00:00
xtraeme b2bb69490d WARNS=4 love. 2008-05-02 19:59:19 +00:00
ad e3af9d1d6b getopt() returns -1 on error, not EOF. 2001-08-18 17:10:04 +00:00
sommerfeld 772dc3bc64 nope, those are unsigned long longs; correct accordingly.. 1999-12-01 03:40:51 +00:00
sommerfeld 71b188db88 Render LL128-safe (fixing printf formats) 1999-11-30 21:13:46 +00:00
itojun 879146211f align stat results better. 1999-11-29 13:53:00 +00:00
itojun 0641b08184 add cnwctl(8), a control program for cnw interface.
from bsdi/freebsd-pao cnwctl(8).
1999-11-29 12:55:06 +00:00
itojun 876c4c29f7 cnw driver controller, from FreeBSD/PAO2 repository 1999-11-29 12:32:17 +00:00