NetBSD/games/hack
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
..
alloc.c Use the right type for the malloc wrapper function, and don't cast the 2011-08-06 20:18:26 +00:00
config.h <sys/wait.h> is standard, so just use it instead of fiddling about with 2011-08-06 19:53:24 +00:00
COPYRIGHT
COPYRIGHT-JF
data
date.h
def.edog.h
def.eshk.h
def.flag.h
def.func_tab.h
def.gen.h Use the right type for the malloc wrapper function, and don't cast the 2011-08-06 20:18:26 +00:00
def.gold.h Use the right type for the malloc wrapper function, and don't cast the 2011-08-06 20:18:26 +00:00
def.mkroom.h
def.monst.h - document non-literal format strings 2011-08-16 09:26:22 +00:00
def.obj.h Use the right type for the malloc wrapper function, and don't cast the 2011-08-06 20:18:26 +00:00
def.objclass.h Don't refer to index() in comments; use strchr(). 2011-08-06 19:23:38 +00:00
def.objects.h
def.permonst.h
def.rm.h
def.trap.h Use the right type for the malloc wrapper function, and don't cast the 2011-08-06 20:18:26 +00:00
def.wseg.h Use the right type for the malloc wrapper function, and don't cast the 2011-08-06 20:18:26 +00:00
extern.h Mark error() as dead, so that validation for setclipped works correctly. 2011-08-27 23:42:33 +00:00
hack.6
hack.apply.c Fix up some lint. 2011-08-07 06:03:45 +00:00
hack.bones.c Include system headers before private headers. Avoids various possible 2011-07-20 07:04:30 +00:00
hack.c Fix up some lint. 2011-08-07 06:03:45 +00:00
hack.cmd.c Fix up still more casts; use NULL instead of (char *)0. 2011-08-06 20:42:43 +00:00
hack.Decl.c
hack.do_name.c Fix up some lint. 2011-08-07 06:03:45 +00:00
hack.do_wear.c
hack.do.c Remove more silly casts. 2011-08-06 20:29:37 +00:00
hack.dog.c Fix up some lint. 2011-08-07 06:03:45 +00:00
hack.eat.c - done() can return in wizard mode. don't NOTREACHED'd it 2019-02-04 03:33:15 +00:00
hack.end.c Fix up still more casts; use NULL instead of (char *)0. 2011-08-06 20:42:43 +00:00
hack.engrave.c Fix up some lint. 2011-08-07 06:03:45 +00:00
hack.fight.c
hack.fix
hack.h Use the right type for the malloc wrapper function, and don't cast the 2011-08-06 20:18:26 +00:00
hack.invent.c Fix up some lint. 2011-08-07 06:03:45 +00:00
hack.ioctl.c Fix up still more casts; use NULL instead of (char *)0. 2011-08-06 20:42:43 +00:00
hack.lev.c Remove *another* set of useless casts. sheesh 2011-08-06 20:32:25 +00:00
hack.main.c Fix up still more casts; use NULL instead of (char *)0. 2011-08-06 20:42:43 +00:00
hack.makemon.c
hack.mfndpos.h
hack.mhitu.c
hack.mklev.c Fix up still more casts; use NULL instead of (char *)0. 2011-08-06 20:42:43 +00:00
hack.mkmaze.c
hack.mkobj.c Fix up some lint. 2011-08-07 06:03:45 +00:00
hack.mkshop.c Fix up some lint. 2011-08-07 06:03:45 +00:00
hack.mon.c Fix up some lint. 2011-08-07 06:03:45 +00:00
hack.monst.c - document non-literal format strings 2011-08-16 09:26:22 +00:00
hack.o_init.c Fix up still more casts; use NULL instead of (char *)0. 2011-08-06 20:42:43 +00:00
hack.objnam.c Fix up some lint. 2011-08-07 06:03:45 +00:00
hack.options.c
hack.pager.c reinstate NULL cast by request, where the NULL was being passed as a vararg 2011-09-01 07:18:50 +00:00
hack.potion.c
hack.pri.c
hack.read.c Remove more silly casts. 2011-08-06 20:29:37 +00:00
hack.rip.c
hack.rumors.c Use the right type for the malloc wrapper function, and don't cast the 2011-08-06 20:18:26 +00:00
hack.save.c Fix up still more casts; use NULL instead of (char *)0. 2011-08-06 20:42:43 +00:00
hack.search.c
hack.sh
hack.shk.c WARNS=5, and make WARNS=5 the default for src/games. 2012-06-19 05:46:08 +00:00
hack.shknam.c WARNS=5, and make WARNS=5 the default for src/games. 2012-06-19 05:46:08 +00:00
hack.steal.c Remove more silly casts. 2011-08-06 20:29:37 +00:00
hack.terminfo.c Use tiparm instead of vtparm. 2011-10-03 12:32:15 +00:00
hack.timeout.c
hack.topl.c Remove more silly casts. 2011-08-06 20:29:37 +00:00
hack.track.c
hack.trap.c Fix up some lint. 2011-08-07 06:03:45 +00:00
hack.tty.c Fix up still more casts; use NULL instead of (char *)0. 2011-08-06 20:42:43 +00:00
hack.u_init.c Remove the PYRAMID_BUG code. I don't think Pyramids are coming back, nor 2011-08-06 19:32:58 +00:00
hack.unix.c - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
hack.vault.c - document non-literal format strings 2011-08-16 09:26:22 +00:00
hack.version.c
hack.wield.c rename a variable from "time" to "stime" (it's a string) 2011-07-02 02:09:08 +00:00
hack.wizard.c Fix up some lint. 2011-08-07 06:03:45 +00:00
hack.worm.c Remove more silly casts. 2011-08-06 20:29:37 +00:00
hack.worn.c
hack.zap.c
help
hh
makedefs.c
Makefile introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
Makequest
Original_READ_ME
OWNER
pathnames.h
READ_ME
rnd.c
rumors 1) "It's its" 2014-10-18 06:40:18 +00:00