=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for hercules4sdl-4.6
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory '/tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6'
Making all in m4
gmake[2]: Entering directory '/tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6/m4'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6/m4'
Making all in util
gmake[2]: Entering directory '/tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6/util'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6/util'
Making all in html
gmake[2]: Entering directory '/tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6/html'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6/html'
Making all in man
gmake[2]: Entering directory '/tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6/man'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6/man'
Making all in .
gmake[2]: Entering directory '/tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6'
  CC       cckdcdsk.o
  CC       hsys.lo
  CC       codepage.lo
  CC       hdl.lo
  CC       hexdumpe.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from hdl.c:10:
hdl.c: In function 'hdl_build_devmod_name':
hdl.c:1103:40: warning: array subscript has type 'char' [-Wchar-subscripts]
 1103 |         dtname[ len ] = tolower( dtname[ len ]);
      |                                        ^
  CC       hostinfo.lo
  CC       hscutl.lo
  CC       hsocket.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from hscutl.c:20:
hscutl.c: In function 'parse_args':
hscutl.c:1706:30: warning: array subscript has type 'char' [-Wchar-subscripts]
 1706 |         while (*p && isspace(*p))
      |                              ^
hscutl.c:1724:31: warning: array subscript has type 'char' [-Wchar-subscripts]
 1724 |         while (*p && !isspace(*p) && *p != '\"' && *p != '\'')
      |                               ^
hscutl.c: In function 'string_to_upper':
hscutl.c:1803:36: warning: array subscript has type 'char' [-Wchar-subscripts]
 1803 |         source[i] = toupper( source[i] );
      |                                    ^
hscutl.c: In function 'string_to_lower':
hscutl.c:1809:36: warning: array subscript has type 'char' [-Wchar-subscripts]
 1809 |         source[i] = tolower( source[i] );
      |                                    ^
  CC       hthreads.lo
In file included from msgenu.h:19,
                 from hercules.h:104,
                 from hthreads.c:19:
hthreads.c: In function 'locks_cmd':
printfmt.h:120:33: warning: format '%lx' expects argument of type 'long unsigned int *', but argument 3 has type 'struct __pthread_st **' [-Wformat=]
  120 |   #define SCN_TIDPAT            "%"PRIx64       // complete format spec
      |                                 ^~~
hthreads.c:1295:31: note: in expansion of macro 'SCN_TIDPAT'
 1295 |     else if (sscanf( argv[1], SCN_TIDPAT "%c", &tid, &c ) != 1)
      |                               ^~~~~~~~~~
In file included from /usr/include/sys/inttypes.h:43,
                 from /usr/include/sys/mutex.h:137,
                 from /usr/include/net/if.h:87,
                 from /usr/include/net/route.h:40,
                 from hstdinc.h:154,
                 from hthreads.c:14:
/usr/include/alpha/int_fmtio.h:109:19: note: format string is defined here
  109 | #define PRIx64  "lx" /* uint64_t  */
In file included from msgenu.h:19,
                 from hercules.h:104,
                 from hthreads.c:19:
hthreads.c: In function 'threads_cmd':
printfmt.h:120:33: warning: format '%lx' expects argument of type 'long unsigned int *', but argument 3 has type 'struct __pthread_st **' [-Wformat=]
  120 |   #define SCN_TIDPAT            "%"PRIx64       // complete format spec
      |                                 ^~~
hthreads.c:1563:31: note: in expansion of macro 'SCN_TIDPAT'
 1563 |     else if (sscanf( argv[1], SCN_TIDPAT "%c", &tid, &c ) != 1)
      |                               ^~~~~~~~~~
In file included from /usr/include/sys/inttypes.h:43,
                 from /usr/include/sys/mutex.h:137,
                 from /usr/include/net/if.h:87,
                 from /usr/include/net/route.h:40,
                 from hstdinc.h:154,
                 from hthreads.c:14:
/usr/include/alpha/int_fmtio.h:109:19: note: format string is defined here
  109 | #define PRIx64  "lx" /* uint64_t  */
  CC       logger.lo
  CC       logmsg.lo
  CC       machdep.lo
  CC       memrchr.lo
  CC       parser.lo
  CC       pttrace.lo
  CC       version.lo
  CC       hetlib.lo
  CC       ftlib.lo
  CC       sllib.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from sllib.c:8:
sllib.c: In function 'sl_ds1':
sllib.c:1161:30: warning: array subscript has type 'char' [-Wchar-subscripts]
 1161 |         gdg += ( isdigit( dsn[ len - 7 ] ) !=  0  );
      |                              ^
sllib.c:1162:30: warning: array subscript has type 'char' [-Wchar-subscripts]
 1162 |         gdg += ( isdigit( dsn[ len - 6 ] ) !=  0  );
      |                              ^
sllib.c:1163:30: warning: array subscript has type 'char' [-Wchar-subscripts]
 1163 |         gdg += ( isdigit( dsn[ len - 5 ] ) !=  0  );
      |                              ^
sllib.c:1164:30: warning: array subscript has type 'char' [-Wchar-subscripts]
 1164 |         gdg += ( isdigit( dsn[ len - 4 ] ) !=  0  );
      |                              ^
sllib.c:1166:30: warning: array subscript has type 'char' [-Wchar-subscripts]
 1166 |         gdg += ( isdigit( dsn[ len - 2 ] ) !=  0  );
      |                              ^
sllib.c:1167:30: warning: array subscript has type 'char' [-Wchar-subscripts]
 1167 |         gdg += ( isdigit( dsn[ len - 1 ] ) !=  0  );
      |                              ^
  CC       cache.lo
  CC       cckddasd.lo
In file included from /usr/include/stdio.h:595,
                 from hstdinc.h:112,
                 from cckddasd.c:16:
cckddasd.c: In function 'cckd_trace':
cckddasd.c:6715:13: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'suseconds_t' {aka 'int'} [-Wformat=]
 6715 |             "%s.%6.6ld %1d:%04X ",          // "hh:mm:ss.uuuuuu n:CCUU "
      |             ^~~~~~~~~~~~~~~~~~~~~
 6716 |             todwrk + 11,                    // "hh:mm:ss" (%s)
 6717 |             timeval.tv_usec,                // "uuuuuu"   (%6.6ld
      |             ~~~~~~~~~~~~~~~
      |                    |
      |                    suseconds_t {aka int}
