+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rexx-regina-3.9.5nb1/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rexx-regina-3.9.5nb1/work.log ===> Building for rexx-regina-3.9.5nb1 gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o funcs.o -c ./funcs.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o builtin.o -c ./builtin.c ./builtin.c: In function '__regina_std_time': ./builtin.c:1077:24: warning: '%s' directive writing up to 6 bytes into a region of size between 0 and 3 [-Wformat-overflow=] 1077 | answer->len = sprintf( answer->value, "%ld%s", timediff,(timediff)?"000000":"" ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1077:24: note: 'sprintf' output between 2 and 27 bytes into a destination of size 4 1077 | answer->len = sprintf( answer->value, "%ld%s", timediff,(timediff)?"000000":"" ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1061:24: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 1 [-Wformat-overflow=] 1061 | answer->len = sprintf(answer->value, "%02d:%02d:%02d", tmdata.tm_hour, tmdata.tm_min, tmdata.tm_sec ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1061:24: note: 'sprintf' output between 9 and 36 bytes into a destination of size 4 ./builtin.c:1053:24: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 1 [-Wformat-overflow=] 1053 | answer->len = sprintf(answer->value, "%02d:%02d:%02d.%06ld", tmdata.tm_hour, tmdata.tm_min, tmdata.tm_sec, unow ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1053:24: note: 'sprintf' output between 16 and 57 bytes into a destination of size 4 ./builtin.c:1049:24: warning: '%.06f' directive writing between 3 and 317 bytes into a region of size 4 [-Wformat-overflow=] 1049 | answer->len = sprintf( answer->value, "%.06f", cpu_time() ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1049:24: note: assuming directive output of 8 bytes ./builtin.c:1049:24: note: 'sprintf' output between 4 and 318 bytes into a destination of size 4 1049 | answer->len = sprintf( answer->value, "%.06f", cpu_time() ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1039:27: warning: '%06lu' directive writing between 6 and 20 bytes into a region of size between 0 and 2 [-Wformat-overflow=] 1039 | answer->len = sprintf( answer->value,"%ld.%06lu", (long)sec, (unsigned long)usec ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1039:27: note: using the range [0, 18446744073709551615] for directive argument ./builtin.c:1039:27: note: 'sprintf' output between 9 and 42 bytes into a destination of size 4 ./builtin.c:1041:27: warning: '%06lu' directive writing between 6 and 20 bytes into a region of size 2 [-Wformat-overflow=] 1041 | answer->len = sprintf( answer->value,"0.%06lu", (unsigned long)usec ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1041:27: note: using the range [0, 18446744073709551615] for directive argument ./builtin.c:1041:27: note: 'sprintf' output between 9 and 23 bytes into a destination of size 4 ./builtin.c:1011:24: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 2 [-Wformat-overflow=] 1011 | answer->len = sprintf( answer->value, "%d:%02d%s", hour, tmdata.tm_min, ampm ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1011:24: note: 'sprintf' output between 7 and 18 bytes into a destination of size 4 ./builtin.c: In function '__regina_std_date': ./builtin.c:1098:30: warning: '%02d' directive writing between 2 and 11 bytes into a region of size 4 [-Wformat-overflow=] 1098 | static const char *fmt = "%02d%c%02d%c%02d" ; | ^~~~ ./builtin.c:1098:29: note: directive argument in the range [-2147483647, 2147483647] 1098 | static const char *fmt = "%02d%c%02d%c%02d" ; | ^~~~~~~~~~~~~~~~~~ ./builtin.c:1098:29: note: directive argument in the range [-99, 99] ./builtin.c:1335:27: note: 'sprintf' output between 9 and 28 bytes into a destination of size 4 1335 | answer->len = sprintf( answer->value, fmt, tmdata.tm_mon+1, osep, tmdata.tm_mday, osep, tmdata.tm_year%100 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1099:31: warning: '%02d' directive writing between 2 and 11 bytes into a region of size 4 [-Wformat-overflow=] 1099 | static const char *fmt1 = "%02d%02d%02d" ; | ^~~~ ./builtin.c:1099:30: note: directive argument in the range [-2147483647, 2147483647] 1099 | static const char *fmt1 = "%02d%02d%02d" ; | ^~~~~~~~~~~~~~ ./builtin.c:1099:30: note: directive argument in the range [-99, 99] ./builtin.c:1333:27: note: 'sprintf' output between 7 and 26 bytes into a destination of size 4 1333 | answer->len = sprintf( answer->value, fmt1, tmdata.tm_mon+1, tmdata.tm_mday, tmdata.tm_year%100 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1100:36: warning: '%c' directive writing 1 byte into a region of size 0 [-Wformat-overflow=] 1100 | static const char *sdate = "%04d%c%02d%c%02d" ; | ^~ ./builtin.c:1100:31: note: directive argument in the range [-2147483647, 2147483647] 1100 | static const char *sdate = "%04d%c%02d%c%02d" ; | ^~~~~~~~~~~~~~~~~~ ./builtin.c:1322:27: note: 'sprintf' output between 11 and 36 bytes into a destination of size 4 1322 | answer->len = sprintf(answer->value, sdate, tmdata.tm_year, osep, tmdata.tm_mon+1, osep, tmdata.tm_mday ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1101:37: warning: '%02d' directive writing between 2 and 11 bytes into a region of size 0 [-Wformat-overflow=] 1101 | static const char *sdate1 = "%04d%02d%02d" ; | ^~~~ ./builtin.c:1101:32: note: directive argument in the range [-2147483647, 2147483647] 1101 | static const char *sdate1 = "%04d%02d%02d" ; | ^~~~~~~~~~~~~~ ./builtin.c:1320:27: note: 'sprintf' output between 9 and 34 bytes into a destination of size 4 1320 | answer->len = sprintf(answer->value, sdate1, tmdata.tm_year, tmdata.tm_mon+1, tmdata.tm_mday ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1098:36: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 1 [-Wformat-overflow=] 1098 | static const char *fmt = "%02d%c%02d%c%02d" ; | ^~~~ ./builtin.c:1098:29: note: directive argument in the range [-2147483647, 2147483647] 1098 | static const char *fmt = "%02d%c%02d%c%02d" ; | ^~~~~~~~~~~~~~~~~~ ./builtin.c:1315:27: note: 'sprintf' output between 9 and 28 bytes into a destination of size 4 1315 | answer->len = sprintf( answer->value, fmt, tmdata.tm_year%100, osep, tmdata.tm_mon+1, osep, tmdata.tm_mday ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1099:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 1 and 2 [-Wformat-overflow=] 1099 | static const char *fmt1 = "%02d%02d%02d" ; | ^~~~ ./builtin.c:1099:30: note: directive argument in the range [-2147483647, 2147483647] 1099 | static const char *fmt1 = "%02d%02d%02d" ; | ^~~~~~~~~~~~~~ ./builtin.c:1313:27: note: 'sprintf' output between 7 and 26 bytes into a destination of size 4 1313 | answer->len = sprintf( answer->value, fmt1, tmdata.tm_year%100, tmdata.tm_mon+1, tmdata.tm_mday ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1104:40: warning: '%c' directive writing 1 byte into a region of size 0 [-Wformat-overflow=] 1104 | static const char *ndate = "%d%c%c%c%c%c%4d" ; | ^~ ./builtin.c:1308:27: note: 'sprintf' output between 11 and 28 bytes into a destination of size 4 1308 | answer->len = sprintf( answer->value, ndate, tmdata.tm_mday, osep, chptr[0], chptr[1], chptr[2], osep, tmdata.tm_year ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1105:41: warning: '%4d' directive writing between 4 and 11 bytes into a region of size 0 [-Wformat-overflow=] 1105 | static const char *ndate1 = "%d%c%c%c%4d" ; | ^~~ ./builtin.c:1306:27: note: 'sprintf' output between 9 and 26 bytes into a destination of size 4 1306 | answer->len = sprintf( answer->value, ndate1, tmdata.tm_mday, chptr[0], chptr[1], chptr[2], tmdata.tm_year ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1100:36: warning: '%c' directive writing 1 byte into a region of size 0 [-Wformat-overflow=] 1100 | static const char *sdate = "%04d%c%02d%c%02d" ; | ^~ ./builtin.c:1100:31: note: directive argument in the range [-2147483647, 2147483647] 1100 | static const char *sdate = "%04d%c%02d%c%02d" ; | ^~~~~~~~~~~~~~~~~~ ./builtin.c:1294:27: note: 'sprintf' output between 11 and 36 bytes into a destination of size 4 1294 | answer->len = sprintf( answer->value, iso, tmdata.tm_year, osep, tmdata.tm_mon+1, osep, tmdata.tm_mday ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1101:37: warning: '%02d' directive writing between 2 and 11 bytes into a region of size 0 [-Wformat-overflow=] 1101 | static const char *sdate1 = "%04d%02d%02d" ; | ^~~~ ./builtin.c:1101:32: note: directive argument in the range [-2147483647, 2147483647] 1101 | static const char *sdate1 = "%04d%02d%02d" ; | ^~~~~~~~~~~~~~ ./builtin.c:1292:27: note: 'sprintf' output between 9 and 34 bytes into a destination of size 4 1292 | answer->len = sprintf( answer->value, iso1, tmdata.tm_year, tmdata.tm_mon+1, tmdata.tm_mday ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1098:36: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 1 [-Wformat-overflow=] 1098 | static const char *fmt = "%02d%c%02d%c%02d" ; | ^~~~ ./builtin.c:1098:29: note: directive argument in the range [-2147483647, 2147483647] 1098 | static const char *fmt = "%02d%c%02d%c%02d" ; | ^~~~~~~~~~~~~~~~~~ ./builtin.c:1098:29: note: directive argument in the range [-99, 99] ./builtin.c:1287:27: note: 'sprintf' output between 9 and 28 bytes into a destination of size 4 1287 | answer->len = sprintf( answer->value, fmt, tmdata.tm_mday, osep, tmdata.tm_mon+1, osep, tmdata.tm_year%100 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1099:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 2 [-Wformat-overflow=] 1099 | static const char *fmt1 = "%02d%02d%02d" ; | ^~~~ ./builtin.c:1099:30: note: directive argument in the range [-2147483647, 2147483647] 1099 | static const char *fmt1 = "%02d%02d%02d" ; | ^~~~~~~~~~~~~~ ./builtin.c:1099:30: note: directive argument in the range [-99, 99] ./builtin.c:1285:27: note: 'sprintf' output between 7 and 26 bytes into a destination of size 4 1285 | answer->len = sprintf( answer->value, fmt1, tmdata.tm_mday, tmdata.tm_mon+1, tmdata.tm_year%100 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1280:24: warning: '%d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 1280 | answer->len = sprintf( answer->value, "%d", tmdata.tm_yday + 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1280:24: note: directive argument in the range [-2147483647, 2147483647] ./builtin.c:1280:24: note: 'sprintf' output between 2 and 12 bytes into a destination of size 4 ./builtin.c:1277:24: warning: '%d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 1277 | answer->len = sprintf( answer->value, "%d", length-basedays( (tmdata.tm_year/100)*100)+1 ); /* bja */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1277:24: note: directive argument in the range [-2147483647, 2147483647] ./builtin.c:1277:24: note: 'sprintf' output between 2 and 12 bytes into a destination of size 4 1277 | answer->len = sprintf( answer->value, "%d", length-basedays( (tmdata.tm_year/100)*100)+1 ); /* bja */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o error.o -c ./error.c ./error.c:441:12: warning: 'charno_of' defined but not used [-Wunused-function] 441 | static int charno_of( cnodeptr node ) | ^~~~~~~~~ ./error.c: In function 'get_text_message.constprop': ./error.c:364:38: warning: 'Language file: ' directive writing 15 bytes into a region of size 4 [-Wformat-overflow=] 364 | static const char *errcorrupt = "Language file: %s.mtb is corrupt"; | ~~~~^~~~~~~~~~~ In function 'simple_msg', inlined from 'get_text_message.constprop' at ./error.c:491:14: ./error.c:461:24: note: 'sprintf' output 31 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_text_message.constprop': ./error.c:364:38: warning: 'Language file: ' directive writing 15 bytes into a region of size 4 [-Wformat-overflow=] 364 | static const char *errcorrupt = "Language file: %s.mtb is corrupt"; | ~~~~^~~~~~~~~~~ In function 'simple_msg', inlined from 'get_text_message.constprop' at ./error.c:484:14: ./error.c:461:24: note: 'sprintf' output 31 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:1011:39: warning: 'Length of "' directive writing 11 bytes into a region of size 4 [-Wformat-overflow=] 1011 | return simple_msg( TSD, "Length of \"%s\" exceeds the path's maximum", errpath ); | ~~~~^~~~~~~~ In function 'simple_msg', inlined from 'get_message_indexes' at ./error.c:1011:17: ./error.c:461:24: note: 'sprintf' output 40 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:362:35: warning: 'Unable to read from language...' directive writing 35 bytes into a region of size 4 [-Wformat-overflow=] 362 | static const char *errread = "Unable to read from language file: %s"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from 'read_index_file' at ./error.c:917:14, inlined from 'get_message_indexes' at ./error.c:1025:20: ./error.c:461:24: note: 'sprintf' output 36 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:361:36: warning: 'Incorrect number of messages...' directive writing 47 bytes into a region of size 4 [-Wformat-overflow=] 361 | static const char *errcount = "Incorrect number of messages in language file: %s"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from 'read_index_file' at ./error.c:911:14, inlined from 'get_message_indexes' at ./error.c:1025:20: ./error.c:461:24: note: 'sprintf' output 48 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:362:35: warning: 'Unable to read from language...' directive writing 35 bytes into a region of size 4 [-Wformat-overflow=] 362 | static const char *errread = "Unable to read from language file: %s"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from 'read_index_file' at ./error.c:901:14, inlined from 'get_message_indexes' at ./error.c:1025:20: ./error.c:461:24: note: 'sprintf' output 36 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:361:36: warning: 'Incorrect number of messages...' directive writing 47 bytes into a region of size 4 [-Wformat-overflow=] 361 | static const char *errcount = "Incorrect number of messages in language file: %s"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from 'read_index_file' at ./error.c:895:14, inlined from 'get_message_indexes' at ./error.c:1025:20: ./error.c:461:24: note: 'sprintf' output 48 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:362:35: warning: 'Unable to read from language...' directive writing 35 bytes into a region of size 4 [-Wformat-overflow=] 362 | static const char *errread = "Unable to read from language file: %s"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from 'read_index_header' at ./error.c:863:14, inlined from 'read_index_file' at ./error.c:882:17, inlined from 'get_message_indexes' at ./error.c:1025:20: ./error.c:461:24: note: 'sprintf' output 36 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:362:35: warning: 'Unable to read from language...' directive writing 35 bytes into a region of size 4 [-Wformat-overflow=] 362 | static const char *errread = "Unable to read from language file: %s"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from 'read_index_header' at ./error.c:858:14, inlined from 'read_index_file' at ./error.c:882:17, inlined from 'get_message_indexes' at ./error.c:1025:20: ./error.c:461:24: note: 'sprintf' output 36 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:362:35: warning: 'Unable to read from language...' directive writing 35 bytes into a region of size 4 [-Wformat-overflow=] 362 | static const char *errread = "Unable to read from language file: %s"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from 'read_index_header' at ./error.c:853:14, inlined from 'read_index_file' at ./error.c:882:17, inlined from 'get_message_indexes' at ./error.c:1025:20: ./error.c:461:24: note: 'sprintf' output 36 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:360:35: warning: 'Unable to open language file..' directive writing 30 bytes into a region of size 4 [-Wformat-overflow=] 360 | static const char *erropen = "Unable to open language file: %s"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from 'read_index_header' at ./error.c:848:14, inlined from 'read_index_file' at ./error.c:882:17, inlined from 'get_message_indexes' at ./error.c:1025:20: ./error.c:461:24: note: 'sprintf' output 31 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:994:27: warning: 'Unsupported native language .' directive writing 29 bytes into a region of size 4 [-Wformat-overflow=] 994 | Str_len( err ) = sprintf( err->value, "Unsupported native language \"%.*s\"", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 995 | len, ptr ); | ~~~~~~~~~~ ./error.c:994:27: note: assuming directive output of 1 byte ./error.c:994:27: note: 'sprintf' output between 31 and 2147483678 bytes into a destination of size 4 ./error.c: In function '__regina_errortext': ./error.c:363:38: warning: 'Text missing from language f...' directive writing 33 bytes into a region of size 4 [-Wformat-overflow=] 363 | static const char *errmissing = "Text missing from language file: %s.mtb"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from '__regina_errortext' at ./error.c:1123:19: ./error.c:461:24: note: 'sprintf' output 38 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function '__regina_exiterror': ./error.c:606:37: warning: '%s' directive writing 17 bytes into a region of size 4 [-Wformat-overflow=] 357 | static const char *suberrprefix = "Error %d.%d: %.*s"; | ~~~~~~~~~~~~~~~~~~~ ...... 606 | ptr = simple_msg( TSD, "%s", suberrprefix ); | ^~ In function 'simple_msg', inlined from '__regina_exiterror' at ./error.c:606:19: ./error.c:461:24: note: 'sprintf' output 18 bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function '__regina_exiterror': ./error.c:599:34: warning: '%s' directive writing 17 bytes into a region of size 4 [-Wformat-overflow=] 357 | static const char *suberrprefix = "Error %d.%d: %.*s"; | ~~~~~~~~~~~~~~~~~~~ ...... 599 | ptr = simple_msg( TSD, "%s", suberrprefix ); | ^~ In function 'simple_msg', inlined from '__regina_exiterror' at ./error.c:599:16: ./error.c:461:24: note: 'sprintf' output 18 bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function '__regina_exiterror': ./error.c:734:37: warning: '%s' directive writing 29 bytes into a region of size 4 [-Wformat-overflow=] 358 | static const char *err2prefix = "Error %d running \"%.*s\": %.*s"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 734 | ptr = simple_msg( TSD, "%s", err2prefix ); | ^~ In function 'simple_msg', inlined from '__regina_exiterror' at ./error.c:734:19: ./error.c:461:24: note: 'sprintf' output 30 bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function '__regina_exiterror': ./error.c:726:34: warning: '%s' directive writing 29 bytes into a region of size 4 [-Wformat-overflow=] 358 | static const char *err2prefix = "Error %d running \"%.*s\": %.*s"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 726 | ptr = simple_msg( TSD, "%s", err2prefix ); | ^~ In function 'simple_msg', inlined from '__regina_exiterror' at ./error.c:726:16: ./error.c:461:24: note: 'sprintf' output 30 bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function '__regina_exiterror': ./error.c:712:37: warning: '%s' directive writing 38 bytes into a region of size 4 [-Wformat-overflow=] 356 | static const char *err1prefix = "Error %d running \"%.*s\", line %d: %.*s"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 712 | ptr = simple_msg( TSD, "%s", err1prefix ); | ^~ In function 'simple_msg', inlined from '__regina_exiterror' at ./error.c:712:19: ./error.c:461:24: note: 'sprintf' output 39 bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function '__regina_exiterror': ./error.c:704:34: warning: '%s' directive writing 38 bytes into a region of size 4 [-Wformat-overflow=] 356 | static const char *err1prefix = "Error %d running \"%.*s\", line %d: %.*s"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 704 | ptr = simple_msg( TSD, "%s", err1prefix ); | ^~ In function 'simple_msg', inlined from '__regina_exiterror' at ./error.c:704:16: ./error.c:461:24: note: 'sprintf' output 39 bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function '__regina_exiterror': ./error.c:811:30: warning: '%d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 811 | et->errornum->len = sprintf( et->errornum->value, "%d", -errorno ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c:811:30: note: directive argument in the range [-2147483647, 2147483647] ./error.c:811:30: note: 'sprintf' output between 2 and 12 bytes into a destination of size 4 gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o variable.o -c ./variable.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o interprt.o -c ./interprt.c ./interprt.c: In function '__regina_interpret': ./interprt.c:526:25: warning: variable 'it' set but not used [-Wunused-but-set-variable] 526 | itp_tsd_t * volatile it; | ^~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o debug.o -c ./debug.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o dbgfuncs.o -c ./dbgfuncs.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o memory.o -c ./memory.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o parsing.o -c ./parsing.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o files.o -c ./files.c ./files.c: In function 'getstatus': ./files.c:4146:42: warning: format '%lld' expects argument of type 'long long int', but argument 9 has type 'long int' [-Wformat=] 4146 | "%ld %ld %03o %d %s %s %lld", | ~~~^ | | | long long int | %ld ...... 4150 | (rx_64)(buffer.st_size) ) ; | ~~~~~~~~~~~~~~~~~~~~~~~ | | | long int ./files.c:4188:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] 4188 | sprintf( result->value, "%lld", (rx_64)(buffer.st_size) ) ; | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | | long int | long long int | %ld ./files.c:4266:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=] 4266 | sprintf( result->value, "%lld", buffer.st_ctime ); | ~~~^ | | | long long int | %ld ./files.c:4284:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=] 4284 | sprintf( result->value, "%lld", buffer.st_mtime ); | ~~~^ | | | long long int | %ld ./files.c:4302:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=] 4302 | sprintf( result->value, "%lld", buffer.st_atime ); | ~~~^ | | | long long int | %ld ./files.c:4317:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] 4317 | sprintf( result->value, "%lld", pos_read + 1 ); | ~~~^ ~~~~~~~~~~~~ | | | | | int64_t {aka long int} | long long int | %ld ./files.c:4333:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] 4333 | sprintf( result->value, "%lld", pos_write + 1 ); | ~~~^ ~~~~~~~~~~~~~ | | | | long long int int64_t {aka long int} | %ld ./files.c:4349:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] 4349 | sprintf( result->value, "%lld", line_read ); | ~~~^ ~~~~~~~~~ | | | | | int64_t {aka long int} | long long int | %ld ./files.c:4395:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] 4395 | sprintf( result->value, "%lld", line_write + 1 ) ; | ~~~^ ~~~~~~~~~~~~~~ | | | | long long int int64_t {aka long int} | %ld ./files.c:4408:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] 4408 | sprintf( result->value, "%lld", line_write ) ; | ~~~^ ~~~~~~~~~~ | | | | | int64_t {aka long int} | long long int | %ld ./files.c: In function 'getrexxstatus': ./files.c:4470:29: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] 4470 | " READ: char=%lld line=%lld WRITE: char=%lld line=%lld %s", | ~~~^ | | | long long int | %ld 4471 | (ptr->readpos+1), ptr->readline, | ~~~~~~~~~~~~~~~~ | | | int64_t {aka long int} ./files.c:4470:39: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t' {aka 'long int'} [-Wformat=] 4470 | " READ: char=%lld line=%lld WRITE: char=%lld line=%lld %s", | ~~~^ | | | long long int | %ld 4471 | (ptr->readpos+1), ptr->readline, | ~~~~~~~~~~~~~ | | | int64_t {aka long int} ./files.c:4470:56: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'int64_t' {aka 'long int'} [-Wformat=] 4470 | " READ: char=%lld line=%lld WRITE: char=%lld line=%lld %s", | ~~~^ | | | long long int | %ld 4471 | (ptr->readpos+1), ptr->readline, 4472 | (ptr->writepos+1), ptr->writeline, | ~~~~~~~~~~~~~~~~~ | | | int64_t {aka long int} ./files.c:4470:66: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'int64_t' {aka 'long int'} [-Wformat=] 4470 | " READ: char=%lld line=%lld WRITE: char=%lld line=%lld %s", | ~~~^ | | | long long int | %ld 4471 | (ptr->readpos+1), ptr->readline, 4472 | (ptr->writepos+1), ptr->writeline, | ~~~~~~~~~~~~~~ | | | int64_t {aka long int} ./files.c: In function 'getseek': ./files.c:4858:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] 4858 | sprintf(result->value, "%lld", pos ); | ~~~^ ~~~ | | | | | int64_t {aka long int} | long long int | %ld ./files.c:4700:33: warning: variable 'words' set but not used [-Wunused-but-set-variable] 4700 | int str_start=0,str_end=(-1),words; | ^~~~~ ./files.c: In function '__regina_std_chars': ./files.c:4890:9: warning: variable 'opt' set but not used [-Wunused-but-set-variable] 4890 | char opt = 'N'; | ^~~ ./files.c: In function 'get_external_routine_file': ./files.c:6086:17: warning: passing argument 1 of '__regina_my_fullpath' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 6086 | my_fullpath( TSD, buf, inname ); | ^~~ In file included from ./rexx.h:273, from ./files.c:87: ./extern.h:89:28: note: expected 'tsd_t *' {aka 'struct _tsd_t *'} but argument is of type 'const tsd_t *' {aka 'const struct _tsd_t *'} 89 | int my_fullpath( tsd_t *TSD, char *dst, const char *src ); | ~~~~~~~^~~ ./files.c: In function '__regina_my_fullpath': ./files.c:6568:16: warning: passing argument 2 of '__regina_give_a_chunkTSD' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 6568 | FreeTSD( source ); | ^~~~~~ ./extern.h:159:56: note: in definition of macro 'FreeTSD' 159 | # define FreeTSD(ptr) give_a_chunkTSD(TSD,ptr) | ^~~ ./extern.h:124:51: note: expected 'void *' but argument is of type 'const char *' 124 | void give_a_chunkTSD( const tsd_t *TSD, void *ptr ) ; | ~~~~~~^~~ ./files.c: In function '__regina_my_fullpathstreng': ./files.c:6705:26: warning: passing argument 1 of '__regina_my_fullpath' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 6705 | retval = my_fullpath( TSD, dst, copy ); | ^~~ ./files.c:6560:25: note: expected 'tsd_t *' {aka 'struct _tsd_t *'} but argument is of type 'const tsd_t *' {aka 'const struct _tsd_t *'} 6560 | int my_fullpath( tsd_t *TSD, char *dst, const char *src ) | ~~~~~~~^~~ ./files.c: In function 'getseek': ./files.c:4858:34: warning: '%lld' directive writing between 1 and 19 bytes into a region of size 4 [-Wformat-overflow=] 4858 | sprintf(result->value, "%lld", pos ); | ^~~~ ./files.c:4858:33: note: directive argument in the range [0, 9223372036854775807] 4858 | sprintf(result->value, "%lld", pos ); | ^~~~~~ ./files.c:4858:10: note: 'sprintf' output between 2 and 20 bytes into a destination of size 4 4858 | sprintf(result->value, "%lld", pos ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c: In function '__regina_find_shared_library': ./files.c:6417:7: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 6417 | strncpy( outname, paths, pathlen ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c:6416:35: note: length computed here 6416 | pathlen = sep ? sep-paths : strlen( paths ); | ^~~~~~~~~~~~~~~ ./files.c: In function 'getstatus': ./files.c:4395:41: warning: '%lld' directive writing between 1 and 20 bytes into a region of size 4 [-Wformat-overflow=] 4395 | sprintf( result->value, "%lld", line_write + 1 ) ; | ^~~~ ./files.c:4395:40: note: directive argument in the range [-9223372036854775807, 9223372036854775807] 4395 | sprintf( result->value, "%lld", line_write + 1 ) ; | ^~~~~~ ./files.c:4395:16: note: 'sprintf' output between 2 and 21 bytes into a destination of size 4 4395 | sprintf( result->value, "%lld", line_write + 1 ) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c:4333:41: warning: '%lld' directive writing between 1 and 20 bytes into a region of size 4 [-Wformat-overflow=] 4333 | sprintf( result->value, "%lld", pos_write + 1 ); | ^~~~ ./files.c:4333:40: note: directive argument in the range [-9223372036854775807, 9223372036854775807] 4333 | sprintf( result->value, "%lld", pos_write + 1 ); | ^~~~~~ ./files.c:4333:16: note: 'sprintf' output between 2 and 21 bytes into a destination of size 4 4333 | sprintf( result->value, "%lld", pos_write + 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c:4317:41: warning: '%lld' directive writing between 1 and 20 bytes into a region of size 4 [-Wformat-overflow=] 4317 | sprintf( result->value, "%lld", pos_read + 1 ); | ^~~~ ./files.c:4317:40: note: directive argument in the range [-9223372036854775807, 9223372036854775807] 4317 | sprintf( result->value, "%lld", pos_read + 1 ); | ^~~~~~ ./files.c:4317:16: note: 'sprintf' output between 2 and 21 bytes into a destination of size 4 4317 | sprintf( result->value, "%lld", pos_read + 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c:4146:25: warning: '%03o' directive writing 3 bytes into a region of size 0 [-Wformat-overflow=] 4146 | "%ld %ld %03o %d %s %s %lld", | ^~~~ ./files.c:4146:16: note: directive argument in the range [0, 511] 4146 | "%ld %ld %03o %d %s %s %lld", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c:4146:16: note: using the range [-2147483648, 2147483647] for directive argument ./files.c:4145:13: note: 'sprintf' output between 14 and 179 bytes into a destination of size 4 4145 | sprintf( result->value, | ^~~~~~~~~~~~~~~~~~~~~~~ 4146 | "%ld %ld %03o %d %s %s %lld", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4147 | (long)(buffer.st_dev), (long)(buffer.st_ino), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4148 | buffer.st_mode & ACCESSPERMS, buffer.st_nlink, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4149 | ptmppwd, ptmpgrp, | ~~~~~~~~~~~~~~~~~ 4150 | (rx_64)(buffer.st_size) ) ; | ~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c:4162:10: warning: 'strcat' writing 6 or more bytes into a region of size 4 overflows the destination [-Wstringop-overflow=] 4162 | strcat( result->value, stream_types[determine_stream_type( buffer.st_mode )].streamname ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./rexx.h:264: ./strengs.h:27:9: note: destination object 'value' of size 4 27 | char value[4] ; | ^~~~~ ./files.c: In function '__regina_std_stream': ./files.c:4470:18: warning: ' READ: char=' directive writing 12 bytes into a region of size 4 [-Wformat-overflow=] 4470 | " READ: char=%lld line=%lld WRITE: char=%lld line=%lld %s", | ~~~~^~~~~~~~ In function 'getrexxstatus', inlined from '__regina_std_stream' at ./files.c:5577:25: ./files.c:4470:13: note: directive argument in the range [-9223372036854775807, 9223372036854775807] 4470 | " READ: char=%lld line=%lld WRITE: char=%lld line=%lld %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c:4470:13: note: directive argument in the range [-9223372036854775807, 9223372036854775807] ./files.c:4469:7: note: 'sprintf' output between 52 and 129 bytes into a destination of size 4 4469 | sprintf( result->value + strlen(result->value), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4470 | " READ: char=%lld line=%lld WRITE: char=%lld line=%lld %s", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4471 | (ptr->readpos+1), ptr->readline, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4472 | (ptr->writepos+1), ptr->writeline, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4473 | (ptr->flag & FLAG_PERSIST) ? "PERSISTENT" : "TRANSIENT" ) ; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o misc.o -c ./misc.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o unxfuncs.o -c ./unxfuncs.c ./unxfuncs.c: In function '__regina_unx_popen': ./unxfuncs.c:143:25: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 143 | sprintf(eptr, "%d", lines ) ; | ^~ ./unxfuncs.c:143:24: note: directive argument in the range [1, 2147483647] 143 | sprintf(eptr, "%d", lines ) ; | ^~~~ ./unxfuncs.c:143:10: note: 'sprintf' output between 2 and 11 bytes into a destination of size 4 143 | sprintf(eptr, "%d", lines ) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./unxfuncs.c: In function '__regina_unx_uname': ./unxfuncs.c:202:24: warning: '%s' directive writing up to 255 bytes into a region of size 4 [-Wformat-overflow=] 202 | result->len = sprintf( result->value, "%s %s %s %s %s", utsbox.sysname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | utsbox.nodename, utsbox.release, utsbox.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | utsbox.machine ) ; | ~~~~~~~~~~~~~~~~ ./unxfuncs.c:202:24: note: 'sprintf' output between 5 and 1280 bytes into a destination of size 4 gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o cmsfuncs.o -c ./cmsfuncs.c ./cmsfuncs.c: In function '__regina_cms_state': ./cmsfuncs.c:309:12: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 309 | streng *retval=NULL ; | ^~~~~~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o os2funcs.o -c ./os2funcs.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o shell.o -c ./shell.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o rexxext.o -c ./rexxext.c ./rexxext.c: In function 'do_pause_at_exit': ./rexxext.c:280:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 280 | int ch; | ^~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o stack.o -c ./stack.c ./stack.c: In function '__regina_timeout_queue': ./stack.c:1476:15: warning: variable 'st' set but not used [-Wunused-but-set-variable] 1476 | stk_tsd_t *st; | ^~ ./stack.c: In function '__regina_addr_redir_queue': ./stack.c:1744:15: warning: variable 'st' set but not used [-Wunused-but-set-variable] 1744 | stk_tsd_t *st ; | ^~ ./stack.c: In function '__regina_fill_input_queue_stem': ./stack.c:529:29: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 529 | stem->len = stemlen + sprintf(stem->value + stemlen, "%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stack.c:529:29: note: directive argument in the range [1, 2147483647] ./stack.c:529:29: note: 'sprintf' output between 2 and 11 bytes into a destination of size 4 gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o tracing.o -c ./tracing.c ./tracing.c: In function '__regina_pushcallstack': ./tracing.c:80:15: warning: variable 'tt' set but not used [-Wunused-but-set-variable] 80 | tra_tsd_t *tt; | ^~ ./tracing.c: In function '__regina_popcallstack': ./tracing.c:105:15: warning: variable 'tt' set but not used [-Wunused-but-set-variable] 105 | tra_tsd_t *tt; | ^~ ./tracing.c: In function '__regina_traceerror': ./tracing.c:181:22: warning: ' +++ RC=' directive writing 14 bytes into a region of size 4 [-Wformat-overflow=] 181 | message->len = sprintf( message->value, " +++ RC=%d +++", RC ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tracing.c:181:22: note: 'sprintf' output between 20 and 30 bytes into a destination of size 4 ./tracing.c: In function 'getcallstack': ./tracing.c:589:28: warning: '%d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 589 | sprintf(eptr, "%d", ++j ) ; | ^~ ./tracing.c:589:27: note: directive argument in the range [-2147483647, 2147483647] 589 | sprintf(eptr, "%d", ++j ) ; | ^~~~ ./tracing.c:589:13: note: 'sprintf' output between 2 and 12 bytes into a destination of size 4 589 | sprintf(eptr, "%d", ++j ) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o interp.o -c ./interp.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o cmath.o -c ./cmath.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o convert.o -c ./convert.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o strengs.o -c ./strengs.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o library.o -c ./library.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o strmath.o -c ./strmath.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o signals.o -c ./signals.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o macros.o -c ./macros.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o envir.o -c ./envir.c In function 'get_io_flag', inlined from '__regina_perform' at ./envir.c:676:23: ./envir.c:580:44: warning: array subscript 5 is above array bounds of 'char[4]' [-Warray-bounds=] 580 | command->value[i-5]=command->value[i] ; | ~~~~~~~~~~~~~~^~~ In file included from ./rexx.h:264, from ./envir.c:20: ./strengs.h: In function '__regina_perform': ./strengs.h:27:9: note: while referencing 'value' 27 | char value[4] ; | ^~~~~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o expr.o -c ./expr.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o extstack.o -c ./extstack.c ./extstack.c: In function '__regina_read_result_from_rxstack': ./extstack.c:296:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 296 | int rc; | ^~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o yaccsrc.o -c -DYYMAXDEPTH=10000 ./yaccsrc.c ../yaccsrc.y: In function '__reginaparse': ../yaccsrc.y:794:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ../yaccsrc.y:1312:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ../yaccsrc.y:1314:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ../yaccsrc.y: At top level: ../yaccsrc.y:4:14: warning: 'RCSid' defined but not used [-Wunused-variable] gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o lexsrc.o -c ./lexsrc.c flex.skl:1625:14: warning: 'yy_flex_realloc' defined but not used [-Wunused-function] flex.skl:1541:13: warning: 'yy_fatal_error' defined but not used [-Wunused-function] gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o options.o -c ./options.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o os_unx.o -c ./os_unx.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o rexxbif.o -c ./rexxbif.c In file included from ./rexx.h:199, from ./rexxbif.h:107, from ./rexxbif.c:4: ./regina_c.h:50: warning: "_CTYPE_H" redefined 50 | #define _CTYPE_H 1 | In file included from ./rexxbif.h:61: /usr/include/ctype.h:34: note: this is the location of the previous definition 34 | #define _CTYPE_H | gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o wrappers.o -c ./wrappers.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o mt_notmt.o -c ./mt_notmt.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o instore.o -c ./instore.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o arxfuncs.o -c ./arxfuncs.c ./arxfuncs.c: In function '__regina_arexx_trim': ./arxfuncs.c:944:12: warning: variable 'parm' set but not used [-Wunused-but-set-variable] 944 | parambox parm; | ^~~~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o rexx.o -c ./rexx.c ./rexx.c: In function 'just_compile': ./rexx.c:536:25: warning: variable 'ipt' set but not used [-Wunused-but-set-variable] 536 | internal_parser_type ipt; | ^~~ ./rexx.c: In function 'main': ./rexx.c:804:8: warning: variable 'stdinput' set but not used [-Wunused-but-set-variable] 804 | int stdinput, rcode; | ^~~~~~~~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o nosaa.o -c ./nosaa.c gcc -L/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/local/lib -o rexx funcs.o builtin.o error.o variable.o interprt.o debug.o dbgfuncs.o memory.o parsing.o files.o misc.o unxfuncs.o cmsfuncs.o os2funcs.o shell.o rexxext.o stack.o tracing.o interp.o cmath.o convert.o strengs.o library.o strmath.o signals.o macros.o envir.o expr.o extstack.o yaccsrc.o lexsrc.o options.o os_unx.o rexxbif.o wrappers.o mt_notmt.o instore.o arxfuncs.o rexx.o nosaa.o -lsocket -lnsl -ltermcap -lm gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o client.o -c ./client.c ./client.c: In function 'IfcPrepareReturnString': ./client.c:207:45: warning: the comparison will always evaluate as 'false' for the address of 'value' will never be NULL [-Waddress] 207 | if ( ( src == NULL ) || ( Str_val( src ) == NULL ) ) | ^~ In file included from ./rexx.h:264, from ./client.c:62: ./strengs.h:27:9: note: 'value' declared here 27 | char value[4] ; | ^~~~~ ./client.c: In function 'do_an_external': ./client.c:1260:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 1260 | int rc ; | ^~ mv rexx.o rexx.o.save gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c -DRXLIB ./rexx.c ./rexx.c: In function 'just_compile': ./rexx.c:536:25: warning: variable 'ipt' set but not used [-Wunused-but-set-variable] 536 | internal_parser_type ipt; | ^~~ ./rexx.c: In function '__regina_faked_main': ./rexx.c:804:8: warning: variable 'stdinput' set but not used [-Wunused-but-set-variable] 804 | int stdinput, rcode; | ^~~~~~~~ mv rexx.o drexx.o mv rexx.o.save rexx.o gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o rexxsaa.o -c ./rexxsaa.c ./rexxsaa.c: In function '__regina_IfcSubCmd': ./rexxsaa.c:400:8: warning: variable 'rvalue' set but not used [-Wunused-but-set-variable] 400 | int rvalue=0, RCode=0, rc=RXEXIT_NOT_HANDLED ; | ^~~~~~ ./rexxsaa.c: In function 'RexxCallBack': ./rexxsaa.c:1024:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1024 | TSD = getGlobalTSD(); | ^ In file included from ./regina_c.h:44, from ./rexxsaa.c:112: ./rexxsaa.c: In function 'RexxRegisterSubcomExe': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1103:17: note: in expansion of macro 'getGlobalTSD' 1103 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxRegisterSubcomDll': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1125:17: note: in expansion of macro 'getGlobalTSD' 1125 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxQuerySubcom': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1147:17: note: in expansion of macro 'getGlobalTSD' 1147 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxDeregisterSubcom': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1168:17: note: in expansion of macro 'getGlobalTSD' 1168 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxVariablePool': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1213:17: note: in expansion of macro 'getGlobalTSD' 1213 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c:1212:15: warning: variable 'rt' set but not used [-Wunused-but-set-variable] 1212 | rex_tsd_t *rt; | ^~ ./rexxsaa.c: In function 'RexxRegisterExitExe': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1388:17: note: in expansion of macro 'getGlobalTSD' 1388 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxRegisterExitDll': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1409:17: note: in expansion of macro 'getGlobalTSD' 1409 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxDeregisterExit': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1427:17: note: in expansion of macro 'getGlobalTSD' 1427 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxQueryExit': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1445:17: note: in expansion of macro 'getGlobalTSD' 1445 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxRegisterFunctionExe': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1476:17: note: in expansion of macro 'getGlobalTSD' 1476 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxRegisterFunctionDll': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1492:17: note: in expansion of macro 'getGlobalTSD' 1492 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxQueryFunction': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1506:17: note: in expansion of macro 'getGlobalTSD' 1506 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxDeregisterFunction': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1520:17: note: in expansion of macro 'getGlobalTSD' 1520 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function '__regina_IfcExecFunc': ./rexxsaa.c:1604:15: warning: variable 'rt' set but not used [-Wunused-but-set-variable] 1604 | rex_tsd_t *rt; | ^~ ./rexxsaa.c: In function 'RexxCreateQueue': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1864:17: note: in expansion of macro 'getGlobalTSD' 1864 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxDeleteQueue': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1879:17: note: in expansion of macro 'getGlobalTSD' 1879 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxQueryQueue': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1898:17: note: in expansion of macro 'getGlobalTSD' 1898 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxAddQueue': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1918:17: note: in expansion of macro 'getGlobalTSD' 1918 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxPullQueue': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1939:17: note: in expansion of macro 'getGlobalTSD' 1939 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'ReginaVersion': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:2023:17: note: in expansion of macro 'getGlobalTSD' 2023 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ rm -f libregina.a ar cr libregina.a funcs.o builtin.o error.o variable.o interprt.o debug.o dbgfuncs.o memory.o parsing.o files.o misc.o unxfuncs.o cmsfuncs.o os2funcs.o shell.o rexxext.o stack.o tracing.o interp.o cmath.o convert.o strengs.o library.o strmath.o signals.o macros.o envir.o expr.o extstack.o yaccsrc.o lexsrc.o options.o os_unx.o rexxbif.o wrappers.o mt_notmt.o instore.o arxfuncs.o client.o drexx.o rexxsaa.o ranlib libregina.a gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -o execiser.o -c ./execiser.c ./execiser.c: In function 'instore': ./execiser.c:81:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 81 | int rc ; | ^~ ./execiser.c: In function 'trace': ./execiser.c:136:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 136 | int rc ; | ^~ ./execiser.c: In function 'intertrc': ./execiser.c:233:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 233 | int rc ; | ^~ ./execiser.c: In function 'pull': ./execiser.c:300:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 300 | int rc ; | ^~ ./execiser.c: In function 'env': ./execiser.c:365:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 365 | int rc ; | ^~ ./execiser.c: In function 'init_term': ./execiser.c:625:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 625 | int rc ; | ^~ ./execiser.c: In function 'init_term_show': ./execiser.c:658:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 658 | int rc ; | ^~ ./execiser.c: In function 'vars': ./execiser.c:821:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 821 | int rc ; | ^~ ./execiser.c: In function 'source': ./execiser.c:923:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 923 | int rc ; | ^~ ./execiser.c: In function 'parms': ./execiser.c:954:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 954 | int rc ; | ^~ ./execiser.c: In function 'allvars': ./execiser.c:1084:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 1084 | int rc ; | ^~ ./execiser.c: In function 'extfunc': ./execiser.c:1186:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 1186 | int rc ; | ^~ ./execiser.c: In function 'run_subcom': ./execiser.c:1253:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 1253 | int rc ; | ^~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o funcs.so.o -fPIC -DDYNAMIC -c ./funcs.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o builtin.so.o -fPIC -DDYNAMIC -c ./builtin.c ./builtin.c: In function '__regina_std_time': ./builtin.c:1077:24: warning: '%s' directive writing up to 6 bytes into a region of size between 0 and 3 [-Wformat-overflow=] 1077 | answer->len = sprintf( answer->value, "%ld%s", timediff,(timediff)?"000000":"" ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1077:24: note: 'sprintf' output between 2 and 27 bytes into a destination of size 4 1077 | answer->len = sprintf( answer->value, "%ld%s", timediff,(timediff)?"000000":"" ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1061:24: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 1 [-Wformat-overflow=] 1061 | answer->len = sprintf(answer->value, "%02d:%02d:%02d", tmdata.tm_hour, tmdata.tm_min, tmdata.tm_sec ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1061:24: note: 'sprintf' output between 9 and 36 bytes into a destination of size 4 ./builtin.c:1053:24: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 1 [-Wformat-overflow=] 1053 | answer->len = sprintf(answer->value, "%02d:%02d:%02d.%06ld", tmdata.tm_hour, tmdata.tm_min, tmdata.tm_sec, unow ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1053:24: note: 'sprintf' output between 16 and 57 bytes into a destination of size 4 ./builtin.c:1049:24: warning: '%.06f' directive writing between 3 and 317 bytes into a region of size 4 [-Wformat-overflow=] 1049 | answer->len = sprintf( answer->value, "%.06f", cpu_time() ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1049:24: note: assuming directive output of 8 bytes ./builtin.c:1049:24: note: 'sprintf' output between 4 and 318 bytes into a destination of size 4 1049 | answer->len = sprintf( answer->value, "%.06f", cpu_time() ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1039:27: warning: '%06lu' directive writing between 6 and 20 bytes into a region of size between 0 and 2 [-Wformat-overflow=] 1039 | answer->len = sprintf( answer->value,"%ld.%06lu", (long)sec, (unsigned long)usec ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1039:27: note: using the range [0, 18446744073709551615] for directive argument ./builtin.c:1039:27: note: 'sprintf' output between 9 and 42 bytes into a destination of size 4 ./builtin.c:1041:27: warning: '%06lu' directive writing between 6 and 20 bytes into a region of size 2 [-Wformat-overflow=] 1041 | answer->len = sprintf( answer->value,"0.%06lu", (unsigned long)usec ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1041:27: note: using the range [0, 18446744073709551615] for directive argument ./builtin.c:1041:27: note: 'sprintf' output between 9 and 23 bytes into a destination of size 4 ./builtin.c:1011:24: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 2 [-Wformat-overflow=] 1011 | answer->len = sprintf( answer->value, "%d:%02d%s", hour, tmdata.tm_min, ampm ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1011:24: note: 'sprintf' output between 7 and 18 bytes into a destination of size 4 ./builtin.c: In function '__regina_std_date': ./builtin.c:1098:30: warning: '%02d' directive writing between 2 and 11 bytes into a region of size 4 [-Wformat-overflow=] 1098 | static const char *fmt = "%02d%c%02d%c%02d" ; | ^~~~ ./builtin.c:1098:29: note: directive argument in the range [-2147483647, 2147483647] 1098 | static const char *fmt = "%02d%c%02d%c%02d" ; | ^~~~~~~~~~~~~~~~~~ ./builtin.c:1098:29: note: directive argument in the range [-99, 99] ./builtin.c:1335:27: note: 'sprintf' output between 9 and 28 bytes into a destination of size 4 1335 | answer->len = sprintf( answer->value, fmt, tmdata.tm_mon+1, osep, tmdata.tm_mday, osep, tmdata.tm_year%100 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1099:31: warning: '%02d' directive writing between 2 and 11 bytes into a region of size 4 [-Wformat-overflow=] 1099 | static const char *fmt1 = "%02d%02d%02d" ; | ^~~~ ./builtin.c:1099:30: note: directive argument in the range [-2147483647, 2147483647] 1099 | static const char *fmt1 = "%02d%02d%02d" ; | ^~~~~~~~~~~~~~ ./builtin.c:1099:30: note: directive argument in the range [-99, 99] ./builtin.c:1333:27: note: 'sprintf' output between 7 and 26 bytes into a destination of size 4 1333 | answer->len = sprintf( answer->value, fmt1, tmdata.tm_mon+1, tmdata.tm_mday, tmdata.tm_year%100 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1100:36: warning: '%c' directive writing 1 byte into a region of size 0 [-Wformat-overflow=] 1100 | static const char *sdate = "%04d%c%02d%c%02d" ; | ^~ ./builtin.c:1100:31: note: directive argument in the range [-2147483647, 2147483647] 1100 | static const char *sdate = "%04d%c%02d%c%02d" ; | ^~~~~~~~~~~~~~~~~~ ./builtin.c:1322:27: note: 'sprintf' output between 11 and 36 bytes into a destination of size 4 1322 | answer->len = sprintf(answer->value, sdate, tmdata.tm_year, osep, tmdata.tm_mon+1, osep, tmdata.tm_mday ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1101:37: warning: '%02d' directive writing between 2 and 11 bytes into a region of size 0 [-Wformat-overflow=] 1101 | static const char *sdate1 = "%04d%02d%02d" ; | ^~~~ ./builtin.c:1101:32: note: directive argument in the range [-2147483647, 2147483647] 1101 | static const char *sdate1 = "%04d%02d%02d" ; | ^~~~~~~~~~~~~~ ./builtin.c:1320:27: note: 'sprintf' output between 9 and 34 bytes into a destination of size 4 1320 | answer->len = sprintf(answer->value, sdate1, tmdata.tm_year, tmdata.tm_mon+1, tmdata.tm_mday ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1098:36: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 1 [-Wformat-overflow=] 1098 | static const char *fmt = "%02d%c%02d%c%02d" ; | ^~~~ ./builtin.c:1098:29: note: directive argument in the range [-2147483647, 2147483647] 1098 | static const char *fmt = "%02d%c%02d%c%02d" ; | ^~~~~~~~~~~~~~~~~~ ./builtin.c:1315:27: note: 'sprintf' output between 9 and 28 bytes into a destination of size 4 1315 | answer->len = sprintf( answer->value, fmt, tmdata.tm_year%100, osep, tmdata.tm_mon+1, osep, tmdata.tm_mday ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1099:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 1 and 2 [-Wformat-overflow=] 1099 | static const char *fmt1 = "%02d%02d%02d" ; | ^~~~ ./builtin.c:1099:30: note: directive argument in the range [-2147483647, 2147483647] 1099 | static const char *fmt1 = "%02d%02d%02d" ; | ^~~~~~~~~~~~~~ ./builtin.c:1313:27: note: 'sprintf' output between 7 and 26 bytes into a destination of size 4 1313 | answer->len = sprintf( answer->value, fmt1, tmdata.tm_year%100, tmdata.tm_mon+1, tmdata.tm_mday ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1104:40: warning: '%c' directive writing 1 byte into a region of size 0 [-Wformat-overflow=] 1104 | static const char *ndate = "%d%c%c%c%c%c%4d" ; | ^~ ./builtin.c:1308:27: note: 'sprintf' output between 11 and 28 bytes into a destination of size 4 1308 | answer->len = sprintf( answer->value, ndate, tmdata.tm_mday, osep, chptr[0], chptr[1], chptr[2], osep, tmdata.tm_year ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1105:41: warning: '%4d' directive writing between 4 and 11 bytes into a region of size 0 [-Wformat-overflow=] 1105 | static const char *ndate1 = "%d%c%c%c%4d" ; | ^~~ ./builtin.c:1306:27: note: 'sprintf' output between 9 and 26 bytes into a destination of size 4 1306 | answer->len = sprintf( answer->value, ndate1, tmdata.tm_mday, chptr[0], chptr[1], chptr[2], tmdata.tm_year ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1100:36: warning: '%c' directive writing 1 byte into a region of size 0 [-Wformat-overflow=] 1100 | static const char *sdate = "%04d%c%02d%c%02d" ; | ^~ ./builtin.c:1100:31: note: directive argument in the range [-2147483647, 2147483647] 1100 | static const char *sdate = "%04d%c%02d%c%02d" ; | ^~~~~~~~~~~~~~~~~~ ./builtin.c:1294:27: note: 'sprintf' output between 11 and 36 bytes into a destination of size 4 1294 | answer->len = sprintf( answer->value, iso, tmdata.tm_year, osep, tmdata.tm_mon+1, osep, tmdata.tm_mday ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1101:37: warning: '%02d' directive writing between 2 and 11 bytes into a region of size 0 [-Wformat-overflow=] 1101 | static const char *sdate1 = "%04d%02d%02d" ; | ^~~~ ./builtin.c:1101:32: note: directive argument in the range [-2147483647, 2147483647] 1101 | static const char *sdate1 = "%04d%02d%02d" ; | ^~~~~~~~~~~~~~ ./builtin.c:1292:27: note: 'sprintf' output between 9 and 34 bytes into a destination of size 4 1292 | answer->len = sprintf( answer->value, iso1, tmdata.tm_year, tmdata.tm_mon+1, tmdata.tm_mday ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1098:36: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 1 [-Wformat-overflow=] 1098 | static const char *fmt = "%02d%c%02d%c%02d" ; | ^~~~ ./builtin.c:1098:29: note: directive argument in the range [-2147483647, 2147483647] 1098 | static const char *fmt = "%02d%c%02d%c%02d" ; | ^~~~~~~~~~~~~~~~~~ ./builtin.c:1098:29: note: directive argument in the range [-99, 99] ./builtin.c:1287:27: note: 'sprintf' output between 9 and 28 bytes into a destination of size 4 1287 | answer->len = sprintf( answer->value, fmt, tmdata.tm_mday, osep, tmdata.tm_mon+1, osep, tmdata.tm_year%100 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1099:35: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 2 [-Wformat-overflow=] 1099 | static const char *fmt1 = "%02d%02d%02d" ; | ^~~~ ./builtin.c:1099:30: note: directive argument in the range [-2147483647, 2147483647] 1099 | static const char *fmt1 = "%02d%02d%02d" ; | ^~~~~~~~~~~~~~ ./builtin.c:1099:30: note: directive argument in the range [-99, 99] ./builtin.c:1285:27: note: 'sprintf' output between 7 and 26 bytes into a destination of size 4 1285 | answer->len = sprintf( answer->value, fmt1, tmdata.tm_mday, tmdata.tm_mon+1, tmdata.tm_year%100 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1280:24: warning: '%d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 1280 | answer->len = sprintf( answer->value, "%d", tmdata.tm_yday + 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1280:24: note: directive argument in the range [-2147483647, 2147483647] ./builtin.c:1280:24: note: 'sprintf' output between 2 and 12 bytes into a destination of size 4 ./builtin.c:1277:24: warning: '%d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 1277 | answer->len = sprintf( answer->value, "%d", length-basedays( (tmdata.tm_year/100)*100)+1 ); /* bja */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./builtin.c:1277:24: note: directive argument in the range [-2147483647, 2147483647] ./builtin.c:1277:24: note: 'sprintf' output between 2 and 12 bytes into a destination of size 4 1277 | answer->len = sprintf( answer->value, "%d", length-basedays( (tmdata.tm_year/100)*100)+1 ); /* bja */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o error.so.o -fPIC -DDYNAMIC -c ./error.c ./error.c:441:12: warning: 'charno_of' defined but not used [-Wunused-function] 441 | static int charno_of( cnodeptr node ) | ^~~~~~~~~ ./error.c: In function 'get_text_message.constprop': ./error.c:364:38: warning: 'Language file: ' directive writing 15 bytes into a region of size 4 [-Wformat-overflow=] 364 | static const char *errcorrupt = "Language file: %s.mtb is corrupt"; | ~~~~^~~~~~~~~~~ In function 'simple_msg', inlined from 'get_text_message.constprop' at ./error.c:491:14: ./error.c:461:24: note: 'sprintf' output 31 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_text_message.constprop': ./error.c:364:38: warning: 'Language file: ' directive writing 15 bytes into a region of size 4 [-Wformat-overflow=] 364 | static const char *errcorrupt = "Language file: %s.mtb is corrupt"; | ~~~~^~~~~~~~~~~ In function 'simple_msg', inlined from 'get_text_message.constprop' at ./error.c:484:14: ./error.c:461:24: note: 'sprintf' output 31 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:1011:39: warning: 'Length of "' directive writing 11 bytes into a region of size 4 [-Wformat-overflow=] 1011 | return simple_msg( TSD, "Length of \"%s\" exceeds the path's maximum", errpath ); | ~~~~^~~~~~~~ In function 'simple_msg', inlined from 'get_message_indexes' at ./error.c:1011:17: ./error.c:461:24: note: 'sprintf' output 40 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:362:35: warning: 'Unable to read from language...' directive writing 35 bytes into a region of size 4 [-Wformat-overflow=] 362 | static const char *errread = "Unable to read from language file: %s"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from 'read_index_file' at ./error.c:917:14, inlined from 'get_message_indexes' at ./error.c:1025:20: ./error.c:461:24: note: 'sprintf' output 36 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:361:36: warning: 'Incorrect number of messages...' directive writing 47 bytes into a region of size 4 [-Wformat-overflow=] 361 | static const char *errcount = "Incorrect number of messages in language file: %s"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from 'read_index_file' at ./error.c:911:14, inlined from 'get_message_indexes' at ./error.c:1025:20: ./error.c:461:24: note: 'sprintf' output 48 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:362:35: warning: 'Unable to read from language...' directive writing 35 bytes into a region of size 4 [-Wformat-overflow=] 362 | static const char *errread = "Unable to read from language file: %s"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from 'read_index_file' at ./error.c:901:14, inlined from 'get_message_indexes' at ./error.c:1025:20: ./error.c:461:24: note: 'sprintf' output 36 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:361:36: warning: 'Incorrect number of messages...' directive writing 47 bytes into a region of size 4 [-Wformat-overflow=] 361 | static const char *errcount = "Incorrect number of messages in language file: %s"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from 'read_index_file' at ./error.c:895:14, inlined from 'get_message_indexes' at ./error.c:1025:20: ./error.c:461:24: note: 'sprintf' output 48 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:362:35: warning: 'Unable to read from language...' directive writing 35 bytes into a region of size 4 [-Wformat-overflow=] 362 | static const char *errread = "Unable to read from language file: %s"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from 'read_index_header' at ./error.c:863:14, inlined from 'read_index_file' at ./error.c:882:17, inlined from 'get_message_indexes' at ./error.c:1025:20: ./error.c:461:24: note: 'sprintf' output 36 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:362:35: warning: 'Unable to read from language...' directive writing 35 bytes into a region of size 4 [-Wformat-overflow=] 362 | static const char *errread = "Unable to read from language file: %s"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from 'read_index_header' at ./error.c:858:14, inlined from 'read_index_file' at ./error.c:882:17, inlined from 'get_message_indexes' at ./error.c:1025:20: ./error.c:461:24: note: 'sprintf' output 36 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:362:35: warning: 'Unable to read from language...' directive writing 35 bytes into a region of size 4 [-Wformat-overflow=] 362 | static const char *errread = "Unable to read from language file: %s"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from 'read_index_header' at ./error.c:853:14, inlined from 'read_index_file' at ./error.c:882:17, inlined from 'get_message_indexes' at ./error.c:1025:20: ./error.c:461:24: note: 'sprintf' output 36 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:360:35: warning: 'Unable to open language file..' directive writing 30 bytes into a region of size 4 [-Wformat-overflow=] 360 | static const char *erropen = "Unable to open language file: %s"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from 'read_index_header' at ./error.c:848:14, inlined from 'read_index_file' at ./error.c:882:17, inlined from 'get_message_indexes' at ./error.c:1025:20: ./error.c:461:24: note: 'sprintf' output 31 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function 'get_message_indexes': ./error.c:994:27: warning: 'Unsupported native language .' directive writing 29 bytes into a region of size 4 [-Wformat-overflow=] 994 | Str_len( err ) = sprintf( err->value, "Unsupported native language \"%.*s\"", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 995 | len, ptr ); | ~~~~~~~~~~ ./error.c:994:27: note: assuming directive output of 1 byte ./error.c:994:27: note: 'sprintf' output between 31 and 2147483678 bytes into a destination of size 4 ./error.c: In function '__regina_errortext': ./error.c:363:38: warning: 'Text missing from language f...' directive writing 33 bytes into a region of size 4 [-Wformat-overflow=] 363 | static const char *errmissing = "Text missing from language file: %s.mtb"; | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'simple_msg', inlined from '__regina_errortext' at ./error.c:1123:19: ./error.c:461:24: note: 'sprintf' output 38 or more bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function '__regina_exiterror': ./error.c:606:37: warning: '%s' directive writing 17 bytes into a region of size 4 [-Wformat-overflow=] 357 | static const char *suberrprefix = "Error %d.%d: %.*s"; | ~~~~~~~~~~~~~~~~~~~ ...... 606 | ptr = simple_msg( TSD, "%s", suberrprefix ); | ^~ In function 'simple_msg', inlined from '__regina_exiterror' at ./error.c:606:19: ./error.c:461:24: note: 'sprintf' output 18 bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function '__regina_exiterror': ./error.c:599:34: warning: '%s' directive writing 17 bytes into a region of size 4 [-Wformat-overflow=] 357 | static const char *suberrprefix = "Error %d.%d: %.*s"; | ~~~~~~~~~~~~~~~~~~~ ...... 599 | ptr = simple_msg( TSD, "%s", suberrprefix ); | ^~ In function 'simple_msg', inlined from '__regina_exiterror' at ./error.c:599:16: ./error.c:461:24: note: 'sprintf' output 18 bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function '__regina_exiterror': ./error.c:734:37: warning: '%s' directive writing 29 bytes into a region of size 4 [-Wformat-overflow=] 358 | static const char *err2prefix = "Error %d running \"%.*s\": %.*s"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 734 | ptr = simple_msg( TSD, "%s", err2prefix ); | ^~ In function 'simple_msg', inlined from '__regina_exiterror' at ./error.c:734:19: ./error.c:461:24: note: 'sprintf' output 30 bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function '__regina_exiterror': ./error.c:726:34: warning: '%s' directive writing 29 bytes into a region of size 4 [-Wformat-overflow=] 358 | static const char *err2prefix = "Error %d running \"%.*s\": %.*s"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 726 | ptr = simple_msg( TSD, "%s", err2prefix ); | ^~ In function 'simple_msg', inlined from '__regina_exiterror' at ./error.c:726:16: ./error.c:461:24: note: 'sprintf' output 30 bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function '__regina_exiterror': ./error.c:712:37: warning: '%s' directive writing 38 bytes into a region of size 4 [-Wformat-overflow=] 356 | static const char *err1prefix = "Error %d running \"%.*s\", line %d: %.*s"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 712 | ptr = simple_msg( TSD, "%s", err1prefix ); | ^~ In function 'simple_msg', inlined from '__regina_exiterror' at ./error.c:712:19: ./error.c:461:24: note: 'sprintf' output 39 bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function '__regina_exiterror': ./error.c:704:34: warning: '%s' directive writing 38 bytes into a region of size 4 [-Wformat-overflow=] 356 | static const char *err1prefix = "Error %d running \"%.*s\", line %d: %.*s"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 704 | ptr = simple_msg( TSD, "%s", err1prefix ); | ^~ In function 'simple_msg', inlined from '__regina_exiterror' at ./error.c:704:16: ./error.c:461:24: note: 'sprintf' output 39 bytes into a destination of size 4 461 | Str_len( retval ) = sprintf( retval->value, fmt, arg ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c: In function '__regina_exiterror': ./error.c:811:30: warning: '%d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 811 | et->errornum->len = sprintf( et->errornum->value, "%d", -errorno ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./error.c:811:30: note: directive argument in the range [-2147483647, 2147483647] ./error.c:811:30: note: 'sprintf' output between 2 and 12 bytes into a destination of size 4 gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o variable.so.o -fPIC -DDYNAMIC -c ./variable.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o interprt.so.o -fPIC -DDYNAMIC -c ./interprt.c ./interprt.c: In function '__regina_interpret': ./interprt.c:526:25: warning: variable 'it' set but not used [-Wunused-but-set-variable] 526 | itp_tsd_t * volatile it; | ^~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o debug.so.o -fPIC -DDYNAMIC -c ./debug.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o dbgfuncs.so.o -fPIC -DDYNAMIC -c ./dbgfuncs.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o memory.so.o -fPIC -DDYNAMIC -c ./memory.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o parsing.so.o -fPIC -DDYNAMIC -c ./parsing.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o files.so.o -fPIC -DDYNAMIC -c ./files.c ./files.c: In function 'getstatus': ./files.c:4146:42: warning: format '%lld' expects argument of type 'long long int', but argument 9 has type 'long int' [-Wformat=] 4146 | "%ld %ld %03o %d %s %s %lld", | ~~~^ | | | long long int | %ld ...... 4150 | (rx_64)(buffer.st_size) ) ; | ~~~~~~~~~~~~~~~~~~~~~~~ | | | long int ./files.c:4188:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=] 4188 | sprintf( result->value, "%lld", (rx_64)(buffer.st_size) ) ; | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | | long int | long long int | %ld ./files.c:4266:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=] 4266 | sprintf( result->value, "%lld", buffer.st_ctime ); | ~~~^ | | | long long int | %ld ./files.c:4284:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=] 4284 | sprintf( result->value, "%lld", buffer.st_mtime ); | ~~~^ | | | long long int | %ld ./files.c:4302:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'time_t' {aka 'long int'} [-Wformat=] 4302 | sprintf( result->value, "%lld", buffer.st_atime ); | ~~~^ | | | long long int | %ld ./files.c:4317:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] 4317 | sprintf( result->value, "%lld", pos_read + 1 ); | ~~~^ ~~~~~~~~~~~~ | | | | | int64_t {aka long int} | long long int | %ld ./files.c:4333:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] 4333 | sprintf( result->value, "%lld", pos_write + 1 ); | ~~~^ ~~~~~~~~~~~~~ | | | | long long int int64_t {aka long int} | %ld ./files.c:4349:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] 4349 | sprintf( result->value, "%lld", line_read ); | ~~~^ ~~~~~~~~~ | | | | | int64_t {aka long int} | long long int | %ld ./files.c:4395:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] 4395 | sprintf( result->value, "%lld", line_write + 1 ) ; | ~~~^ ~~~~~~~~~~~~~~ | | | | long long int int64_t {aka long int} | %ld ./files.c:4408:44: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] 4408 | sprintf( result->value, "%lld", line_write ) ; | ~~~^ ~~~~~~~~~~ | | | | | int64_t {aka long int} | long long int | %ld ./files.c: In function 'getrexxstatus': ./files.c:4470:29: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] 4470 | " READ: char=%lld line=%lld WRITE: char=%lld line=%lld %s", | ~~~^ | | | long long int | %ld 4471 | (ptr->readpos+1), ptr->readline, | ~~~~~~~~~~~~~~~~ | | | int64_t {aka long int} ./files.c:4470:39: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t' {aka 'long int'} [-Wformat=] 4470 | " READ: char=%lld line=%lld WRITE: char=%lld line=%lld %s", | ~~~^ | | | long long int | %ld 4471 | (ptr->readpos+1), ptr->readline, | ~~~~~~~~~~~~~ | | | int64_t {aka long int} ./files.c:4470:56: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'int64_t' {aka 'long int'} [-Wformat=] 4470 | " READ: char=%lld line=%lld WRITE: char=%lld line=%lld %s", | ~~~^ | | | long long int | %ld 4471 | (ptr->readpos+1), ptr->readline, 4472 | (ptr->writepos+1), ptr->writeline, | ~~~~~~~~~~~~~~~~~ | | | int64_t {aka long int} ./files.c:4470:66: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'int64_t' {aka 'long int'} [-Wformat=] 4470 | " READ: char=%lld line=%lld WRITE: char=%lld line=%lld %s", | ~~~^ | | | long long int | %ld 4471 | (ptr->readpos+1), ptr->readline, 4472 | (ptr->writepos+1), ptr->writeline, | ~~~~~~~~~~~~~~ | | | int64_t {aka long int} ./files.c: In function 'getseek': ./files.c:4858:37: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int64_t' {aka 'long int'} [-Wformat=] 4858 | sprintf(result->value, "%lld", pos ); | ~~~^ ~~~ | | | | | int64_t {aka long int} | long long int | %ld ./files.c:4700:33: warning: variable 'words' set but not used [-Wunused-but-set-variable] 4700 | int str_start=0,str_end=(-1),words; | ^~~~~ ./files.c: In function '__regina_std_chars': ./files.c:4890:9: warning: variable 'opt' set but not used [-Wunused-but-set-variable] 4890 | char opt = 'N'; | ^~~ ./files.c: In function 'get_external_routine_file': ./files.c:6086:17: warning: passing argument 1 of '__regina_my_fullpath' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 6086 | my_fullpath( TSD, buf, inname ); | ^~~ In file included from ./rexx.h:273, from ./files.c:87: ./extern.h:89:28: note: expected 'tsd_t *' {aka 'struct _tsd_t *'} but argument is of type 'const tsd_t *' {aka 'const struct _tsd_t *'} 89 | int my_fullpath( tsd_t *TSD, char *dst, const char *src ); | ~~~~~~~^~~ ./files.c: In function '__regina_my_fullpath': ./files.c:6568:16: warning: passing argument 2 of '__regina_give_a_chunkTSD' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 6568 | FreeTSD( source ); | ^~~~~~ ./extern.h:159:56: note: in definition of macro 'FreeTSD' 159 | # define FreeTSD(ptr) give_a_chunkTSD(TSD,ptr) | ^~~ ./extern.h:124:51: note: expected 'void *' but argument is of type 'const char *' 124 | void give_a_chunkTSD( const tsd_t *TSD, void *ptr ) ; | ~~~~~~^~~ ./files.c: In function '__regina_my_fullpathstreng': ./files.c:6705:26: warning: passing argument 1 of '__regina_my_fullpath' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 6705 | retval = my_fullpath( TSD, dst, copy ); | ^~~ ./files.c:6560:25: note: expected 'tsd_t *' {aka 'struct _tsd_t *'} but argument is of type 'const tsd_t *' {aka 'const struct _tsd_t *'} 6560 | int my_fullpath( tsd_t *TSD, char *dst, const char *src ) | ~~~~~~~^~~ ./files.c: In function 'getseek': ./files.c:4858:34: warning: '%lld' directive writing between 1 and 19 bytes into a region of size 4 [-Wformat-overflow=] 4858 | sprintf(result->value, "%lld", pos ); | ^~~~ ./files.c:4858:33: note: directive argument in the range [0, 9223372036854775807] 4858 | sprintf(result->value, "%lld", pos ); | ^~~~~~ ./files.c:4858:10: note: 'sprintf' output between 2 and 20 bytes into a destination of size 4 4858 | sprintf(result->value, "%lld", pos ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c: In function '__regina_find_shared_library': ./files.c:6417:7: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 6417 | strncpy( outname, paths, pathlen ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c:6416:35: note: length computed here 6416 | pathlen = sep ? sep-paths : strlen( paths ); | ^~~~~~~~~~~~~~~ ./files.c: In function 'getstatus': ./files.c:4395:41: warning: '%lld' directive writing between 1 and 20 bytes into a region of size 4 [-Wformat-overflow=] 4395 | sprintf( result->value, "%lld", line_write + 1 ) ; | ^~~~ ./files.c:4395:40: note: directive argument in the range [-9223372036854775807, 9223372036854775807] 4395 | sprintf( result->value, "%lld", line_write + 1 ) ; | ^~~~~~ ./files.c:4395:16: note: 'sprintf' output between 2 and 21 bytes into a destination of size 4 4395 | sprintf( result->value, "%lld", line_write + 1 ) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c:4333:41: warning: '%lld' directive writing between 1 and 20 bytes into a region of size 4 [-Wformat-overflow=] 4333 | sprintf( result->value, "%lld", pos_write + 1 ); | ^~~~ ./files.c:4333:40: note: directive argument in the range [-9223372036854775807, 9223372036854775807] 4333 | sprintf( result->value, "%lld", pos_write + 1 ); | ^~~~~~ ./files.c:4333:16: note: 'sprintf' output between 2 and 21 bytes into a destination of size 4 4333 | sprintf( result->value, "%lld", pos_write + 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c:4317:41: warning: '%lld' directive writing between 1 and 20 bytes into a region of size 4 [-Wformat-overflow=] 4317 | sprintf( result->value, "%lld", pos_read + 1 ); | ^~~~ ./files.c:4317:40: note: directive argument in the range [-9223372036854775807, 9223372036854775807] 4317 | sprintf( result->value, "%lld", pos_read + 1 ); | ^~~~~~ ./files.c:4317:16: note: 'sprintf' output between 2 and 21 bytes into a destination of size 4 4317 | sprintf( result->value, "%lld", pos_read + 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c:4146:25: warning: '%03o' directive writing 3 bytes into a region of size 0 [-Wformat-overflow=] 4146 | "%ld %ld %03o %d %s %s %lld", | ^~~~ ./files.c:4146:16: note: directive argument in the range [0, 511] 4146 | "%ld %ld %03o %d %s %s %lld", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c:4146:16: note: using the range [-2147483648, 2147483647] for directive argument ./files.c:4145:13: note: 'sprintf' output between 14 and 179 bytes into a destination of size 4 4145 | sprintf( result->value, | ^~~~~~~~~~~~~~~~~~~~~~~ 4146 | "%ld %ld %03o %d %s %s %lld", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4147 | (long)(buffer.st_dev), (long)(buffer.st_ino), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4148 | buffer.st_mode & ACCESSPERMS, buffer.st_nlink, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4149 | ptmppwd, ptmpgrp, | ~~~~~~~~~~~~~~~~~ 4150 | (rx_64)(buffer.st_size) ) ; | ~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c:4162:10: warning: 'strcat' writing 6 or more bytes into a region of size 4 overflows the destination [-Wstringop-overflow=] 4162 | strcat( result->value, stream_types[determine_stream_type( buffer.st_mode )].streamname ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./rexx.h:264: ./strengs.h:27:9: note: destination object 'value' of size 4 27 | char value[4] ; | ^~~~~ ./files.c: In function '__regina_std_stream': ./files.c:4470:18: warning: ' READ: char=' directive writing 12 bytes into a region of size 4 [-Wformat-overflow=] 4470 | " READ: char=%lld line=%lld WRITE: char=%lld line=%lld %s", | ~~~~^~~~~~~~ In function 'getrexxstatus', inlined from '__regina_std_stream' at ./files.c:5577:25: ./files.c:4470:13: note: directive argument in the range [-9223372036854775807, 9223372036854775807] 4470 | " READ: char=%lld line=%lld WRITE: char=%lld line=%lld %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./files.c:4470:13: note: directive argument in the range [-9223372036854775807, 9223372036854775807] ./files.c:4469:7: note: 'sprintf' output between 52 and 129 bytes into a destination of size 4 4469 | sprintf( result->value + strlen(result->value), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4470 | " READ: char=%lld line=%lld WRITE: char=%lld line=%lld %s", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4471 | (ptr->readpos+1), ptr->readline, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4472 | (ptr->writepos+1), ptr->writeline, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4473 | (ptr->flag & FLAG_PERSIST) ? "PERSISTENT" : "TRANSIENT" ) ; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o misc.so.o -fPIC -DDYNAMIC -c ./misc.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o unxfuncs.so.o -fPIC -DDYNAMIC -c ./unxfuncs.c ./unxfuncs.c: In function '__regina_unx_popen': ./unxfuncs.c:143:25: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 143 | sprintf(eptr, "%d", lines ) ; | ^~ ./unxfuncs.c:143:24: note: directive argument in the range [1, 2147483647] 143 | sprintf(eptr, "%d", lines ) ; | ^~~~ ./unxfuncs.c:143:10: note: 'sprintf' output between 2 and 11 bytes into a destination of size 4 143 | sprintf(eptr, "%d", lines ) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./unxfuncs.c: In function '__regina_unx_uname': ./unxfuncs.c:202:24: warning: '%s' directive writing up to 255 bytes into a region of size 4 [-Wformat-overflow=] 202 | result->len = sprintf( result->value, "%s %s %s %s %s", utsbox.sysname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | utsbox.nodename, utsbox.release, utsbox.version, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | utsbox.machine ) ; | ~~~~~~~~~~~~~~~~ ./unxfuncs.c:202:24: note: 'sprintf' output between 5 and 1280 bytes into a destination of size 4 gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o cmsfuncs.so.o -fPIC -DDYNAMIC -c ./cmsfuncs.c ./cmsfuncs.c: In function '__regina_cms_state': ./cmsfuncs.c:309:12: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 309 | streng *retval=NULL ; | ^~~~~~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o shell.so.o -fPIC -DDYNAMIC -c ./shell.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o os2funcs.so.o -fPIC -DDYNAMIC -c ./os2funcs.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o rexxext.so.o -fPIC -DDYNAMIC -c ./rexxext.c ./rexxext.c: In function 'do_pause_at_exit': ./rexxext.c:280:8: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 280 | int ch; | ^~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o stack.so.o -fPIC -DDYNAMIC -c ./stack.c ./stack.c: In function '__regina_timeout_queue': ./stack.c:1476:15: warning: variable 'st' set but not used [-Wunused-but-set-variable] 1476 | stk_tsd_t *st; | ^~ ./stack.c: In function '__regina_addr_redir_queue': ./stack.c:1744:15: warning: variable 'st' set but not used [-Wunused-but-set-variable] 1744 | stk_tsd_t *st ; | ^~ ./stack.c: In function '__regina_fill_input_queue_stem': ./stack.c:529:29: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 529 | stem->len = stemlen + sprintf(stem->value + stemlen, "%d", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./stack.c:529:29: note: directive argument in the range [1, 2147483647] ./stack.c:529:29: note: 'sprintf' output between 2 and 11 bytes into a destination of size 4 gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o tracing.so.o -fPIC -DDYNAMIC -c ./tracing.c ./tracing.c: In function '__regina_pushcallstack': ./tracing.c:80:15: warning: variable 'tt' set but not used [-Wunused-but-set-variable] 80 | tra_tsd_t *tt; | ^~ ./tracing.c: In function '__regina_popcallstack': ./tracing.c:105:15: warning: variable 'tt' set but not used [-Wunused-but-set-variable] 105 | tra_tsd_t *tt; | ^~ ./tracing.c: In function '__regina_traceerror': ./tracing.c:181:22: warning: ' +++ RC=' directive writing 14 bytes into a region of size 4 [-Wformat-overflow=] 181 | message->len = sprintf( message->value, " +++ RC=%d +++", RC ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tracing.c:181:22: note: 'sprintf' output between 20 and 30 bytes into a destination of size 4 ./tracing.c: In function 'getcallstack': ./tracing.c:589:28: warning: '%d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 589 | sprintf(eptr, "%d", ++j ) ; | ^~ ./tracing.c:589:27: note: directive argument in the range [-2147483647, 2147483647] 589 | sprintf(eptr, "%d", ++j ) ; | ^~~~ ./tracing.c:589:13: note: 'sprintf' output between 2 and 12 bytes into a destination of size 4 589 | sprintf(eptr, "%d", ++j ) ; | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o interp.so.o -fPIC -DDYNAMIC -c ./interp.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o cmath.so.o -fPIC -DDYNAMIC -c ./cmath.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o convert.so.o -fPIC -DDYNAMIC -c ./convert.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o strengs.so.o -fPIC -DDYNAMIC -c ./strengs.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o library.so.o -fPIC -DDYNAMIC -c ./library.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o strmath.so.o -fPIC -DDYNAMIC -c ./strmath.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o signals.so.o -fPIC -DDYNAMIC -c ./signals.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o macros.so.o -fPIC -DDYNAMIC -c ./macros.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o envir.so.o -fPIC -DDYNAMIC -c ./envir.c In function 'get_io_flag', inlined from '__regina_perform' at ./envir.c:676:23: ./envir.c:580:44: warning: array subscript 5 is above array bounds of 'char[4]' [-Warray-bounds=] 580 | command->value[i-5]=command->value[i] ; | ~~~~~~~~~~~~~~^~~ In file included from ./rexx.h:264, from ./envir.c:20: ./strengs.h: In function '__regina_perform': ./strengs.h:27:9: note: while referencing 'value' 27 | char value[4] ; | ^~~~~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o expr.so.o -fPIC -DDYNAMIC -c ./expr.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o extstack.so.o -fPIC -DDYNAMIC -c ./extstack.c ./extstack.c: In function '__regina_read_result_from_rxstack': ./extstack.c:296:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 296 | int rc; | ^~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o yaccsrc.so.o -fPIC -DDYNAMIC -c -DYYMAXDEPTH=10000 ./yaccsrc.c ../yaccsrc.y: In function '__reginaparse': ../yaccsrc.y:794:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ../yaccsrc.y:1312:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ../yaccsrc.y:1314:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ../yaccsrc.y: At top level: ../yaccsrc.y:4:14: warning: 'RCSid' defined but not used [-Wunused-variable] gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o lexsrc.so.o -fPIC -DDYNAMIC -c ./lexsrc.c flex.skl:1625:14: warning: 'yy_flex_realloc' defined but not used [-Wunused-function] flex.skl:1541:13: warning: 'yy_fatal_error' defined but not used [-Wunused-function] gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o wrappers.so.o -fPIC -DDYNAMIC -c ./wrappers.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o options.so.o -fPIC -DDYNAMIC -c ./options.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o os_unx.so.o -fPIC -DDYNAMIC -c ./os_unx.c gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o rexxbif.so.o -fPIC -DDYNAMIC -c ./rexxbif.c In file included from ./rexx.h:199, from ./rexxbif.h:107, from ./rexxbif.c:4: ./regina_c.h:50: warning: "_CTYPE_H" redefined 50 | #define _CTYPE_H 1 | In file included from ./rexxbif.h:61: /usr/include/ctype.h:34: note: this is the location of the previous definition 34 | #define _CTYPE_H | mv rexx.o rexx.o.save gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -fPIC -DDYNAMIC -c -DRXLIB ./rexx.c ./rexx.c: In function 'just_compile': ./rexx.c:536:25: warning: variable 'ipt' set but not used [-Wunused-but-set-variable] 536 | internal_parser_type ipt; | ^~~ ./rexx.c: In function '__regina_faked_main': ./rexx.c:804:8: warning: variable 'stdinput' set but not used [-Wunused-but-set-variable] 804 | int stdinput, rcode; | ^~~~~~~~ mv rexx.o drexx.so.o mv rexx.o.save rexx.o gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o client.so.o -fPIC -DDYNAMIC -c ./client.c ./client.c: In function 'IfcPrepareReturnString': ./client.c:207:45: warning: the comparison will always evaluate as 'false' for the address of 'value' will never be NULL [-Waddress] 207 | if ( ( src == NULL ) || ( Str_val( src ) == NULL ) ) | ^~ In file included from ./rexx.h:264, from ./client.c:62: ./strengs.h:27:9: note: 'value' declared here 27 | char value[4] ; | ^~~~~ ./client.c: In function 'do_an_external': ./client.c:1260:8: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 1260 | int rc ; | ^~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o rexxsaa.so.o -fPIC -DDYNAMIC -c ./rexxsaa.c ./rexxsaa.c: In function '__regina_IfcSubCmd': ./rexxsaa.c:400:8: warning: variable 'rvalue' set but not used [-Wunused-but-set-variable] 400 | int rvalue=0, RCode=0, rc=RXEXIT_NOT_HANDLED ; | ^~~~~~ ./rexxsaa.c: In function 'RexxCallBack': ./rexxsaa.c:1024:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1024 | TSD = getGlobalTSD(); | ^ In file included from ./regina_c.h:44, from ./rexxsaa.c:112: ./rexxsaa.c: In function 'RexxRegisterSubcomExe': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1103:17: note: in expansion of macro 'getGlobalTSD' 1103 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxRegisterSubcomDll': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1125:17: note: in expansion of macro 'getGlobalTSD' 1125 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxQuerySubcom': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1147:17: note: in expansion of macro 'getGlobalTSD' 1147 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxDeregisterSubcom': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1168:17: note: in expansion of macro 'getGlobalTSD' 1168 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxVariablePool': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1213:17: note: in expansion of macro 'getGlobalTSD' 1213 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c:1212:15: warning: variable 'rt' set but not used [-Wunused-but-set-variable] 1212 | rex_tsd_t *rt; | ^~ ./rexxsaa.c: In function 'RexxRegisterExitExe': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1388:17: note: in expansion of macro 'getGlobalTSD' 1388 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxRegisterExitDll': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1409:17: note: in expansion of macro 'getGlobalTSD' 1409 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxDeregisterExit': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1427:17: note: in expansion of macro 'getGlobalTSD' 1427 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxQueryExit': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1445:17: note: in expansion of macro 'getGlobalTSD' 1445 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxRegisterFunctionExe': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1476:17: note: in expansion of macro 'getGlobalTSD' 1476 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxRegisterFunctionDll': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1492:17: note: in expansion of macro 'getGlobalTSD' 1492 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxQueryFunction': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1506:17: note: in expansion of macro 'getGlobalTSD' 1506 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxDeregisterFunction': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1520:17: note: in expansion of macro 'getGlobalTSD' 1520 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function '__regina_IfcExecFunc': ./rexxsaa.c:1604:15: warning: variable 'rt' set but not used [-Wunused-but-set-variable] 1604 | rex_tsd_t *rt; | ^~ ./rexxsaa.c: In function 'RexxCreateQueue': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1864:17: note: in expansion of macro 'getGlobalTSD' 1864 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxDeleteQueue': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1879:17: note: in expansion of macro 'getGlobalTSD' 1879 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxQueryQueue': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1898:17: note: in expansion of macro 'getGlobalTSD' 1898 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxAddQueue': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1918:17: note: in expansion of macro 'getGlobalTSD' 1918 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'RexxPullQueue': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:1939:17: note: in expansion of macro 'getGlobalTSD' 1939 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ ./rexxsaa.c: In function 'ReginaVersion': ./wrappers.h:249:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 249 | #define getGlobalTSD __regina_getGlobalTSD | ^~~~~~~~~~~~~~~~~~~~~ ./rexxsaa.c:2023:17: note: in expansion of macro 'getGlobalTSD' 2023 | tsd_t *TSD = getGlobalTSD(); | ^~~~~~~~~~~~ gcc -DNDEBUG -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -g -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/regina-rexx\" -funsigned-char -DREGINA_VERSION_DATE=\""25 Jun 2022"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"5\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -DHAVE_GCI -I./gci -I. -I. -I./contrib -D_REENTRANT -DPOSIX -DREGINA_REENTRANT -o mt_posix.so.o -fPIC -DDYNAMIC -c ./mt_posix.c ./mt_posix.c: In function 'getgrgid': ./mt_posix.c:367:24: error: 'mt' undeclared (first use in this function); did you mean 'tm'? 367 | &mt->getgrgid_retval, | ^~ | tm ./mt_posix.c:367:24: note: each undeclared identifier is reported only once for each function it appears in ./mt_posix.c: In function 'gethostbyname': ./mt_posix.c:478:8: warning: unused variable 'herr' [-Wunused-variable] 478 | int herr; | ^~~~ ./mt_posix.c: In function 'getgrgid': ./mt_posix.c:548:1: error: expected declaration or statement at end of input 548 | } | ^ ./mt_posix.c:653: warning: control reaches end of non-void function [-Wreturn-type] ./mt_posix.c: At top level: ./mt_posix.c:526:7: warning: 'inet_ntoa' defined but not used [-Wunused-function] 526 | char *inet_ntoa(struct in_addr in) | ^~~~~~~~~ ./mt_posix.c:476:17: warning: 'gethostbyname' defined but not used [-Wunused-function] 476 | struct hostent *gethostbyname(const char *name) | ^~~~~~~~~~~~~ ./mt_posix.c:458:12: warning: 'localtime' defined but not used [-Wunused-function] 458 | struct tm *localtime(const time_t *time) | ^~~~~~~~~ ./mt_posix.c:440:12: warning: 'gmtime' defined but not used [-Wunused-function] 440 | struct tm *gmtime(const time_t *time) | ^~~~~~ ./mt_posix.c:390:16: warning: 'getpwuid' defined but not used [-Wunused-function] 390 | struct passwd *getpwuid(uid_t uid) | ^~~~~~~~ gmake: *** [Makefile:859: mt_posix.so.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/lang/rexx-regina *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/lang/rexx-regina