Files
nethack/include
PatR 64f284dd61 USE_OLDARGS update (1 of 2)
Files modified:
    include/tradstdc.h, sp_lev.h, system.h
    util/lev_main.c

Silence a bunch of warnings generated by recent gcc which weren't there
with whatever version I had when 3.6.0 was being readied for release.
For lev_main, there were two basic types:  not enough arguments in calls
to lc_pline, lc_warning, and lc_error (since we weren't passing dummy
arguments as is done for add_opvars), and conversion from 'int' or
narrower to 'char *' (from -Wint-to-pointer-cast, which either wasn't
there yet in the older gcc, or wasn't included in -Wall back then).
[Note that for any configuration decrepit enough to actually need
USE_OLDARGS, such conversions will either work fine or else nethack
simply won't be viable.]

src/pline.c generates a bunch of warnings (for USE_OLDARGS).  The fix
for that will be (2 of 2).

To test, instead of mucking about with CFLAGS or sys/unix/hints, I've
been temporarily adding unconditional
|#undef USE_STDARG
|#undef USE_VARARGS
|#define USE_OLDARGS
to the end of config1.h and then doing my normal build--which is why
-Wall (or possibly -W) is drawing -Wint-to-pointer-cast warnings.
2017-08-02 18:23:42 -07:00
..
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-30 22:41:30 -07:00
2016-10-10 16:18:20 +03:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:15 +09:00
2016-01-15 21:05:58 -08:00
2015-10-17 13:15:46 +03:00
2015-10-17 12:28:52 +03:00
2017-02-19 15:33:27 +02:00
2016-02-19 10:41:35 -08:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2016-10-10 16:18:20 +03:00
2015-05-25 09:21:31 +09:00
2016-10-05 20:04:56 +03:00
2015-05-25 09:21:15 +09:00
2017-06-23 18:44:35 -07:00
2015-05-25 09:21:31 +09:00
2016-02-03 23:39:24 -08:00
2015-05-25 09:21:15 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-10-17 13:15:46 +03:00
2015-11-17 02:26:17 -08:00
2015-11-17 02:26:17 -08:00
2015-05-25 09:21:31 +09:00
2016-10-10 16:18:20 +03:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2016-10-10 16:18:20 +03:00
2015-05-25 09:21:31 +09:00
2016-06-21 17:32:02 -07:00
2015-05-25 09:21:31 +09:00
2016-10-10 16:18:20 +03:00
2015-05-25 09:21:31 +09:00
2016-10-10 16:18:20 +03:00
2015-05-25 09:21:31 +09:00
2015-12-31 17:26:25 -05:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-11-17 02:26:17 -08:00
2015-12-17 08:46:04 +02:00
2015-05-25 15:49:44 -07:00
2015-05-25 09:21:15 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-10-17 18:47:31 +03:00
2015-10-17 12:28:52 +03:00
2017-08-02 18:23:42 -07:00
2015-05-25 09:21:31 +09:00
2017-02-19 15:33:27 +02:00
2017-08-02 18:23:42 -07:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2017-08-02 18:23:42 -07:00
2016-10-10 16:18:20 +03:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-10-17 18:47:31 +03:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2016-10-10 16:18:20 +03:00
2016-03-04 00:13:23 -08:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2016-06-01 05:58:22 -07:00
2015-10-17 18:47:31 +03:00