+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/yap-6.3.3nb5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/yap-6.3.3nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for yap-6.3.3nb5
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include ./console/yap.c -o yap.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/agc.c -o agc.o
In file included from C/agc.c:192:
./H/rheap.h: In function 'RestoreForeignCode__':
./H/rheap.h:1010:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1010 | if (objs->next != NULL)
| ^~
./H/rheap.h:1012:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1012 | objs->name = AtomAdjust(objs->name);
| ^~~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/absmi.c -o absmi.o
In file included from C/absmi.c:3397:
./OPTYap/tab.insts.i: In function 'Yap_absmi':
./OPTYap/tab.insts.i:532:11: warning: variable 'leader_dep_on_stack' set but not used [-Wunused-but-set-variable]
532 | int leader_dep_on_stack;
| ^~~~~~~~~~~~~~~~~~~
./OPTYap/tab.insts.i:672:11: warning: variable 'leader_dep_on_stack' set but not used [-Wunused-but-set-variable]
672 | int leader_dep_on_stack;
| ^~~~~~~~~~~~~~~~~~~
./OPTYap/tab.insts.i:812:11: warning: variable 'leader_dep_on_stack' set but not used [-Wunused-but-set-variable]
812 | int leader_dep_on_stack;
| ^~~~~~~~~~~~~~~~~~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/adtdefs.c -o adtdefs.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/alloc.c -o alloc.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/amasm.c -o amasm.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/analyst.c -o analyst.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/arrays.c -o arrays.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/arith0.c -o arith0.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/arith1.c -o arith1.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/arith2.c -o arith2.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/attvar.c -o attvar.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/bignum.c -o bignum.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/bb.c -o bb.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/cdmgr.c -o cdmgr.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/cmppreds.c -o cmppreds.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/compiler.c -o compiler.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/computils.c -o computils.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/corout.c -o corout.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/cut_c.c -o cut_c.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/dbase.c -o dbase.o
C/dbase.c: In function 'GetDBTerm':
C/dbase.c:2477:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
2477 | if (H+NOf > ASP)
| ^~
C/dbase.c:2479:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
2479 | Yap_exit( 1);
| ^~~~~~~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/dlmalloc.c -o dlmalloc.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/errors.c -o errors.o
C/errors.c: In function 'Yap_Error':
C/errors.c:1803:7: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
1803 | strncpy(LOCAL_ErrorSay, RepAtom(NameOfFunctor(FunctorOfTerm(nt[0])))->StrOfAE,\
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1804 | MAX_ERROR_MSG_SIZE);
| ~~~~~~~~~~~~~~~~~~~
C/errors.c:1799:7: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
1799 | strncpy(LOCAL_ErrorSay, RepAtom(AtomOfTerm(nt[0]))->StrOfAE, MAX_ERROR_MSG_SIZ\
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1800 | E);
| ~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/eval.c -o eval.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/exec.c -o exec.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/exo.c -o exo.o
C/exo.c: In function 'add_index':
C/exo.c:266:5: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
266 | bzero(base, 3*sizeof(CELL)*ncls);
| ^~~~~
C/exo.c:266:5: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/globals.c -o globals.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/gmp_support.c -o gmp_support.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/gprof.c -o gprof.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/grow.c -o grow.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/heapgc.c -o heapgc.o
C/heapgc.c: In function 'mark_choicepoints':
C/heapgc.c:2027:45: warning: format '%d' expects argument of type 'int', but argument 4 has type 'UInt' {aka 'long unsigned int'} [-Wformat=]
2027 | fprintf(GLOBAL_stderr,"%% %s/%d marked " Int_FORMAT " (%u)\n", RepAtom(NameOfFunctor(pe->FunctorOfPred))->StrOfAE, pe->ArityOfPE, LOCAL_total_marked, (unsigned int)opnum);
| ~^ ~~~~~~~~~~~~~
| | |
| int UInt {aka long unsigned int}
| %ld
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/index.c -o index.o
C/index.c: In function 'install_clauses':
C/index.c:2999:43: warning: the comparison will always evaluate as 'false' for the address of 'ClCode' will never be NULL [-Waddress]
2999 | if (cl->ClCode == end || cl->ClCode == NULL) {
| ^~
In file included from ./H/absmi.h:149,
from C/index.c:483:
./H/clause.h:130:20: note: 'ClCode' declared here
130 | yamop ClCode[MIN_ARRAY];
| ^~~~~~
C/index.c: At top level:
C/index.c:6072:56: warning: argument 3 of type 'Term[3]' {aka 'long unsigned int[3]'} with mismatched bound [-Warray-parameter=]
6072 | Yap_FollowIndexingCode(PredEntry *ap, yamop *ipc, Term Terms[3], yamop *ap_pc, yamop *cp_pc)
| ~~~~~^~~~~~~~
In file included from ./H/Yap.h:546,
from ./H/absmi.h:148:
./H/clause.h:263:71: note: previously declared as 'Term *' {aka 'long unsigned int *'}
263 | LogUpdClause *STD_PROTO(Yap_FollowIndexingCode,(PredEntry *,yamop *, Term *, yamop *,yamop *));
| ^~~~~~
./H/Yapproto.h:18:27: note: in definition of macro 'STD_PROTO'
18 | #define STD_PROTO(F,A) F A
| ^
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS ./C/init.c -o init.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/inlines.c -o inlines.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/iopreds.c -o iopreds.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/depth_bound.c -o depth_bound.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/mavar.c -o mavar.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS ./MYDDAS/myddas_mysql.c -o myddas_mysql.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS ./MYDDAS/myddas_odbc.c -o myddas_odbc.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS ./MYDDAS/myddas_shared.c -o myddas_shared.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS ./MYDDAS/myddas_initialization.c -o myddas_initialization.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS ./MYDDAS/myddas_util.c -o myddas_util.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS ./MYDDAS/myddas_statistics.c -o myddas_statistics.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS ./MYDDAS/myddas_top_level.c -o myddas_top_level.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS ./MYDDAS/myddas_wkb2prolog.c -o myddas_wkb2prolog.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/modules.c -o modules.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/other.c -o other.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/parser.c -o parser.o
C/parser.c: In function 'VarNames':
C/parser.c:190:9: warning: 'siglongjmp' accessing 1024 bytes in a region of size 64 [-Wstringop-overflow=]
190 | siglongjmp(LOCAL_IOBotch,1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
C/parser.c:190:9: note: referencing argument 1 of type 'long int[128]'
In file included from ./H/Yap.h:326,
from C/parser.c:49:
/usr/include/setjmp.h:62:13: note: in a call to function 'siglongjmp'
62 | extern void siglongjmp(sigjmp_buf, int) __NORETURN;
| ^~~~~~~~~~
C/parser.c:190:9: warning: 'siglongjmp' accessing 1024 bytes in a region of size 64 [-Wstringop-overflow=]
190 | siglongjmp(LOCAL_IOBotch,1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
C/parser.c:190:9: note: referencing argument 1 of type 'long int[128]'
/usr/include/setjmp.h:62:13: note: in a call to function 'siglongjmp'
62 | extern void siglongjmp(sigjmp_buf, int) __NORETURN;
| ^~~~~~~~~~
C/parser.c:190:9: warning: 'siglongjmp' accessing 1024 bytes in a region of size 64 [-Wstringop-overflow=]
190 | siglongjmp(LOCAL_IOBotch,1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
C/parser.c:190:9: note: referencing argument 1 of type 'long int[128]'
/usr/include/setjmp.h:62:13: note: in a call to function 'siglongjmp'
62 | extern void siglongjmp(sigjmp_buf, int) __NORETURN;
| ^~~~~~~~~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS ./C/qlyr.c -o qlyr.o
In file included from ./C/qlyr.c:626:
./H/rheap.h: In function 'RestoreForeignCode__':
./H/rheap.h:1010:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1010 | if (objs->next != NULL)
| ^~
./H/rheap.h:1012:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1012 | objs->name = AtomAdjust(objs->name);
| ^~~~
./C/qlyr.c: In function 'ReInitProlog':
./C/qlyr.c:1034:3: warning: implicit declaration of function 'YAP_RunGoalOnce' [-Wimplicit-function-declaration]
1034 | YAP_RunGoalOnce(t);
| ^~~~~~~~~~~~~~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS ./C/qlyw.c -o qlyw.o
In file included from ./C/qlyw.c:510:
./H/rheap.h: In function 'RestoreForeignCode__':
./H/rheap.h:1010:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1010 | if (objs->next != NULL)
| ^~
./H/rheap.h:1012:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1012 | objs->name = AtomAdjust(objs->name);
| ^~~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/range.c -o range.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS ./C/save.c -o save.o
In file included from ./C/save.c:1204:
./H/rheap.h: In function 'RestoreForeignCode__':
./H/rheap.h:1010:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1010 | if (objs->next != NULL)
| ^~
./H/rheap.h:1012:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1012 | objs->name = AtomAdjust(objs->name);
| ^~~~
./C/save.c: In function 'get_cell':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'myread' at ./C/save.c:192:14,
inlined from 'myread' at ./C/save.c:186:5,
inlined from 'get_cell' at ./C/save.c:303:3:
./C/save.c:168:3: note: 'snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'get_cellptr':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'myread' at ./C/save.c:192:14,
inlined from 'myread' at ./C/save.c:186:5,
inlined from 'get_cellptr' at ./C/save.c:329:7:
./C/save.c:168:3: note: 'snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'get_header_cell':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 975 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'get_header_cell' at ./C/save.c:315:7,
inlined from 'get_header_cell' at ./C/save.c:309:1:
./C/save.c:168:3: note: 'snprintf' output 51 or more bytes (assuming 1074) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_code_info.isra':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'save_code_info.isra' at ./C/save.c:498:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_code_info.isra':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'save_code_info.isra' at ./C/save.c:494:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'check_header':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 964 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'check_header' at ./C/save.c:679:2:
./C/save.c:168:3: note: 'snprintf' output 62 or more bytes (assuming 1085) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'check_header':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 966 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'check_header' at ./C/save.c:669:7:
./C/save.c:168:3: note: 'snprintf' output 60 or more bytes (assuming 1083) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'check_header':
./C/save.c:688:5: warning: 'strncat' specified bound 1024 equals destination size [-Wstringop-overflow=]
688 | strncat(LOCAL_ErrorMessage, LOCAL_FileNameBuf, MAX_ERROR_MSG_SIZE);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'put_info.constprop':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'put_info.constprop' at ./C/save.c:371:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'put_info.constprop':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'put_info.constprop' at ./C/save.c:368:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'put_info.constprop':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'put_info.constprop' at ./C/save.c:365:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'put_info.constprop':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'put_info.constprop' at ./C/save.c:362:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'put_info.constprop':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'put_info.constprop' at ./C/save.c:359:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'put_info.constprop':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'put_info.constprop' at ./C/save.c:356:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'put_info.constprop':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'put_info.constprop' at ./C/save.c:353:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'put_info.constprop':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'put_info.constprop' at ./C/save.c:349:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'put_info.constprop':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'put_info.constprop' at ./C/save.c:346:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'put_info.constprop':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'put_info.constprop' at ./C/save.c:344:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'cat_file_name',
inlined from 'OpenRestore' at ./C/save.c:1480:7:
./C/save.c:1413:3: warning: 'strncat' specified bound 1024 equals destination size [-Wstringop-overflow=]
1413 | strncat(s,"/", max_length);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'cat_file_name',
inlined from 'OpenRestore' at ./C/save.c:1493:2:
./C/save.c:1413:3: warning: 'strncat' specified bound 1024 equals destination size [-Wstringop-overflow=]
1413 | strncat(s,"/", max_length);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'cat_file_name',
inlined from 'OpenRestore' at ./C/save.c:1501:7:
./C/save.c:1413:3: warning: 'strncat' specified bound 1024 equals destination size [-Wstringop-overflow=]
1413 | strncat(s,"/", max_length);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'cat_file_name',
inlined from 'OpenRestore' at ./C/save.c:1480:7:
./C/save.c:1409:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
1409 | strncpy(s, prefix, max_length);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'cat_file_name',
inlined from 'OpenRestore' at ./C/save.c:1493:2:
./C/save.c:1409:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
1409 | strncpy(s, prefix, max_length);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'OpenRestore':
./C/save.c:1560:7: warning: 'strncpy' output may be truncated copying 1023 bytes from a string of length 1024 [-Wstringop-truncation]
1560 | strncpy(LOCAL_FileNameBuf, save_buffer, YAP_FILENAME_MAX-1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'Restore':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'myread' at ./C/save.c:192:14,
inlined from 'myread' at ./C/save.c:186:5,
inlined from 'CopyCode' at ./C/save.c:953:7,
inlined from 'get_coded' at ./C/save.c:1008:7,
inlined from 'Restore' at ./C/save.c:1758:7:
./C/save.c:168:3: note: 'snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'Restore':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'myread' at ./C/save.c:192:14,
inlined from 'myread' at ./C/save.c:186:5,
inlined from 'CopyStacks' at ./C/save.c:969:7,
inlined from 'get_coded' at ./C/save.c:1012:9,
inlined from 'Restore' at ./C/save.c:1758:7:
./C/save.c:168:3: note: 'snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'Restore':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'myread' at ./C/save.c:192:14,
inlined from 'myread' at ./C/save.c:186:5,
inlined from 'CopyStacks' at ./C/save.c:972:7,
inlined from 'get_coded' at ./C/save.c:1012:9,
inlined from 'Restore' at ./C/save.c:1758:7:
./C/save.c:168:3: note: 'snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'Restore':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'myread' at ./C/save.c:192:14,
inlined from 'myread' at ./C/save.c:186:5,
inlined from 'CopyStacks' at ./C/save.c:975:7,
inlined from 'get_coded' at ./C/save.c:1012:9,
inlined from 'Restore' at ./C/save.c:1758:7:
./C/save.c:168:3: note: 'snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'Restore':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'close_file' at ./C/save.c:279:12,
inlined from 'close_file' at ./C/save.c:274:1,
inlined from 'CloseRestore' at ./C/save.c:1586:3,
inlined from 'Restore' at ./C/save.c:1800:3:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'Restore':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'myread' at ./C/save.c:192:14,
inlined from 'myread' at ./C/save.c:186:5,
inlined from 'get_coded' at ./C/save.c:1021:7,
inlined from 'Restore' at ./C/save.c:1758:7:
./C/save.c:168:3: note: 'snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'Restore':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'myread' at ./C/save.c:192:14,
inlined from 'myread' at ./C/save.c:186:5,
inlined from 'get_hash' at ./C/save.c:946:10,
inlined from 'get_coded' at ./C/save.c:1006:7,
inlined from 'Restore' at ./C/save.c:1758:7:
./C/save.c:168:3: note: 'snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'Restore':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'myread' at ./C/save.c:192:14,
inlined from 'myread' at ./C/save.c:186:5,
inlined from 'get_insts' at ./C/save.c:939:10,
inlined from 'get_coded' at ./C/save.c:1004:7,
inlined from 'Restore' at ./C/save.c:1758:7:
./C/save.c:168:3: note: 'snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:418:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:416:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:414:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:411:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'save_regs' at ./C/save.c:409:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:407:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:405:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:403:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:401:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:399:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:397:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:395:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:393:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:391:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:387:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:385:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:383:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'save_regs' at ./C/save.c:437:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'save_regs' at ./C/save.c:435:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'save_regs' at ./C/save.c:433:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'save_regs' at ./C/save.c:430:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'save_regs' at ./C/save.c:426:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'save_regs' at ./C/save.c:474:11:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:477:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'save_regs' at ./C/save.c:471:9:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'save_regs' at ./C/save.c:467:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'save_regs' at ./C/save.c:465:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:463:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:461:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:459:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:457:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:455:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'save_regs' at ./C/save.c:452:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:449:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:447:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'save_regs' at ./C/save.c:443:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putcellptr' at ./C/save.c:295:10,
inlined from 'save_regs' at ./C/save.c:441:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'save_regs' at ./C/save.c:422:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/save.c: In function 'save_regs':
./C/save.c:168:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=]
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~
In function 'do_system_error',
inlined from 'mywrite' at ./C/save.c:208:14,
inlined from 'mywrite' at ./C/save.c:202:1,
inlined from 'putout' at ./C/save.c:288:10,
inlined from 'save_regs' at ./C/save.c:380:7:
./C/save.c:168:3: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024
168 | snprintf(LOCAL_ErrorSay,MAX_ERROR_MSG_SIZE,"%s (%s when reading %s)", msg, strerror(errno), LOCAL_FileNameBuf);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/scanner.c -o scanner.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/sort.c -o sort.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/stdpreds.c -o stdpreds.o
C/stdpreds.c: In function 'p_executable':
C/stdpreds.c:4013:31: warning: implicit declaration of function 'Yap_FindExecutable'; did you mean 'p_executable'? [-Wimplicit-function-declaration]
4013 | strncpy(LOCAL_FileNameBuf,Yap_FindExecutable (), YAP_FILENAME_MAX) ;
| ^~~~~~~~~~~~~~~~~~
| p_executable
C/stdpreds.c:4013:31: warning: passing argument 2 of 'strncpy' makes pointer from integer without a cast [-Wint-conversion]
4013 | strncpy(LOCAL_FileNameBuf,Yap_FindExecutable (), YAP_FILENAME_MAX) ;
| ^~~~~~~~~~~~~~~~~~~~~
| |
| int
In file included from /usr/include/string.h:34,
from ./OPTYap/tab.macros.h:20,
from C/stdpreds.c:277:
/usr/include/iso/string_iso.h:82:44: note: expected 'const char * restrict' but argument is of type 'int'
82 | extern char *strncpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t);
| ^
C/stdpreds.c:4013:5: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
4013 | strncpy(LOCAL_FileNameBuf,Yap_FindExecutable (), YAP_FILENAME_MAX) ;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS ./C/sysbits.c -o sysbits.o
In file included from /home/pbulk/build/lang/yap/work/.buildlink/include/readline/readline.h:37,
from ./C/sysbits.c:89:
/home/pbulk/build/lang/yap/work/.buildlink/include/readline/rltypedefs.h:35:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
35 | typedef int Function () __attribute__((deprecated));
| ^~~~~~~
/home/pbulk/build/lang/yap/work/.buildlink/include/readline/rltypedefs.h:36:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
36 | typedef void VFunction () __attribute__((deprecated));
| ^~~~~~~
/home/pbulk/build/lang/yap/work/.buildlink/include/readline/rltypedefs.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
37 | typedef char *CPFunction () __attribute__((deprecated));
| ^~~~~~~
/home/pbulk/build/lang/yap/work/.buildlink/include/readline/rltypedefs.h:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
38 | typedef char **CPPFunction () __attribute__((deprecated));
| ^~~~~~~
./C/sysbits.c: In function 'Yap_InitSysPath':
./C/sysbits.c:248:3: warning: 'strncat' specified bound 1024 equals destination size [-Wstringop-overflow=]
248 | strncat(LOCAL_FileNameBuf,"/", YAP_FILENAME_MAX);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/sysbits.c:251:3: warning: 'strncat' specified bound 1024 equals destination size [-Wstringop-overflow=]
251 | strncat(LOCAL_FileNameBuf, "Yap", YAP_FILENAME_MAX);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/sysbits.c:264:7: warning: 'strncat' specified bound 1024 equals destination size [-Wstringop-overflow=]
264 | strncat(LOCAL_FileNameBuf, "PrologCommons", YAP_FILENAME_MAX);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/sysbits.c: In function 'TrueFileName':
./C/sysbits.c:2065:13: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
2065 | strncpy(ares1, yap_env, YAP_FILENAME_MAX);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./C/sysbits.c:2060:11: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
2060 | strncpy(LOCAL_FileNameBuf, Yap_LibDir, YAP_FILENAME_MAX);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/threads.c -o threads.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/tracer.c -o tracer.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include ./C/udi.c -o udi.o
In file included from ./H/udi_private.h:4,
from ./C/udi.c:6:
./C/udi.c: In function 'Yap_new_udi_clause':
./H/udi_private.h:33:33: warning: argument to 'sizeof' in 'memcmp' call is the same pointer type 'PredEntry *' {aka 'struct pred_entry *'} as the second source; expected 'PredEntry' {aka 'struct pred_entry'} or an explicit length [-Wsizeof-pointer-memaccess]
33 | HASH_FIND(hh,head,find,sizeof(PredEntry *),out)
| ^~~~~~~~~
./H/uthash.h:577:41: note: in definition of macro 'HASH_KEYCMP'
577 | #define HASH_KEYCMP(a,b,len) memcmp(a,b,len)
| ^~~
./H/uthash.h:101:8: note: in expansion of macro 'HASH_FIND_IN_BKT'
101 | HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], \
| ^~~~~~~~~~~~~~~~
./H/udi_private.h:33:3: note: in expansion of macro 'HASH_FIND'
33 | HASH_FIND(hh,head,find,sizeof(PredEntry *),out)
| ^~~~~~~~~
./C/udi.c:178:9: note: in expansion of macro 'HASH_FIND_UdiInfo'
178 | HASH_FIND_UdiInfo(UdiControlBlocks,p,info);
| ^~~~~~~~~~~~~~~~~
./C/udi.c: In function 'Yap_udi_search':
./H/udi_private.h:33:33: warning: argument to 'sizeof' in 'memcmp' call is the same pointer type 'PredEntry *' {aka 'struct pred_entry *'} as the second source; expected 'PredEntry' {aka 'struct pred_entry'} or an explicit length [-Wsizeof-pointer-memaccess]
33 | HASH_FIND(hh,head,find,sizeof(PredEntry *),out)
| ^~~~~~~~~
./H/uthash.h:577:41: note: in definition of macro 'HASH_KEYCMP'
577 | #define HASH_KEYCMP(a,b,len) memcmp(a,b,len)
| ^~~
./H/uthash.h:101:8: note: in expansion of macro 'HASH_FIND_IN_BKT'
101 | HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], \
| ^~~~~~~~~~~~~~~~
./H/udi_private.h:33:3: note: in expansion of macro 'HASH_FIND'
33 | HASH_FIND(hh,head,find,sizeof(PredEntry *),out)
| ^~~~~~~~~
./C/udi.c:213:9: note: in expansion of macro 'HASH_FIND_UdiInfo'
213 | HASH_FIND_UdiInfo(UdiControlBlocks,p,info);
| ^~~~~~~~~~~~~~~~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/unify.c -o unify.o
C/unify.c: In function 'InitReverseLookupOpcode':
C/unify.c:586:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
586 | bzero(OP_RTABLE, sz);
| ^~~~~
C/unify.c:586:3: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/userpreds.c -o userpreds.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/utilpreds.c -o utilpreds.o
C/utilpreds.c: In function 'p_term_hash':
C/utilpreds.c:3966:37: warning: array subscript -1 is outside array bounds of 'Term[1]' {aka 'long unsigned int[1]'} [-Warray-bounds]
3966 | CELL *ar = hash_complex_term(&t1-1, &t1, depth, H, FALSE PASS_REGS);
| ~~~^~
C/utilpreds.c:3937:8: note: at offset -8 into object 't1' of size 8
3937 | Term t1 = Deref(ARG1);
| ^~
C/utilpreds.c: In function 'p_instantiated_term_hash':
C/utilpreds.c:4024:37: warning: array subscript -1 is outside array bounds of 'Term[1]' {aka 'long unsigned int[1]'} [-Warray-bounds]
4024 | CELL *ar = hash_complex_term(&t1-1, &t1, depth, H, TRUE PASS_REGS);
| ~~~^~
C/utilpreds.c:3995:8: note: at offset -8 into object 't1' of size 8
3995 | Term t1 = Deref(ARG1);
| ^~
C/utilpreds.c: In function 'ExportTerm.constprop':
C/utilpreds.c:1523:9: warning: 'Hi' is used uninitialized [-Wuninitialized]
1523 | CELL *Hi;
| ^~
C/utilpreds.c: In function 'Yap_TermHash':
C/utilpreds.c:3909:37: warning: array subscript -1 is outside array bounds of 'Term[1]' {aka 'long unsigned int[1]'} [-Warray-bounds]
3909 | CELL *ar = hash_complex_term(&t1-1, &t1, depth, H, FALSE PASS_REGS);
| ~~~^~
C/utilpreds.c:3906:8: note: at offset -8 into object 't1' of size 8
3906 | Term t1 = Deref(t);
| ^~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/yap-args.c -o yap-args.o
C/yap-args.c: In function 'add_end_dot':
C/yap-args.c:123:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
123 | strncpy(p,arg,sz);
| ^~~~~~~~~~~~~~~~~
C/yap-args.c:116:12: note: length computed here
116 | int sz = strlen(arg), i;
| ^~~~~~~~~~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/write.c -o write.o
C/write.c: In function 'check_infinite_loop':
C/write.c:743:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
743 | if (x->u.d.old == t)
| ^~
C/write.c:745:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
745 | x = x->parent;
| ^
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I./library/dialect/swi/fli ./library/dialect/swi/fli/blobs.c -o blobs.o
./library/dialect/swi/fli/blobs.c: In function 'PL_blob_data':
./library/dialect/swi/fli/blobs.c:164:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
164 | if ( len )
| ^~
./library/dialect/swi/fli/blobs.c:166:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
166 | if ( type )
| ^~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I./library/dialect/swi/fli ./library/dialect/swi/fli/swi.c -o swi.o
./library/dialect/swi/fli/swi.c: In function 'Yap_CvtTerm':
./library/dialect/swi/fli/swi.c:3104:11: warning: array subscript 0 is outside array bounds of 'Term[0]' {aka 'long unsigned int[]'} [-Warray-bounds]
3104 | ta[0] = MkIntegerTerm((Int)DBRefOfTerm(t));
| ~~^~~
./library/dialect/swi/fli/swi.c:3103:14: note: while referencing 'ta'
3103 | Term ta[0];
| ^~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS C/ypstdio.c -o ypstdio.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-buffer.c -o pl-buffer.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-codelist.c -o pl-codelist.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-ctype.c -o pl-ctype.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-dtoa.c -o pl-dtoa.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-error.c -o pl-error.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-file.c -o pl-file.o
./os/pl-file.c: In function 'pl_wait_for_input_va':
./os/pl-file.c:2111:17: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
2111 | e = alloca(sizeof(*e));
| ^~~~~~
./os/pl-file.c:2111:17: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
./os/pl-file.c: In function 'stream_close_on_exec_prop':
./os/pl-file.c:3891:8: warning: unused variable 'fd_flags' [-Wunused-variable]
3891 | int fd_flags;
| ^~~~~~~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-files.c -o pl-files.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-fmt.c -o pl-fmt.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-glob.c -o pl-glob.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-option.c -o pl-option.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I./os ./os/pl-nt.c -o pl-nt.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-os.c -o pl-os.o
./os/pl-os.c: In function 'setRandom':
./os/pl-os.c:457:16: warning: variable 'seed' set but not used [-Wunused-but-set-variable]
457 | { unsigned int seed;
| ^~~~
./os/pl-os.c: At top level:
./os/pl-os.c:1704:1: warning: no previous prototype for 'PL_asctime_r' [-Wmissing-prototypes]
1704 | PL_asctime_r(const struct tm *tm, char *buf)
| ^~~~~~~~~~~~
./os/pl-os.c: In function 'Setenv':
./os/pl-os.c:2105:9: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
2105 | buf = alloca(strlen(name) + strlen(value) + 2);
| ^~~~~~
./os/pl-os.c:2105:9: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
./os/pl-os.c: In function 'System':
./os/pl-os.c:2330:3: warning: function declaration isn't a prototype [-Wstrict-prototypes]
2330 | void (*old_int)();
| ^~~~
./os/pl-os.c:2331:3: warning: function declaration isn't a prototype [-Wstrict-prototypes]
2331 | void (*old_stop)();
| ^~~~
In function 'PrologPath',
inlined from 'AbsoluteFile' at ./os/pl-os.c:1444:16:
./os/pl-os.c:748:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
748 | { strncpy(buf, p, len);
| ^~~~~~~~~~~~~~~~~~~~
In function 'PrologPath',
inlined from 'findExecutable' at ./os/pl-os.c:2475:17:
./os/pl-os.c:748:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
748 | { strncpy(buf, p, len);
| ^~~~~~~~~~~~~~~~~~~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-privitf.c -o pl-privitf.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-prologflag.c -o pl-prologflag.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-read.c -o pl-read.o
./os/pl-read.c:347:1: warning: no previous prototype for 'Yap_setCurrentSourceLocation' [-Wmissing-prototypes]
347 | Yap_setCurrentSourceLocation(IOSTREAM **s)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-rl.c -o pl-rl.o
In file included from /home/pbulk/build/lang/yap/work/.buildlink/include/readline/readline.h:37,
from ./os/pl-rl.c:94:
/home/pbulk/build/lang/yap/work/.buildlink/include/readline/rltypedefs.h:35:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
35 | typedef int Function () __attribute__((deprecated));
| ^~~~~~~
/home/pbulk/build/lang/yap/work/.buildlink/include/readline/rltypedefs.h:36:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
36 | typedef void VFunction () __attribute__((deprecated));
| ^~~~~~~
/home/pbulk/build/lang/yap/work/.buildlink/include/readline/rltypedefs.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
37 | typedef char *CPFunction () __attribute__((deprecated));
| ^~~~~~~
/home/pbulk/build/lang/yap/work/.buildlink/include/readline/rltypedefs.h:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
38 | typedef char **CPPFunction () __attribute__((deprecated));
| ^~~~~~~
./os/pl-rl.c: In function 'Sread_readline':
./os/pl-rl.c:415:12: warning: unused variable 'oldclock' [-Wunused-variable]
415 | intptr_t oldclock = clock();
| ^~~~~~~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-stream.c -o pl-stream.o
./os/pl-stream.c: In function 'Sopen_file':
./os/pl-stream.c:2837:7: warning: variable 'wait' set but not used [-Wunused-but-set-variable]
2837 | int wait = TRUE;
| ^~~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-string.c -o pl-string.o
./os/pl-string.c: In function 'int_mbscoll':
./os/pl-string.c:199:27: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
199 | if ( l1 < 1024 && (w1 = alloca(sizeof(wchar_t)*(l1+1))) )
| ^~~~~~
./os/pl-string.c:199:27: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
./os/pl-string.c:205:27: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch]
205 | if ( l2 < 1024 && (w2 = alloca(sizeof(wchar_t)*(l2+1))) )
| ^~~~~~
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-table.c -o pl-table.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-tai.c -o pl-tai.o
./os/pl-tai.c: In function 'format_time':
./os/pl-tai.c:887:15: warning: implicit declaration of function 'PL_asctime_r'; did you mean 'asctime_r'? [-Wimplicit-function-declaration]
887 | PL_asctime_r(&ftm->tm, buf);
| ^~~~~~~~~~~~
| asctime_r
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-text.c -o pl-text.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-utf8.c -o pl-utf8.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./os/pl-write.c -o pl-write.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -DCOROUTINING=1 -DCUT_C=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DTABLING=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -I. -I./H -I./include -I./os -I./OPTYap -I./BEAM -I./MYDDAS -I./include -I. -I./os ./C/pl-yap.c -o pl-yap.o
./C/pl-yap.c: In function 'check_float':
./C/pl-yap.c:668:10: warning: implicit declaration of function 'fpclass' [-Wimplicit-function-declaration]
668 | switch(fpclass(f))
| ^~~~~~~
./C/pl-yap.c:669:10: error: 'FP_SNAN' undeclared (first use in this function); did you mean 'FP_NAN'?
669 | { case FP_SNAN:
| ^~~~~~~
| FP_NAN
./C/pl-yap.c:669:10: note: each undeclared identifier is reported only once for each function it appears in
./C/pl-yap.c:670:10: error: 'FP_QNAN' undeclared (first use in this function); did you mean 'FP_NAN'?
670 | case FP_QNAN:
| ^~~~~~~
| FP_NAN
./C/pl-yap.c:673:10: error: 'FP_NINF' undeclared (first use in this function); did you mean 'FP_NAN'?
673 | case FP_NINF:
| ^~~~~~~
| FP_NAN
./C/pl-yap.c:674:10: error: 'FP_PINF' undeclared (first use in this function); did you mean 'P_PID'?
674 | case FP_PINF:
| ^~~~~~~
| P_PID
./C/pl-yap.c:677:10: error: 'FP_NDENORM' undeclared (first use in this function)
677 | case FP_NDENORM: /* pos/neg denormalized non-zero */
| ^~~~~~~~~~
./C/pl-yap.c:678:10: error: 'FP_PDENORM' undeclared (first use in this function)
678 | case FP_PDENORM:
| ^~~~~~~~~~
./C/pl-yap.c:679:10: error: 'FP_NNORM' undeclared (first use in this function); did you mean 'FP_NORMAL'?
679 | case FP_NNORM: /* pos/neg normalized non-zero */
| ^~~~~~~~
| FP_NORMAL
./C/pl-yap.c:680:10: error: 'FP_PNORM' undeclared (first use in this function); did you mean 'FP_NORMAL'?
680 | case FP_PNORM:
| ^~~~~~~~
| FP_NORMAL
./C/pl-yap.c:681:10: error: 'FP_NZERO' undeclared (first use in this function); did you mean 'FP_ZERO'?
681 | case FP_NZERO: /* pos/neg zero */
| ^~~~~~~~
| FP_ZERO
./C/pl-yap.c:682:10: error: 'FP_PZERO' undeclared (first use in this function); did you mean 'FP_ZERO'?
682 | case FP_PZERO:
| ^~~~~~~~
| FP_ZERO
gmake: *** [Makefile:655: pl-yap.o] Error 1
*** Error code 2
Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/yap
*** Error code 1
Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/yap