cckddasd.c:6713:9: note: in expansion of macro 'MSGBUF'
 6713 |         MSGBUF( trcpfx,
      |         ^~~~~~
cckddasd.c:6715:22: note: format string is defined here
 6715 |             "%s.%6.6ld %1d:%04X ",          // "hh:mm:ss.uuuuuu n:CCUU "
      |                 ~~~~~^
      |                      |
      |                      long int
      |                 %6.6d
  CC       cckdutil.lo
  CC       ckddasd.lo
  CC       cckddasd64.lo
  CC       cckdutil64.lo
  CC       ckddasd64.lo
  CC       dasdtab.lo
  CC       dasdutil.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from dasdutil.c:12:
dasdutil.c: In function 'open_ckd_image':
dasdutil.c:585:26: warning: array subscript has type 'char' [-Wchar-subscripts]
  585 |             if (!isdigit(*p))  /* (port numbers are always numeric) */
      |                          ^
  CC       fbadasd.lo
  CC       dasdutil64.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from dasdutil64.c:12:
dasdutil64.c: In function 'open_ckd64_image':
dasdutil64.c:80:26: warning: array subscript has type 'char' [-Wchar-subscripts]
   80 |             if (!isdigit(*p))  /* (port numbers are always numeric) */
      |                          ^
  CC       fbadasd64.lo
  CC       shared.lo
  CC       _archdep_templ.lo
  CC       archlvl.lo
  CC       assist.lo
In file included from hercules.h:105,
                 from assist.c:27:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       bldcfg.lo
  CC       cgibin.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from cgibin.c:59:
cgibin.c: In function 'cgibin_cmd_cmd':
cgibin.c:1274:20: warning: array subscript has type 'char' [-Wchar-subscripts]
 1274 |     while (isspace(*command))
      |                    ^
  CC       channel.lo
  CC       chsc.lo
In file included from hercules.h:105,
                 from channel.c:41:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
In file included from hercules.h:105,
                 from chsc.c:21:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       clock.lo
In file included from hercules.h:105,
                 from clock.c:100:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       cmdtab.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from cmdtab.c:13:
cmdtab.c: In function 'the_real_panel_command':
cmdtab.c:764:34: warning: array subscript has type 'char' [-Wchar-subscripts]
  764 |     while (*pCmdLine && isspace( *pCmdLine ))
      |                                  ^
cmdtab.c:783:46: warning: array subscript has type 'char' [-Wchar-subscripts]
  783 |                 while (*pCmdLine && isspace( *pCmdLine ))
      |                                              ^
  CC       cmpsc_2012.lo
In file included from hercules.h:105,
                 from cmpsc_2012.c:51:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       cmpscdbg.lo
  CC       cmpscdct.lo
In file included from hercules.h:105,
                 from cmpscdct.c:14:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       cmpscget.lo
  CC       cmpscmem.lo
  CC       cmpscput.lo
In file included from hercules.h:105,
                 from cmpscmem.c:14:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       config.lo
In file included from hercules.h:104,
                 from config.c:20:
config.c: In function 'configure_cpu':
config.c:1079:57: warning: format '%d' expects argument of type 'int', but argument 8 has type 'long int' [-Wformat=]
 1079 |             WRMSG( HHC00111, "I", _POSIX_THREAD_CPUTIME );
      |                                                         ^
msgenu.h:99:98: note: in definition of macro 'PFWRITEMSG'
   99 | #define PFWRITEMSG( pan, f, fmt, ... ) fwritemsg( __FILE__, __LINE__, __FUNCTION__, pan,   f,    fmt, ## __VA_ARGS__ )
      |                                                                                                  ^~~
msgenu.h:108:36: note: in expansion of macro 'PWRITEMSG'
  108 | #define  LOGMSG(      fmt,   ... ) PWRITEMSG(  WRMSG_NORMAL,       fmt,                 ## __VA_ARGS__ )
      |                                    ^~~~~~~~~
msgenu.h:110:36: note: in expansion of macro 'LOGMSG'
  110 | #define  WRMSG(     id, sev, ... ) LOGMSG(                      #id "%s " id "\n", sev, ## __VA_ARGS__ )
      |                                    ^~~~~~
config.c:1079:13: note: in expansion of macro 'WRMSG'
 1079 |             WRMSG( HHC00111, "I", _POSIX_THREAD_CPUTIME );
      |             ^~~~~
  CC       control.lo
In file included from hercules.h:105,
                 from control.c:44:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       cpu.lo
In file included from hercules.h:105,
                 from cpu.c:43:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       crypto.lo
  CC       dat.lo
In file included from hercules.h:105,
                 from dat.c:33:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       decimal.lo
  CC       dfp.lo
In file included from hercules.h:105,
                 from decimal.c:36:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
In file included from hercules.h:105,
                 from dfp.c:19:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       diagmssf.lo
In file included from hercules.h:105,
                 from diagmssf.c:24:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       diagnose.lo
In file included from hercules.h:105,
                 from diagnose.c:25:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       dyn76.lo
In file included from hercules.h:105,
                 from dyn76.c:21:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       ecpsvm.lo
In file included from hercules.h:105,
                 from ecpsvm.c:189:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       esame.lo
  CC       external.lo
In file included from hercules.h:105,
                 from esame.c:30:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
In file included from hercules.h:105,
                 from external.c:35:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       facility.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from facility.c:9:
facility.c: In function 'facility_query':
facility.c:1765:21: warning: array subscript has type 'char' [-Wchar-subscripts]
 1765 |         && isdigit( *p )
      |                     ^
facility.c: In function 'facility_enable_disable':
facility.c:4519:26: warning: array subscript has type 'char' [-Wchar-subscripts]
 4519 |             || !isdigit( *p )
      |                          ^
  CC       fillfnam.lo
fillfnam.c: In function 'tab_pressed':
fillfnam.c:146:32: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types]
  146 |   n = scandir(path, &namelist, filter, alphasort);
      |                                ^~~~~~
      |                                |
      |                                int (*)(struct dirent *)
In file included from hstdinc.h:215,
                 from fillfnam.c:8:
/usr/include/dirent.h:112:5: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
  112 |     int (*)(const struct dirent *), int (*)(const struct dirent **,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       float.lo
  CC       general1.lo
In file included from hercules.h:105,
                 from general1.c:41:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
In file included from hercules.h:105,
                 from float.c:41:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       general2.lo
In file included from hercules.h:105,
                 from general2.c:42:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       general3.lo
In file included from hercules.h:105,
                 from general3.c:20:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       hao.lo
  CC       hbyteswp.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from hao.c:17:
hao.c: In function 'hao_message':
hao.c:810:47: warning: array subscript has type 'char' [-Wchar-subscripts]
  810 |                     if (*p == '$' && isdigit(p[1]))
      |                                               ^
hao.c:812:38: warning: array subscript has type 'char' [-Wchar-subscripts]
  812 |                         if (isdigit(p[2]))
      |                                      ^
  CC       hconsole.lo
  CC       hdiagf18.lo
In file included from hercules.h:105,
                 from hdiagf18.c:47:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       history.lo
  CC       hRexx.lo
  CC       hRexx_o.lo
  CC       hRexx_r.lo
  CC       hsccmd.lo
  CC       hscemode.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from hsccmd.c:51:
hsccmd.c: In function 'engines_cmd':
hsccmd.c:3287:29: warning: array subscript has type 'char' [-Wchar-subscripts]
 3287 |             if (isdigit(styp[0]))
      |                             ^
hsccmd.c: In function 'cnslport_cmd':
hsccmd.c:4200:31: warning: array subscript has type 'char' [-Wchar-subscripts]
 4200 |             if (!isdigit( port[i] ))
      |                               ^
hsccmd.c: In function 'sysgport_cmd':
hsccmd.c:4343:35: warning: array subscript has type 'char' [-Wchar-subscripts]
 4343 |                 if (!isdigit( port[i] ))
      |                                   ^
hsccmd.c: In function 'sh_cmd':
hsccmd.c:4732:33: warning: array subscript has type 'char' [-Wchar-subscripts]
 4732 |     for (cmdline += 2; isspace( *cmdline ); ++cmdline) /* (nop) */;
      |                                 ^
hsccmd.c: In function 'stsi_model_cmd':
hsccmd.c:5116:43: warning: array subscript has type 'char' [-Wchar-subscripts]
 5116 |                     if (!isalnum( model[m][i] ) ||
      |                                           ^
hsccmd.c:5117:43: warning: array subscript has type 'char' [-Wchar-subscripts]
 5117 |                        (!isupper( model[m][i] ) && !isdigit( model[m][i] )))
      |                                           ^
hsccmd.c:5117:70: warning: array subscript has type 'char' [-Wchar-subscripts]
 5117 |                        (!isupper( model[m][i] ) && !isdigit( model[m][i] )))
      |                                                                      ^
hsccmd.c: In function 'stsi_plant_cmd':
hsccmd.c:5208:33: warning: array subscript has type 'char' [-Wchar-subscripts]
 5208 |             if (isalnum( argv[1][i] ) &&
      |                                 ^
hsccmd.c:5209:33: warning: array subscript has type 'char' [-Wchar-subscripts]
 5209 |                (isupper( argv[1][i] ) || isdigit( argv[1][i] )))
      |                                 ^
hsccmd.c:5209:58: warning: array subscript has type 'char' [-Wchar-subscripts]
 5209 |                (isupper( argv[1][i] ) || isdigit( argv[1][i] )))
      |                                                          ^
hsccmd.c: In function 'stsi_manufacturer_cmd':
hsccmd.c:5266:33: warning: array subscript has type 'char' [-Wchar-subscripts]
 5266 |             if (isalnum( argv[1][i] ) &&
      |                                 ^
hsccmd.c:5267:33: warning: array subscript has type 'char' [-Wchar-subscripts]
 5267 |                (isupper( argv[1][i] ) || isdigit( argv[1][i] )))
      |                                 ^
hsccmd.c:5267:58: warning: array subscript has type 'char' [-Wchar-subscripts]
 5267 |                (isupper( argv[1][i] ) || isdigit( argv[1][i] )))
      |                                                          ^
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from hscemode.c:12:
hscemode.c: In function 'trace_cmd':
hscemode.c:1240:34: warning: array subscript has type 'char' [-Wchar-subscripts]
 1240 |     cmdline[0] = tolower( cmdline[0] );
      |                                  ^
hsccmd.c: In function 'mt_cmd':
hsccmd.c:7203:34: warning: array subscript has type 'char' [-Wchar-subscripts]
 7203 |             if ( !isdigit(argv[3][rc]) )
      |                                  ^
hsccmd.c: In function 'qproc_cmd':
hsccmd.c:9409:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 9409 |             if (getrusage( (int) sysblk.cputid[i], &rusage ) == 0)
      |                            ^
In file included from hercules.h:105,
                 from hsccmd.c:58:
hsccmd.c: At top level:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       hscloc.lo
  CC       hscmisc.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from hscmisc.c:10:
hscmisc.c: In function 's370_disasm_stor':
hscmisc.c:360:21: warning: array subscript has type 'char' [-Wchar-subscripts]
  360 |     type = toupper( *opnd );
      |                     ^
hscmisc.c: In function 's370_alter_display_real_or_abs':
hscmisc.c:490:36: warning: array subscript has type 'char' [-Wchar-subscripts]
  490 |         absorr[i] = toupper(argv[0][i]);
      |                                    ^
hscmisc.c: In function 's370_alter_display_virt':
hscmisc.c:656:21: warning: array subscript has type 'char' [-Wchar-subscripts]
  656 |     type = toupper( *opnd );
      |                     ^
hscmisc.c: In function 's390_disasm_stor':
hscmisc.c:360:21: warning: array subscript has type 'char' [-Wchar-subscripts]
  360 |     type = toupper( *opnd );
      |                     ^
hscmisc.c: In function 's390_alter_display_real_or_abs':
hscmisc.c:490:36: warning: array subscript has type 'char' [-Wchar-subscripts]
  490 |         absorr[i] = toupper(argv[0][i]);
      |                                    ^
hscmisc.c: In function 's390_alter_display_virt':
hscmisc.c:656:21: warning: array subscript has type 'char' [-Wchar-subscripts]
  656 |     type = toupper( *opnd );
      |                     ^
hscmisc.c: In function 'z900_disasm_stor':
hscmisc.c:360:21: warning: array subscript has type 'char' [-Wchar-subscripts]
  360 |     type = toupper( *opnd );
      |                     ^
hscmisc.c: In function 'z900_alter_display_real_or_abs':
hscmisc.c:490:36: warning: array subscript has type 'char' [-Wchar-subscripts]
  490 |         absorr[i] = toupper(argv[0][i]);
      |                                    ^
hscmisc.c: In function 'z900_alter_display_virt':
hscmisc.c:656:21: warning: array subscript has type 'char' [-Wchar-subscripts]
  656 |     type = toupper( *opnd );
      |                     ^
In file included from hercules.h:105,
                 from hscmisc.c:15:
hscmisc.c: At top level:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       hscpufun.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from hscpufun.c:12:
hscpufun.c: In function 'ipl_cmd2':
hscpufun.c:467:45: warning: array subscript has type 'char' [-Wchar-subscripts]
  467 |                         if (islower( argv[i][j] ))
      |                                             ^
hscpufun.c:468:58: warning: array subscript has type 'char' [-Wchar-subscripts]
  468 |                             argv[i][j] = toupper( argv[i][j] );
      |                                                          ^
  CC       httpserv.lo
  CC       ieee.lo
In file included from hercules.h:105,
                 from ieee.c:109:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       impl.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from impl.c:17:
impl.c: In function 'process_args':
impl.c:1738:45: warning: array subscript has type 'char' [-Wchar-subscripts]
 1738 |                             if (islower( sym[j] ))
      |                                             ^
impl.c:1739:54: warning: array subscript has type 'char' [-Wchar-subscripts]
 1739 |                                 sym[j] = toupper( sym[j] );
      |                                                      ^
impl.c: At top level:
impl.c:798:20: warning: inline function 'z900_get_storage_key' declared but never defined
  798 | extern inline BYTE z900_get_storage_key( U64 abs );
      |                    ^~~~~~~~~~~~~~~~~~~~
impl.c:797:20: warning: inline function 's390_get_storage_key' declared but never defined
  797 | extern inline BYTE s390_get_storage_key( U64 abs );
      |                    ^~~~~~~~~~~~~~~~~~~~
impl.c:796:20: warning: inline function 's370_get_storage_key' declared but never defined
  796 | extern inline BYTE s370_get_storage_key( U64 abs );
      |                    ^~~~~~~~~~~~~~~~~~~~
  CC       inline.lo
  CC       io.lo
In file included from hercules.h:105,
                 from io.c:43:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       ipl.lo
In file included from hercules.h:105,
                 from ipl.c:27:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       loadmem.lo
  CC       loadparm.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from loadparm.c:15:
loadparm.c: In function 'copy_stringz_to_ebcdic':
loadparm.c:183:26: warning: array subscript has type 'char' [-Wchar-subscripts]
  183 |         if ( isalnum(name[i]) )
      |                          ^
loadparm.c:185:58: warning: array subscript has type 'char' [-Wchar-subscripts]
  185 |             temp_fld[i] = host_to_guest((int)toupper(name[i]));
      |                                                          ^
loadparm.c: In function 'set_loadparm':
loadparm.c:100:35: warning: array subscript has type 'char' [-Wchar-subscripts]
  100 |              if (isprint((_source)[i])) \
      |                                   ^
loadparm.c:240:5: note: in expansion of macro 'set_static'
  240 |     set_static(gsysinfo.loadparm, name);
      |     ^~~~~~~~~~
loadparm.c:101:67: warning: array subscript has type 'char' [-Wchar-subscripts]
  101 |                  _target[i] = host_to_guest((int)toupper((_source)[i])); \
      |                                                                   ^
loadparm.c:240:5: note: in expansion of macro 'set_static'
  240 |     set_static(gsysinfo.loadparm, name);
      |     ^~~~~~~~~~
loadparm.c: In function 'set_lparname':
loadparm.c:100:35: warning: array subscript has type 'char' [-Wchar-subscripts]
  100 |              if (isprint((_source)[i])) \
      |                                   ^
loadparm.c:273:5: note: in expansion of macro 'set_static'
  273 |     set_static(gsysinfo.lparname, name);
      |     ^~~~~~~~~~
loadparm.c:101:67: warning: array subscript has type 'char' [-Wchar-subscripts]
  101 |                  _target[i] = host_to_guest((int)toupper((_source)[i])); \
      |                                                                   ^
loadparm.c:273:5: note: in expansion of macro 'set_static'
  273 |     set_static(gsysinfo.lparname, name);
      |     ^~~~~~~~~~
loadparm.c: In function 'set_manufacturer':
loadparm.c:119:30: warning: array subscript has type 'char' [-Wchar-subscripts]
  119 |         if (isalnum((_source)[i])) \
      |                              ^
loadparm.c:307:5: note: in expansion of macro 'set_stsi_and_return'
  307 |     set_stsi_and_return(gsysinfo.manufact, name, default_manufact);
      |     ^~~~~~~~~~~~~~~~~~~
loadparm.c:121:59: warning: array subscript has type 'char' [-Wchar-subscripts]
  121 |             temp[i] = host_to_guest((int)toupper((_source)[i])); \
      |                                                           ^
loadparm.c:307:5: note: in expansion of macro 'set_stsi_and_return'
  307 |     set_stsi_and_return(gsysinfo.manufact, name, default_manufact);
      |     ^~~~~~~~~~~~~~~~~~~
loadparm.c: In function 'set_plant':
loadparm.c:119:30: warning: array subscript has type 'char' [-Wchar-subscripts]
  119 |         if (isalnum((_source)[i])) \
      |                              ^
loadparm.c:339:5: note: in expansion of macro 'set_stsi_and_return'
  339 |     set_stsi_and_return(gsysinfo.plant, name, default_plant);
      |     ^~~~~~~~~~~~~~~~~~~
loadparm.c:121:59: warning: array subscript has type 'char' [-Wchar-subscripts]
  121 |             temp[i] = host_to_guest((int)toupper((_source)[i])); \
      |                                                           ^
loadparm.c:339:5: note: in expansion of macro 'set_stsi_and_return'
  339 |     set_stsi_and_return(gsysinfo.plant, name, default_plant);
      |     ^~~~~~~~~~~~~~~~~~~
  CC       losc.lo
  CC       machchk.lo
  CC       opcode.lo
  CC       panel.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from panel.c:34:
panel.c: In function 'NP_update':
panel.c:1427:41: warning: array subscript has type 'char' [-Wchar-subscripts]
 1427 |                     if ( !isprint(devnam[p]) )
      |                                         ^
panel.c: In function 'the_real_panel_display':
panel.c:2314:54: warning: array subscript has type 'char' [-Wchar-subscripts]
 2314 |                                 while (*p && isspace(*p))
      |                                                      ^
panel.c:2328:53: warning: array subscript has type 'char' [-Wchar-subscripts]
 2328 |                                         && !isspace(*p)
      |                                                     ^
panel.c:2413:60: warning: array subscript has type 'char' [-Wchar-subscripts]
 2413 |                                     else if ( !isdigit( pt1[idx+1] ) && ( pt1[idx+1] != '$' ) )
      |                                                            ^
panel.c:2789:35: warning: array subscript has type 'char' [-Wchar-subscripts]
 2789 |                 if (!isprint(kbbuf[i])) {
      |                                   ^
  CC       pfpo.lo
  CC       plo.lo
In file included from hercules.h:105,
                 from plo.c:16:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       qdio.lo
  CC       scedasd.lo
In file included from hercules.h:105,
                 from qdio.c:17:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       scescsi.lo
In file included from hercules.h:105,
                 from scedasd.c:12:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from scescsi.c:12:
scescsi.c: In function 'hwldr_cmd':
scescsi.c:859:22: warning: array subscript has type 'char' [-Wchar-subscripts]
  859 |           && isdigit(*(argv[1]+4))
      |                      ^
scescsi.c: In function 'lddev_cmd':
scescsi.c:915:23: warning: array subscript has type 'char' [-Wchar-subscripts]
  915 |     ldind = ((islower(*argv[0]) ? toupper(*argv[0]) : *argv[0] ) == 'L')
      |                       ^
scescsi.c:915:43: warning: array subscript has type 'char' [-Wchar-subscripts]
  915 |     ldind = ((islower(*argv[0]) ? toupper(*argv[0]) : *argv[0] ) == 'L')
      |                                           ^
In file included from hercules.h:105,
                 from scescsi.c:16:
scescsi.c: At top level:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       script.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from script.c:18:
script.c: In function 'process_script_file':
script.c:835:33: warning: array subscript has type 'char' [-Wchar-subscripts]
  835 |         for (p = stmt; isspace( *p ); p++)
      |                                 ^
script.c:839:60: warning: array subscript has type 'char' [-Wchar-subscripts]
  839 |         for (stmtlen = (int)strlen(p); stmtlen && isspace(p[stmtlen-1]); stmtlen--);
      |                                                            ^
script.c: In function 'runtest':
script.c:1055:26: warning: array subscript has type 'char' [-Wchar-subscripts]
 1055 |         if (isalpha( args[0] ))  /* [RESTART|START|<oldpsw>]? */
      |                          ^
  CC       service.lo
  CC       sie.lo
In file included from hercules.h:105,
                 from sie.c:22:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
In file included from hercules.h:105,
                 from service.c:34:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       skey.lo
In file included from hercules.h:105,
                 from skey.c:13:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       sr.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from sr.c:9:
sr.c: In function 'resume_cmd':
sr.c:452:46: warning: array subscript has type 'char' [-Wchar-subscripts]
  452 |                 while (len > 0 && isspace(buf[len]))
      |                                              ^
  CC       stack.lo
In file included from hercules.h:105,
                 from stack.c:37:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       strsignal.lo
  CC       tcpip.lo
  CC       timer.lo
  CC       trace.lo
  CC       transact.lo
  CC       vector.lo
In file included from hercules.h:105,
                 from trace.c:28:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
In file included from hercules.h:105,
                 from transact.c:42:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       vm.lo
In file included from hercules.h:105,
                 from vm.c:24:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       vmd250.lo
In file included from hercules.h:105,
                 from vmd250.c:92:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       vstore.lo
In file included from hercules.h:105,
                 from vstore.c:62:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       x75.lo
In file included from hercules.h:105,
                 from x75.c:62:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       xstore.lo
In file included from hercules.h:105,
                 from xstore.c:23:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       tapedev.lo
  CC       tapeccws.lo
  CC       awstape.lo
  CC       faketape.lo
  CC       hettape.lo
  CC       omatape.lo
  CC       scsitape.lo
  CC       scsiutil.lo
  CC       cckdcomp.o
  CC       cckddiag.o
  CC       cckdswap.o
  CC       cckdcdsk64.o
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from cckddiag.c:15:
cckddiag.c: In function 'offtify':
cckddiag.c:490:30: warning: array subscript has type 'char' [-Wchar-subscripts]
  490 |         for (v = 0; isxdigit(*s); ++s)
      |                              ^
  CC       cckdcomp64.o
  CC       cckddiag64.o
  CC       cckdswap64.o
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from cckddiag64.c:15:
cckddiag64.c: In function 'offtify':
cckddiag64.c:479:30: warning: array subscript has type 'char' [-Wchar-subscripts]
  479 |         for (v = 0; isxdigit(*s); ++s)
      |                              ^
  CC       convto64.o
  CC       cckdmap.o
  CC       dasdcat.o
  CC       dasdconv.o
  CC       dasdcopy.o
  CC       dasdinit.o
  CC       dasdconv64.o
  CC       dasdcopy64.o
  CC       dasdinit64.o
  CC       dasdisup.o
  CC       dasdload.o
  CC       dasdload64.o
In file included from dasdload64.c:31:
dasdload2.h: In function 'process_iebcopy_file':
dasdload2.h:2849:13: warning: multi-line comment [-Wcomment]
 2849 |             // "Input record:   CCHHR[%04X%04X%02X] (TTR[%04X%02X]) kl[%d] dl[%d]\n" \
      |             ^
In file included from dasdload.c:31:
dasdload2.h: In function 'process_iebcopy_file':
dasdload2.h:2849:13: warning: multi-line comment [-Wcomment]
 2849 |             // "Input record:   CCHHR[%04X%04X%02X] (TTR[%04X%02X]) kl[%d] dl[%d]\n" \
      |             ^
  CC       dasdls.o
  CC       dasdpdsu.o
  CC       dasdseq.o
  CC       dasdser.o
  CC       dmap2hrc.o
  CC       bootstrap.o
  CC       hetget.o
  CC       hetinit.o
  CC       hetmap.o
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from hetinit.c:20:
hetinit.c: In function 'het_string_to_upper':
hetinit.c:49:35: warning: array subscript has type 'char' [-Wchar-subscripts]
   49 |         source[i] = toupper(source[i]);
      |                                   ^
  CC       hetupd.o
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from hetmap.c:22:
hetmap.c: In function 'Print_Standard_Labels':
hetmap.c:659:26: warning: array subscript has type 'char' [-Wchar-subscripts]
  659 |     if ( isdigit( lLblNum[0] ) )
      |                          ^
hetmap.c:750:73: warning: array subscript has type 'char' [-Wchar-subscripts]
  750 |                         for ( i = 0; i < 4; i++ ) { if ( !isdigit( ebcnt[i] ) ) ebcnt[i] = '0'; }
      |                                                                         ^
  CC       maketape.o
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from maketape.c:26:
maketape.c: In function 'writeLabel':
maketape.c:775:30: warning: array subscript has type 'char' [-Wchar-subscripts]
  775 |         buf[i] = toupper( buf[i] );
      |                              ^
maketape.c: In function 'main':
maketape.c:860:34: warning: array subscript has type 'char' [-Wchar-subscripts]
  860 |             buf[i] = toupper( buf[i] );
      |                                  ^
  CC       tapecopy-tapecopy.o
  CC       tapecopy-scsiutil.o
  CC       tapemap.o
  CC       tapesplt.o
  CC       tfprint.o
In file included from hercules.h:104,
                 from tfprint.c:14:
tfprint.c: In function 'print_op_stor':
tfprint.c:1732:26: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1732 |         FLOGMSG( stdout, "%sTranslation exception %04.4"PRIX16" (%s)\n",
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
msgenu.h:99:98: note: in definition of macro 'PFWRITEMSG'
   99 | #define PFWRITEMSG( pan, f, fmt, ... ) fwritemsg( __FILE__, __LINE__, __FUNCTION__, pan,   f,    fmt, ## __VA_ARGS__ )
      |                                                                                                  ^~~
tfprint.c:1732:9: note: in expansion of macro 'FLOGMSG'
 1732 |         FLOGMSG( stdout, "%sTranslation exception %04.4"PRIX16" (%s)\n",
      |         ^~~~~~~
In file included from /usr/include/stdio.h:595,
                 from hstdinc.h:112,
                 from tfprint.c:13:
tfprint.c:1753:13: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1753 |             "%02.2X%02.2X%02.2X%02.2X "
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tfprint.c:1751:9: note: in expansion of macro 'MSGBUF'
 1751 |         MSGBUF( hbuf,
      |         ^~~~~~
tfprint.c:1753:13: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1753 |             "%02.2X%02.2X%02.2X%02.2X "
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tfprint.c:1751:9: note: in expansion of macro 'MSGBUF'
 1751 |         MSGBUF( hbuf,
      |         ^~~~~~
tfprint.c:1753:13: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1753 |             "%02.2X%02.2X%02.2X%02.2X "
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tfprint.c:1751:9: note: in expansion of macro 'MSGBUF'
 1751 |         MSGBUF( hbuf,
      |         ^~~~~~
tfprint.c:1753:13: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1753 |             "%02.2X%02.2X%02.2X%02.2X "
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tfprint.c:1751:9: note: in expansion of macro 'MSGBUF'
 1751 |         MSGBUF( hbuf,
      |         ^~~~~~
tfprint.c:1753:13: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1753 |             "%02.2X%02.2X%02.2X%02.2X "
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tfprint.c:1751:9: note: in expansion of macro 'MSGBUF'
 1751 |         MSGBUF( hbuf,
      |         ^~~~~~
tfprint.c:1753:13: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1753 |             "%02.2X%02.2X%02.2X%02.2X "
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tfprint.c:1751:9: note: in expansion of macro 'MSGBUF'
 1751 |         MSGBUF( hbuf,
      |         ^~~~~~
tfprint.c:1753:13: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1753 |             "%02.2X%02.2X%02.2X%02.2X "
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tfprint.c:1751:9: note: in expansion of macro 'MSGBUF'
 1751 |         MSGBUF( hbuf,
      |         ^~~~~~
tfprint.c:1753:13: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1753 |             "%02.2X%02.2X%02.2X%02.2X "
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tfprint.c:1751:9: note: in expansion of macro 'MSGBUF'
 1751 |         MSGBUF( hbuf,
      |         ^~~~~~
tfprint.c:1753:13: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1753 |             "%02.2X%02.2X%02.2X%02.2X "
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tfprint.c:1751:9: note: in expansion of macro 'MSGBUF'
 1751 |         MSGBUF( hbuf,
      |         ^~~~~~
tfprint.c:1753:13: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1753 |             "%02.2X%02.2X%02.2X%02.2X "
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tfprint.c:1751:9: note: in expansion of macro 'MSGBUF'
 1751 |         MSGBUF( hbuf,
      |         ^~~~~~
tfprint.c:1753:13: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1753 |             "%02.2X%02.2X%02.2X%02.2X "
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tfprint.c:1751:9: note: in expansion of macro 'MSGBUF'
 1751 |         MSGBUF( hbuf,
      |         ^~~~~~
tfprint.c:1753:13: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1753 |             "%02.2X%02.2X%02.2X%02.2X "
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tfprint.c:1751:9: note: in expansion of macro 'MSGBUF'
 1751 |         MSGBUF( hbuf,
      |         ^~~~~~
tfprint.c:1753:13: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1753 |             "%02.2X%02.2X%02.2X%02.2X "
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tfprint.c:1751:9: note: in expansion of macro 'MSGBUF'
 1751 |         MSGBUF( hbuf,
      |         ^~~~~~
tfprint.c:1753:13: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1753 |             "%02.2X%02.2X%02.2X%02.2X "
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tfprint.c:1751:9: note: in expansion of macro 'MSGBUF'
 1751 |         MSGBUF( hbuf,
      |         ^~~~~~
tfprint.c:1753:13: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1753 |             "%02.2X%02.2X%02.2X%02.2X "
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tfprint.c:1751:9: note: in expansion of macro 'MSGBUF'
 1751 |         MSGBUF( hbuf,
      |         ^~~~~~
tfprint.c:1753:13: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1753 |             "%02.2X%02.2X%02.2X%02.2X "
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
tfprint.c:1751:9: note: in expansion of macro 'MSGBUF'
 1751 |         MSGBUF( hbuf,
      |         ^~~~~~
In file included from hercules.h:104,
                 from tfprint.c:14:
tfprint.c:1782:30: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1782 |             FLOGMSG( stdout, "%s%sR:%16.16"PRIX64":K:%02.2X=%s\n",
      |                              ^~~~~~~~~~~~~~
msgenu.h:99:98: note: in definition of macro 'PFWRITEMSG'
   99 | #define PFWRITEMSG( pan, f, fmt, ... ) fwritemsg( __FILE__, __LINE__, __FUNCTION__, pan,   f,    fmt, ## __VA_ARGS__ )
      |                                                                                                  ^~~
tfprint.c:1782:13: note: in expansion of macro 'FLOGMSG'
 1782 |             FLOGMSG( stdout, "%s%sR:%16.16"PRIX64":K:%02.2X=%s\n",
      |             ^~~~~~~
tfprint.c:1787:30: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1787 |             FLOGMSG( stdout, "%s%sR:%8.8"PRIX32":K:%02.2X=%s\n",
      |                              ^~~~~~~~~~~~
msgenu.h:99:98: note: in definition of macro 'PFWRITEMSG'
   99 | #define PFWRITEMSG( pan, f, fmt, ... ) fwritemsg( __FILE__, __LINE__, __FUNCTION__, pan,   f,    fmt, ## __VA_ARGS__ )
      |                                                                                                  ^~~
tfprint.c:1787:13: note: in expansion of macro 'FLOGMSG'
 1787 |             FLOGMSG( stdout, "%s%sR:%8.8"PRIX32":K:%02.2X=%s\n",
      |             ^~~~~~~
In file included from /usr/include/stdio.h:595,
                 from hstdinc.h:112,
                 from tfprint.c:13:
tfprint.c: In function 'print_814_sigp':
tfprint.c:1868:18: warning: '0' flag ignored with precision and '%X' gnu_printf format [-Wformat=]
 1868 |     MSGBUF( pfx, "%s HHC00814I Processor %s: SIGP %-32s (%02.2X) %s, PARM %s: CC %d",
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tfprint.c:1868:5: note: in expansion of macro 'MSGBUF'
 1868 |     MSGBUF( pfx, "%s HHC00814I Processor %s: SIGP %-32s (%02.2X) %s, PARM %s: CC %d",
      |     ^~~~~~
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from tfprint.c:13:
tfprint.c: In function 'convert_storage_opt_str':
tfprint.c:3567:33: warning: array subscript has type 'char' [-Wchar-subscripts]
 3567 |         char str0 = toupper( str[0] );
      |                                 ^
tfprint.c: In function 'convert_opcode_opt_str':
tfprint.c:3832:25: warning: array subscript has type 'char' [-Wchar-subscripts]
 3832 |         c = toupper( str[i] );      // Left nibble
      |                         ^
tfprint.c:3847:25: warning: array subscript has type 'char' [-Wchar-subscripts]
 3847 |         c = toupper( str[i+1] );    // Right nibble
      |                         ^
  CC       tfswap.o
  CC       txt2card.o
  CC       vmfplc2.o
  CC       hercifc.o
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from vmfplc2.c:41:
vmfplc2.c: In function 'validate_cmsfile':
vmfplc2.c:1563:21: warning: array subscript has type 'char' [-Wchar-subscripts]
 1563 |     if (!isalpha( fm[0] ))
      |                     ^
vmfplc2.c: In function 'parse_ctlfile_stmt':
vmfplc2.c:1841:36: warning: array subscript has type 'char' [-Wchar-subscripts]
 1841 |     ctl.recfm    = toupper( recfm  [0] );
      |                                    ^
vmfplc2.c:1842:36: warning: array subscript has type 'char' [-Wchar-subscripts]
 1842 |     ctl.filefmt  = toupper( filefmt[0] );
      |                                    ^
  CC       herclin.o
  CC       dyncrypt.lo
In file included from hercules.h:105,
                 from dyncrypt.c:23:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       dyngui.lo
  CC       hdteq.lo
  CC       ctc_ptp.lo
  CC       mpc.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from ctc_ptp.c:18:
ctc_ptp.c: In function 'parse_conf_stmt':
ctc_ptp.c:2969:26: warning: array subscript has type 'char' [-Wchar-subscripts]
 2969 |         while (isdigit( s[-1] ))
      |                          ^
  CC       resolve.lo
  CC       tuntap.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from tuntap.c:35:
tuntap.c: In function 'ParseMAC':
tuntap.c:1312:30: warning: array subscript has type 'char' [-Wchar-subscripts]
 1312 |             || !isxdigit(work[(i*3)+0])
      |                              ^
tuntap.c:1313:30: warning: array subscript has type 'char' [-Wchar-subscripts]
 1313 |             || !isxdigit(work[(i*3)+1])
      |                              ^
  CC       qeth.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from qeth.c:110:
qeth.c: In function 'qeth_init_handler':
qeth.c:4292:46: warning: array subscript has type 'char' [-Wchar-subscripts]
 4292 |             for (p = grp->ttpfxlen6; isdigit(*p); p++) { }
      |                                              ^
qeth.c: In function 'prefix2netmask':
qeth.c:6538:32: warning: array subscript has type 'char' [-Wchar-subscripts]
 6538 |     for (p = ttpfxlen; isdigit(*p); p++) { }
      |                                ^
In file included from hercules.h:105,
                 from qeth.c:114:
qeth.c: At top level:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       zfcp.lo
In file included from hercules.h:105,
                 from zfcp.c:39:
hinlines.h:342:33: warning: 'Release_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  342 | #define RELEASE_INTLOCK(r)      Release_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
inline.h:555:5: note: in expansion of macro 'RELEASE_INTLOCK'
  555 |     RELEASE_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~~
hinlines.h:341:33: warning: 'Obtain_Interrupt_Lock' is static but used in inline function 's370_per1_gra' which is not static
  341 | #define OBTAIN_INTLOCK(r)       Obtain_Interrupt_Lock( r, PTT_LOC )
      |                                 ^~~~~~~~~~~~~~~~~~~~~
inline.h:550:5: note: in expansion of macro 'OBTAIN_INTLOCK'
  550 |     OBTAIN_INTLOCK( regs );
      |     ^~~~~~~~~~~~~~
  CC       con1052c.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from con1052c.c:15:
con1052c.c: In function 'con1052_panel_command':
con1052c.c:314:45: warning: array subscript has type 'char' [-Wchar-subscripts]
  314 |                 dev->buf[i] = isprint( input[i] ) ?
      |                                             ^
  CC       printer.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from printer.c:26:
printer.c: In function 'printer_init_handler':
printer.c:1266:54: warning: array subscript has type 'char' [-Wchar-subscripts]
 1266 |                 if (strlen( ptr ) != 26 || !isdigit( *ptr ))
      |                                                      ^
  CC       sockdev.lo
  CC       commadpt.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from sockdev.c:8:
sockdev.c: In function 'inet_socket':
sockdev.c:175:25: warning: array subscript has type 'char' [-Wchar-subscripts]
  175 |     if (isdigit( service[0] ))
      |                         ^
  CC       tcpnje.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from tcpnje.c:41:
tcpnje.c: In function 'guest_to_host_string':
tcpnje.c:205:33: warning: array subscript has type 'char' [-Wchar-subscripts]
  205 |         else if (!isprint(string[i]))
      |                                 ^
tcpnje.c: In function 'tcpnje_thread':
tcpnje.c:1458:15: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'pthread_t' {aka 'struct __pthread_st *'} [-Wformat=]
 1458 |     DBGMSG(1, "HHCTN002I %4.4X:TCPNJE - networking thread "TIDPAT" started for link %s - %s\n",
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tcpnje.c:98:109: note: in definition of macro 'DBGMSG'
   98 | #define DBGMSG(_level, ...) if ((tn->dev->ccwtrace && (_level & tn->trace)) || (_level & tn->debug)) logmsg(__VA_ARGS__)
      |                                                                                                             ^~~~~~~~~~~
tcpnje.c:1847:25: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' {aka 'int'} [-Wformat=]
 1847 |             DBGMSG(512, "HHCTN127D %4.4X:TCPNJE - select() timeout after %ld seconds %ld microseconds\n",
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1848 |                         devnum, tvcopy.tv_sec, tvcopy.tv_usec);
      |                                                ~~~~~~~~~~~~~~
      |                                                      |
      |                                                      suseconds_t {aka int}
tcpnje.c:98:109: note: in definition of macro 'DBGMSG'
   98 | #define DBGMSG(_level, ...) if ((tn->dev->ccwtrace && (_level & tn->trace)) || (_level & tn->debug)) logmsg(__VA_ARGS__)
      |                                                                                                             ^~~~~~~~~~~
tcpnje.c:1847:88: note: format string is defined here
 1847 |             DBGMSG(512, "HHCTN127D %4.4X:TCPNJE - select() timeout after %ld seconds %ld microseconds\n",
      |                                                                                      ~~^
      |                                                                                        |
      |                                                                                        long int
      |                                                                                      %d
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from tcpnje.c:41:
tcpnje.c: In function 'tcpnje_init_handler':
tcpnje.c:2587:70: warning: array subscript has type 'char' [-Wchar-subscripts]
 2587 |                         tn->lnode[j] = host_to_guest(toupper(res.text[j]));
      |                                                                      ^
tcpnje.c:2599:70: warning: array subscript has type 'char' [-Wchar-subscripts]
 2599 |                         tn->rnode[j] = host_to_guest(toupper(res.text[j]));
      |                                                                      ^
  CC       comm3705.lo
  CC       ctc_lcs.lo
  CC       ctc_ctci.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from ctc_ctci.c:50:
ctc_ctci.c: In function 'ParseArgs':
ctc_ctci.c:1539:28: warning: array subscript has type 'char' [-Wchar-subscripts]
 1539 |             while(isdigit(s[- 1])) s--;
      |                            ^
  CC       ctcadpt.lo
  CC       netsupp.lo
  CC       console.lo
In file included from /usr/include/ctype.h:100,
                 from hstdinc.h:117,
                 from console.c:36:
console.c: In function 'loc3270_init_handler':
console.c:944:40: warning: array subscript has type 'char' [-Wchar-subscripts]
  944 |                     if (!isalnum( group[i] ))
      |                                        ^
console.c:947:46: warning: array subscript has type 'char' [-Wchar-subscripts]
  947 |                 if (rc == 0 && isalpha( group[0] ))
      |                                              ^
console.c: In function 'parse_sockspec':
console.c:1205:18: warning: array subscript has type 'char' [-Wchar-subscripts]
 1205 |     if (isdigit( *port ))
      |                  ^
  CC       cardrdr.lo
  CC       hchan.lo
  CC       dummydev.lo
  CC       cardpch.lo
  CCLD     libhercs.la

*** Warning: linker path does not have real file for library -lcrypto_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libcrypto_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -ldecNumber_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libdecNumber_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -lSoftFloat_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libSoftFloat_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -ltelnet_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libtelnet_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
  CCLD     libhercu.la

*** Warning: This system cannot link to static lib archive libhercs.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: linker path does not have real file for library -lcrypto_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libcrypto_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -ldecNumber_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libdecNumber_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -lSoftFloat_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libSoftFloat_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -ltelnet_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libtelnet_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
  CCLD     libherct.la
  CCLD     libhercd.la

*** Warning: This system cannot link to static lib archive libhercs.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system cannot link to static lib archive libhercu.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system cannot link to static lib archive libhercs.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.


*** Warning: This system cannot link to static lib archive /tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6/libhercs.la.
*** Warning: This system cannot link to static lib archive libhercu.la.
*** I have the capability to make that library automatically link in when
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** shared version of the library, which you do not appear to have.

*** Warning: This system cannot link to static lib archive /tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6/libhercs.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: linker path does not have real file for library -lcrypto_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libcrypto_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -ldecNumber_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libdecNumber_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -lSoftFloat_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libSoftFloat_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -ltelnet_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libtelnet_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.

*** Warning: linker path does not have real file for library -lcrypto_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libcrypto_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -ldecNumber_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libdecNumber_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -lSoftFloat_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libSoftFloat_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -ltelnet_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libtelnet_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
  CCLD     libherc.la

*** Warning: This system cannot link to static lib archive libhercs.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system cannot link to static lib archive libhercu.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system cannot link to static lib archive libherct.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system cannot link to static lib archive libhercd.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system cannot link to static lib archive /tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6/libhercu.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system cannot link to static lib archive /tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6/libhercs.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: linker path does not have real file for library -lcrypto_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libcrypto_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -ldecNumber_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libdecNumber_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -lSoftFloat_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libSoftFloat_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -ltelnet_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libtelnet_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
  CCLD     libhdt3420_not_mod.la
  CCLD     herclin
  CCLD     hercules

*** Warning: This system cannot link to static lib archive libhercs.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system cannot link to static lib archive libhercu.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system cannot link to static lib archive libherc.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system cannot link to static lib archive /tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6/libherct.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system cannot link to static lib archive /tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6/libhercd.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system cannot link to static lib archive libherct.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system cannot link to static lib archive /tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6/libhercu.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system cannot link to static lib archive /tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6/libhercs.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: linker path does not have real file for library -lcrypto_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libcrypto_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -ldecNumber_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libdecNumber_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -lSoftFloat_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libSoftFloat_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so

*** Warning: linker path does not have real file for library -ltelnet_pic.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libtelnet_pic and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib/libz.so
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
  CCLD     dyncrypt.la
ld: cannot find -lcrypto_pic
ld: cannot find -ldecNumber_pic
ld: cannot find -lSoftFloat_pic
ld: cannot find -ltelnet_pic

ld: cannot find -lcrypto_pic
*** Warning: This system cannot link to static lib archive libherc.la.
ld: cannot find -ldecNumber_pic
*** I have the capability to make that library automatically link in when
ld: cannot find -lSoftFloat_pic
*** you link to this library.  But I can only do this if you have a
ld: cannot find -ltelnet_pic
*** shared version of the library, which you do not appear to have.
*** But as you try to build a module library, libtool will still create 
*** a static module, that should work as long as the dlopening application
*** is linked with the -dlopen flag to resolve symbols at runtime.
ld: /usr/lib/libc.so and /usr/lib/crt0.o: warning: multiple common of `environ'
ld: /usr/lib/libc.so and /usr/lib/crt0.o: warning: multiple common of `environ'
gmake[2]: *** [Makefile:2363: hercules] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [Makefile:2359: herclin] Error 1
gmake[2]: Leaving directory '/tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6'
gmake[1]: *** [Makefile:2677: all-recursive] Error 1
gmake[1]: Leaving directory '/tmp/pkgbuild/emulators/hercules4sdl/work.alpha/hyperion-Release_4.6'
gmake: *** [Makefile:1998: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/emulators/hercules4sdl
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/emulators/hercules4sdl