=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/freesci", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for freesci-0.3.5nb16 --- ./stamp-h.in --- cd . && autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.in'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. --- all-recursive-am --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in doc --- all-recursive --- Making all in misc Making all in man Making all in desktop Making all in src --- all-recursive --- Making all in scicore --- console.o --- --- tools.o --- --- resource.o --- --- console.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c console.c --- tools.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c tools.c --- resource.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c resource.c --- tools.o --- tools.c:756:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 756 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ tools.c:756:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ --- console.o --- console.c:413:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | _cmd_commands[cmdnum].command (s); | ^ --- tools.o --- 1 warning generated. --- decompress0.o --- --- decompress01.o --- --- decompress0.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c decompress0.c --- decompress01.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c decompress01.c --- console.o --- 1 warning generated. --- decompress1.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c decompress1.c --- decompress0.o --- decompress0.c:266:24: warning: result of comparison of constant 4194304 with expression of type 'guint16' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare] 266 | (compressedLength > SCI_MAX_RESOURCE_SIZE)) | ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ --- decompress01.o --- decompress01.c:202:24: warning: result of comparison of constant 4194304 with expression of type 'guint16' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare] 202 | (compressedLength > SCI_MAX_RESOURCE_SIZE)) | ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. --- decompress0.o --- 1 warning generated. --- decompress1.o --- decompress1.c:135:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 135 | pos = tree[pos] & ~(~0 << BRANCH_SHIFT); | ~~ ^ decompress1.c:348:24: warning: result of comparison of constant 4194304 with expression of type 'guint16' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare] 348 | (compressedLength > SCI_MAX_RESOURCE_SIZE)) | ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ --- decompress11.o --- --- script.o --- --- decompress11.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c decompress11.c --- script.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c script.c --- decompress1.o --- 2 warnings generated. --- vocab.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c vocab.c --- decompress11.o --- decompress11.c:79:24: warning: result of comparison of constant 4194304 with expression of type 'guint16' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare] 79 | (compressedLength > SCI_MAX_RESOURCE_SIZE)) | ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. --- vocab_debug.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c vocab_debug.c --- vocab.o --- vocab.c:380:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 380 | while (tester = strchr(tempword->word, '-')) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vocab.c:380:16: note: place parentheses around the assignment to silence this warning 380 | while (tester = strchr(tempword->word, '-')) | ^ | ( ) vocab.c:380:16: note: use '==' to turn this assignment into an equality comparison 380 | while (tester = strchr(tempword->word, '-')) | ^ | == vocab.c:429:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 429 | while (tester = strchr(tempword->word, '-')) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vocab.c:429:16: note: place parentheses around the assignment to silence this warning 429 | while (tester = strchr(tempword->word, '-')) | ^ | ( ) vocab.c:429:16: note: use '==' to turn this assignment into an equality comparison 429 | while (tester = strchr(tempword->word, '-')) | ^ | == --- old_objects.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c old_objects.c --- vocab.o --- 2 warnings generated. --- modules.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c modules.c --- sci_memory.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c sci_memory.c --- resource_map.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c resource_map.c --- resource_patch.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c resource_patch.c --- sci_memory.o --- sci_memory.c:55:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 55 | ALLOC_MEM((res = malloc(size)), size, file, line, funct) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:134:3: note: expanded from macro 'ALLOC_MEM' 134 | BREAKPOINT()\ | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ sci_memory.c:55:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/sci_memory.h:134:3: note: expanded from macro 'ALLOC_MEM' 134 | BREAKPOINT()\ | ^ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ sci_memory.c:55:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 55 | ALLOC_MEM((res = malloc(size)), size, file, line, funct) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:147:3: note: expanded from macro 'ALLOC_MEM' 147 | BREAKPOINT()\ | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ sci_memory.c:55:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/sci_memory.h:147:3: note: expanded from macro 'ALLOC_MEM' 147 | BREAKPOINT()\ | ^ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ sci_memory.c:67:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 67 | ALLOC_MEM((res = calloc(num, size)), num * size, file, line, funct) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:134:3: note: expanded from macro 'ALLOC_MEM' 134 | BREAKPOINT()\ | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ sci_memory.c:67:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/sci_memory.h:134:3: note: expanded from macro 'ALLOC_MEM' 134 | BREAKPOINT()\ | ^ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ sci_memory.c:67:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 67 | ALLOC_MEM((res = calloc(num, size)), num * size, file, line, funct) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:147:3: note: expanded from macro 'ALLOC_MEM' 147 | BREAKPOINT()\ | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ sci_memory.c:67:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/sci_memory.h:147:3: note: expanded from macro 'ALLOC_MEM' 147 | BREAKPOINT()\ | ^ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ sci_memory.c:79:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 79 | ALLOC_MEM((res = realloc(ptr, size)), size, file, line, funct) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:134:3: note: expanded from macro 'ALLOC_MEM' 134 | BREAKPOINT()\ | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ sci_memory.c:79:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/sci_memory.h:134:3: note: expanded from macro 'ALLOC_MEM' 134 | BREAKPOINT()\ | ^ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ sci_memory.c:79:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 79 | ALLOC_MEM((res = realloc(ptr, size)), size, file, line, funct) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:147:3: note: expanded from macro 'ALLOC_MEM' 147 | BREAKPOINT()\ | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ sci_memory.c:79:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/sci_memory.h:147:3: note: expanded from macro 'ALLOC_MEM' 147 | BREAKPOINT()\ | ^ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ sci_memory.c:95:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 95 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ sci_memory.c:95:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ sci_memory.c:113:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 113 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ sci_memory.c:113:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ sci_memory.c:115:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 115 | ALLOC_MEM((res = malloc(size)), size, file, line, funct) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:134:3: note: expanded from macro 'ALLOC_MEM' 134 | BREAKPOINT()\ | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ sci_memory.c:115:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/sci_memory.h:134:3: note: expanded from macro 'ALLOC_MEM' 134 | BREAKPOINT()\ | ^ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ sci_memory.c:115:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 115 | ALLOC_MEM((res = malloc(size)), size, file, line, funct) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:147:3: note: expanded from macro 'ALLOC_MEM' 147 | BREAKPOINT()\ | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ sci_memory.c:115:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/sci_memory.h:147:3: note: expanded from macro 'ALLOC_MEM' 147 | BREAKPOINT()\ | ^ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ sci_memory.c:133:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 133 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ sci_memory.c:133:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ sci_memory.c:135:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 135 | ALLOC_MEM((res = strdup(src)), strlen(src), file, line, funct) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:134:3: note: expanded from macro 'ALLOC_MEM' 134 | BREAKPOINT()\ | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ sci_memory.c:135:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/sci_memory.h:134:3: note: expanded from macro 'ALLOC_MEM' 134 | BREAKPOINT()\ | ^ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ sci_memory.c:135:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 135 | ALLOC_MEM((res = strdup(src)), strlen(src), file, line, funct) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:147:3: note: expanded from macro 'ALLOC_MEM' 147 | BREAKPOINT()\ | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ sci_memory.c:135:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/sci_memory.h:147:3: note: expanded from macro 'ALLOC_MEM' 147 | BREAKPOINT()\ | ^ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ sci_memory.c:156:34: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 156 | ALLOC_MEM((res = malloc(rlen)), rlen, file, line, funct) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:133:16: note: expanded from macro 'ALLOC_MEM' 133 | PANIC_MEMORY(size, filename, linenum, funcname, "Cannot allocate negative bytes of memory!")\ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:108:3: note: expanded from macro 'PANIC_MEMORY' 106 | PANIC((stderr, "Memory allocation of %lu bytes\n"\ | ~~~ 107 | " [%s (%s) : %u]\n " #more_info "\n %s\n",\ 108 | size, filename, funcname, linenum, strerror(errno))) | ^~~~ ../../src/include/sci_memory.h:91:10: note: expanded from macro 'PANIC' 91 | fprintf prn; | ^~~ sci_memory.c:156:34: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 156 | ALLOC_MEM((res = malloc(rlen)), rlen, file, line, funct) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:138:16: note: expanded from macro 'ALLOC_MEM' 138 | PANIC_MEMORY(size, filename, linenum, funcname, "WARNING: allocating zero bytes of memory.")\ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:108:3: note: expanded from macro 'PANIC_MEMORY' 106 | PANIC((stderr, "Memory allocation of %lu bytes\n"\ | ~~~ 107 | " [%s (%s) : %u]\n " #more_info "\n %s\n",\ 108 | size, filename, funcname, linenum, strerror(errno))) | ^~~~ ../../src/include/sci_memory.h:91:10: note: expanded from macro 'PANIC' 91 | fprintf prn; | ^~~ sci_memory.c:156:34: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 156 | ALLOC_MEM((res = malloc(rlen)), rlen, file, line, funct) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:146:16: note: expanded from macro 'ALLOC_MEM' 146 | PANIC_MEMORY(size, filename, linenum, funcname, "Failed! Exiting...")\ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:108:3: note: expanded from macro 'PANIC_MEMORY' 106 | PANIC((stderr, "Memory allocation of %lu bytes\n"\ | ~~~ 107 | " [%s (%s) : %u]\n " #more_info "\n %s\n",\ 108 | size, filename, funcname, linenum, strerror(errno))) | ^~~~ ../../src/include/sci_memory.h:91:10: note: expanded from macro 'PANIC' 91 | fprintf prn; | ^~~ sci_memory.c:154:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 154 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ sci_memory.c:154:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ sci_memory.c:156:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 156 | ALLOC_MEM((res = malloc(rlen)), rlen, file, line, funct) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:134:3: note: expanded from macro 'ALLOC_MEM' 134 | BREAKPOINT()\ | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ sci_memory.c:156:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/sci_memory.h:134:3: note: expanded from macro 'ALLOC_MEM' 134 | BREAKPOINT()\ | ^ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ sci_memory.c:156:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 156 | ALLOC_MEM((res = malloc(rlen)), rlen, file, line, funct) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/sci_memory.h:147:3: note: expanded from macro 'ALLOC_MEM' 147 | BREAKPOINT()\ | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ sci_memory.c:156:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/sci_memory.h:147:3: note: expanded from macro 'ALLOC_MEM' 147 | BREAKPOINT()\ | ^ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ 19 warnings generated. --- fnmatch.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c fnmatch.c --- versions.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c versions.c --- libscicore.a --- rm -f libscicore.a ar cru libscicore.a console.o tools.o resource.o decompress0.o decompress01.o decompress1.o decompress11.o script.o vocab.o vocab_debug.o old_objects.o modules.o sci_memory.o resource_map.o resource_patch.o fnmatch.o versions.o ranlib libscicore.a Making all in engine --- kernel.o --- --- kscripts.o --- --- klists.o --- --- kernel.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c kernel.c --- kscripts.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c kscripts.c --- klists.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c klists.c --- kfile.o --- --- kgraphics.o --- --- kfile.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c kfile.c --- kgraphics.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c kgraphics.c --- kmath.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c kmath.c --- kgraphics.o --- kgraphics.c:251:4: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 251 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ kgraphics.c:251:4: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ --- kfile.o --- kfile.c:991:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 991 | fprintf(idfile, game_description); | ^~~~~~~~~~~~~~~~ kfile.c:991:20: note: treat the string as an argument to avoid this 991 | fprintf(idfile, game_description); | ^ | "%s", --- kgraphics.o --- kgraphics.c:1742:8: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 1742 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ kgraphics.c:1742:8: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ kgraphics.c:1862:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 1862 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ kgraphics.c:1862:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ --- kevent.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c kevent.c --- kfile.o --- 1 warning generated. --- kstring.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c kstring.c --- kmenu.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c kmenu.c --- kmovement.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c kmovement.c --- kgraphics.o --- 3 warnings generated. --- kpathing.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c kpathing.c --- ksound.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c ksound.c --- vm.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c vm.c --- game.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c game.c --- ksound.o --- ksound.c:90:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | while ((event = s->sound_server->get_event(s))) { | ^ 1 warning generated. --- scriptdebug.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c scriptdebug.c --- heap.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c heap.c --- scriptdebug.o --- scriptdebug.c:37:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 37 | #endif _MSC_VER | ^ | // scriptdebug.c:690:18: warning: trigraph ignored [-Wtrigraphs] 690 | sciprintf(""); | ^ scriptdebug.c:1100:1: warning: implicit conversion from 'int' to 'char' changes value from 500 to -12 [-Wconstant-conversion] 1100 | WARNING(fixme!) | ^~~~~~~~~~~~~~~ ../../src/include/resource.h:502:35: note: expanded from macro 'WARNING' 502 | #define WARNING(foo) {char i; i = 500;} | ~ ^~~ scriptdebug.c:1523:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1523 | c_gfx_update_zone(state_t *s) | ^ | int scriptdebug.c:2036:83: warning: if statement has empty body [-Wempty-body] 2036 | if (!sound_command_default(s, SOUND_COMMAND_INIT_HANDLE, 42, cmd_params[1].val)); { | ^ scriptdebug.c:2036:83: note: put the semicolon on a separate line to silence this warning scriptdebug.c:2080:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2080 | c_sndmap(state_t *s) | ^ | int --- simplesaid.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c simplesaid.c --- grammar.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c grammar.c --- scriptdebug.o --- 6 warnings generated. --- savegame.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c savegame.c --- said.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c said.c --- savegame.o --- savegame.cfsml:502:26: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 502 | _cfsml_write_int(fh, &(save_struc->sound_mute)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cfsml:432:33: note: passing argument to parameter 'save_struc' here 432 | _cfsml_write_int(FILE *fh, int* save_struc); | ^ savegame.cfsml:505:26: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 505 | _cfsml_write_int(fh, &(save_struc->sound_volume)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cfsml:432:33: note: passing argument to parameter 'save_struc' here 432 | _cfsml_write_int(FILE *fh, int* save_struc); | ^ savegame.cfsml:520:26: warning: incompatible pointer types passing 'gfxw_visual_t **' (aka 'struct _gfxw_visual **') to parameter of type 'gfxw_widget_t **' (aka 'struct _gfxw_widget **') [-Wincompatible-pointer-types] 520 | write_any_widget(fh, &(save_struc->visual)); | ^~~~~~~~~~~~~~~~~~~~~ savegame.c:155:44: note: passing argument to parameter 'widget' here 155 | write_any_widget(FILE *fh, gfxw_widget_t **widget); | ^ savegame.cfsml:498:26: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 498 | _cfsml_write_int(fh, &(save_struc->_heap->first_free)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cfsml:432:33: note: passing argument to parameter 'save_struc' here 432 | _cfsml_write_int(FILE *fh, int* save_struc); | ^ savegame.cfsml:504:23: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 504 | fprintf(fh, "%d", save_struc->_heap->base - save_struc->_heap->start); /* Relative pointer */ | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %ld savegame.cfsml:507:23: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 507 | fprintf(fh, "%d", save_struc->game_name - save_struc->_heap->start); /* Relative pointer */ | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %ld savegame.cfsml:749:34: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 749 | if (_cfsml_read_int(fh, &(save_struc->sound_mute), value, line, hiteof)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cfsml:434:32: note: passing argument to parameter 'save_struc' here 434 | _cfsml_read_int(FILE *fh, int* save_struc, char *lastval, int *line, int *hiteof); | ^ savegame.cfsml:749:34: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 749 | if (_cfsml_read_int(fh, &(save_struc->sound_volume), value, line, hiteof)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cfsml:434:32: note: passing argument to parameter 'save_struc' here 434 | _cfsml_read_int(FILE *fh, int* save_struc, char *lastval, int *line, int *hiteof); | ^ savegame.cfsml:749:34: warning: incompatible pointer types passing 'gfxw_visual_t **' (aka 'struct _gfxw_visual **') to parameter of type 'gfxw_widget_t **' (aka 'struct _gfxw_widget **') [-Wincompatible-pointer-types] 749 | if (read_any_widget(fh, &(save_struc->visual), value, line, hiteof)) { | ^~~~~~~~~~~~~~~~~~~~~ savegame.c:157:43: note: passing argument to parameter 'widget' here 157 | read_any_widget(FILE *fh, gfxw_widget_t **widget, char *lastval, int *line, int *hiteof); | ^ savegame.cfsml:749:34: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 749 | if (_cfsml_read_int(fh, &(save_struc->_heap->first_free), value, line, hiteof)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cfsml:434:32: note: passing argument to parameter 'save_struc' here 434 | _cfsml_read_int(FILE *fh, int* save_struc, char *lastval, int *line, int *hiteof); | ^ savegame.cfsml:496:38: warning: incompatible pointer types passing 'gfx_line_style_t *' to parameter of type 'gfx_line_mode_t *' [-Wincompatible-pointer-types] 496 | _cfsml_write_gfx_line_mode_t(fh, &(save_struc->line_style)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cfsml:432:57: note: passing argument to parameter 'save_struc' here 432 | _cfsml_write_gfx_line_mode_t(FILE *fh, gfx_line_mode_t* save_struc); | ^ savegame.cfsml:749:46: warning: incompatible pointer types passing 'gfx_line_style_t *' to parameter of type 'gfx_line_mode_t *' [-Wincompatible-pointer-types] 749 | if (_cfsml_read_gfx_line_mode_t(fh, &(save_struc->line_style), value, line, hiteof)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ savegame.cfsml:434:56: note: passing argument to parameter 'save_struc' here 434 | _cfsml_read_gfx_line_mode_t(FILE *fh, gfx_line_mode_t* save_struc, char *lastval, int *line, int *hiteof); | ^ savegame.cfsml:502:26: warning: incompatible pointer types passing 'gfxw_list_t **' (aka 'struct _gfxw_container_widget **') to parameter of type 'gfxw_widget_t **' (aka 'struct _gfxw_widget **') [-Wincompatible-pointer-types] 502 | write_any_widget(fh, &(save_struc->decorations)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.c:155:44: note: passing argument to parameter 'widget' here 155 | write_any_widget(FILE *fh, gfxw_widget_t **widget); | ^ savegame.cfsml:749:34: warning: incompatible pointer types passing 'gfxw_list_t **' (aka 'struct _gfxw_container_widget **') to parameter of type 'gfxw_widget_t **' (aka 'struct _gfxw_widget **') [-Wincompatible-pointer-types] 749 | if (read_any_widget(fh, &(save_struc->decorations), value, line, hiteof)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ savegame.c:157:43: note: passing argument to parameter 'widget' here 157 | read_any_widget(FILE *fh, gfxw_widget_t **widget, char *lastval, int *line, int *hiteof); | ^ savegame.cfsml:768:10: warning: enumeration values 'GFXW_' and 'GFXW_CONTAINER' not handled in switch [-Wswitch] 768 | switch (widget->type) { | ^~~~~~~~~~~~ savegame.cfsml:768:10: note: add missing switch cases 768 | switch (widget->type) { | ^ 769 | 770 | case GFXW_BOX: savegame.cfsml:1270:10: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1270 | strcpy(retval->heap + retval->save_dir + 2, s->heap + s->save_dir + 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ savegame.cfsml:1270:47: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1270 | strcpy(retval->heap + retval->save_dir + 2, s->heap + s->save_dir + 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:33: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~~~~~~~~ savegame.cfsml:1323:11: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1323 | strcpy(retval->heap + retval->save_dir + 2, cwd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' 84 | __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ --- said.o --- said.y:330:26: warning: unsequenced modification and access to 'said_tree_pos' [-Wunsequenced] 330 | return said_branch_node(SAID_NEXT_NODE, | ^ 331 | said_leaf_node(SAID_NEXT_NODE, val), | ~~~~~~~~~~~~~~ said.y:287:120: note: expanded from macro 'SAID_NEXT_NODE' 287 | #define SAID_NEXT_NODE ((said_tree_pos == 0) || (said_tree_pos >= VOCAB_TREE_NODES))? said_tree_pos = 0 : said_tree_pos++ | ^ said.y:349:28: warning: unsequenced modification and access to 'said_tree_pos' [-Wunsequenced] 349 | retval = said_branch_node(SAID_NEXT_NODE, | ^ 350 | said_branch_node(SAID_NEXT_NODE, | ~~~~~~~~~~~~~~ said.y:287:120: note: expanded from macro 'SAID_NEXT_NODE' 287 | #define SAID_NEXT_NODE ((said_tree_pos == 0) || (said_tree_pos >= VOCAB_TREE_NODES))? said_tree_pos = 0 : said_tree_pos++ | ^ 2 warnings generated. --- savegame.o --- 18 warnings generated. --- libsciengine.a --- rm -f libsciengine.a ar cru libsciengine.a savegame.o kernel.o kscripts.o klists.o kfile.o kgraphics.o kmath.o kevent.o kstring.o kmenu.o kmovement.o kpathing.o ksound.o vm.o game.o scriptdebug.o heap.o simplesaid.o said.o grammar.o ranlib libsciengine.a Making all in include --- all-recursive --- Making all in win32 Making all in beos Making all in gfx --- all-recursive --- Making all in resource --- sci_font.o --- --- sci_resmgr.o --- --- sci_pic_0.o --- --- sci_font.o --- clang -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c sci_font.c --- sci_resmgr.o --- clang -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c sci_resmgr.c --- sci_pic_0.o --- clang -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c sci_pic_0.c sci_pic_0.c:127:1: warning: implicit conversion from 'int' to 'char' changes value from 500 to -12 [-Wconstant-conversion] 127 | WARNING("Uncomment me after fixing sci0_palette changes to reset me"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/include/resource.h:502:35: note: expanded from macro 'WARNING' 502 | #define WARNING(foo) {char i; i = 500;} | ~ ^~~ sci_pic_0.c:636:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 636 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ sci_pic_0.c:636:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ In file included from sci_pic_0.c:1183: ./sci_picfill_aux.c:68:68: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 68 | if ((ytotal + xl) < 0) { fprintf(stderr,"AARGH-%d\n", __LINE__); BREAKPOINT(); } | ^~~~~~~~~~~~ ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ ./sci_picfill_aux.c:68:68: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ In file included from sci_pic_0.c:1183: ./sci_picfill_aux.c:77:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 77 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ ./sci_picfill_aux.c:77:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ In file included from sci_pic_0.c:1183: ./sci_picfill_aux.c:132:68: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 132 | if ((ytotal + xl) < 0) { fprintf(stderr,"AARGH-%d\n", __LINE__); BREAKPOINT() } | ^~~~~~~~~~~~ ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ ./sci_picfill_aux.c:132:68: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ In file included from sci_pic_0.c:1183: ./sci_picfill_aux.c:133:74: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 133 | if ((ytotal + xr+1) > 64000) { fprintf(stderr,"AARGH-%d\n", __LINE__); BREAKPOINT(); } | ^~~~~~~~~~~~ ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ ./sci_picfill_aux.c:133:74: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ --- sci_resmgr.o --- sci_resmgr.c:216:13: warning: left operand of comma operator has no effect [-Wunused-value] 216 | GFX_DEBUG("Unsupported resource %d\n", type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sci_resmgr.c:216:42: warning: expression result unused [-Wunused-value] 216 | GFX_DEBUG("Unsupported resource %d\n", type); | ^~~~ --- sci_pic_0.o --- In file included from sci_pic_0.c:1198: ./sci_picfill_aux.c:68:68: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 68 | if ((ytotal + xl) < 0) { fprintf(stderr,"AARGH-%d\n", __LINE__); BREAKPOINT(); } | ^~~~~~~~~~~~ ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ ./sci_picfill_aux.c:68:68: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ In file included from sci_pic_0.c:1198: ./sci_picfill_aux.c:77:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 77 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ ./sci_picfill_aux.c:77:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ In file included from sci_pic_0.c:1198: ./sci_picfill_aux.c:132:68: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 132 | if ((ytotal + xl) < 0) { fprintf(stderr,"AARGH-%d\n", __LINE__); BREAKPOINT() } | ^~~~~~~~~~~~ ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ ./sci_picfill_aux.c:132:68: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ In file included from sci_pic_0.c:1198: ./sci_picfill_aux.c:133:74: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 133 | if ((ytotal + xr+1) > 64000) { fprintf(stderr,"AARGH-%d\n", __LINE__); BREAKPOINT(); } | ^~~~~~~~~~~~ ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ ./sci_picfill_aux.c:133:74: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ --- sci_view_0.o --- --- sci_resmgr.o --- 2 warnings generated. --- sci_view_0.o --- clang -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c sci_view_0.c --- sci_cursor_0.o --- clang -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c sci_cursor_0.c --- sci_pal_1.o --- clang -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c sci_pal_1.c --- sci_view_1.o --- clang -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c sci_view_1.c --- sci_pic_0.o --- 10 warnings generated. --- libsciresources.a --- rm -f libsciresources.a ar cru libsciresources.a sci_font.o sci_resmgr.o sci_pic_0.o sci_view_0.o sci_cursor_0.o sci_pal_1.o sci_view_1.o ranlib libsciresources.a Making all in drivers --- gfx_drivers.o --- --- xlib_driver.o --- --- ggi_driver.o --- --- gfx_drivers.o --- clang -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c gfx_drivers.c --- xlib_driver.o --- clang -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c xlib_driver.c --- ggi_driver.o --- clang -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c ggi_driver.c --- sdl_driver.o --- clang -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c sdl_driver.c --- directfb_driver.o --- clang -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c directfb_driver.c --- xlib_driver.o --- xlib_driver.c:336:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 336 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ xlib_driver.c:336:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ xlib_driver.c:689:10: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 681 | "\tR:%08x G:%08x B:%08x\n" | ~~~~ | %08lx 682 | "\tbits_per_rgb=%d\n" 683 | "\tcolormap_size=%d\n\n", 684 | i, 685 | visual->depth, 686 | (visual->class < 0 || visual->class >5)? 687 | "INVALID" : vis_classes[visual->class], 688 | visual->class, 689 | visual->red_mask, visual->green_mask, visual->blue_mask, | ^~~~~~~~~~~~~~~~ xlib_driver.c:689:28: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 681 | "\tR:%08x G:%08x B:%08x\n" | ~~~~ | %08lx 682 | "\tbits_per_rgb=%d\n" 683 | "\tcolormap_size=%d\n\n", 684 | i, 685 | visual->depth, 686 | (visual->class < 0 || visual->class >5)? 687 | "INVALID" : vis_classes[visual->class], 688 | visual->class, 689 | visual->red_mask, visual->green_mask, visual->blue_mask, | ^~~~~~~~~~~~~~~~~~ xlib_driver.c:689:48: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] 681 | "\tR:%08x G:%08x B:%08x\n" | ~~~~ | %08lx 682 | "\tbits_per_rgb=%d\n" 683 | "\tcolormap_size=%d\n\n", 684 | i, 685 | visual->depth, 686 | (visual->class < 0 || visual->class >5)? 687 | "INVALID" : vis_classes[visual->class], 688 | visual->class, 689 | visual->red_mask, visual->green_mask, visual->blue_mask, | ^~~~~~~~~~~~~~~~~ xlib_driver.c:1085:30: warning: operator '>>' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] 1085 | int real_xl = (pointer->xl + 7 >> 3) << 3; | ~~~~~~~~~~~~^~~ ~~ xlib_driver.c:1085:30: note: place parentheses around the '+' expression to silence this warning 1085 | int real_xl = (pointer->xl + 7 >> 3) << 3; | ^ | ( ) xlib_driver.c:1142:16: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 1142 | KeySym xkey = XKeycodeToKeysym(S->display, keycode, 0); | ^ /var/tmp/work/games/freesci/work/.buildlink/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here 1682 | _X_DEPRECATED | ^ /var/tmp/work/games/freesci/work/.buildlink/include/X11/Xfuncproto.h:139:40: note: expanded from macro '_X_DEPRECATED' 139 | # define _X_DEPRECATED __attribute__((deprecated)) | ^ xlib_driver.c:1150:23: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 1150 | KeySym xkey = XKeycodeToKeysym(S->display, key_event->xkey.keycode, 0); | ^ /var/tmp/work/games/freesci/work/.buildlink/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here 1682 | _X_DEPRECATED | ^ /var/tmp/work/games/freesci/work/.buildlink/include/X11/Xfuncproto.h:139:40: note: expanded from macro '_X_DEPRECATED' 139 | # define _X_DEPRECATED __attribute__((deprecated)) | ^ 7 warnings generated. --- null_driver.o --- clang -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c null_driver.c --- sdl_driver.o --- sdl_driver.c:260:6: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 260 | if (!drv->capabilities & GFX_CAPABILITY_MOUSE_POINTER) | ^ ~ sdl_driver.c:260:6: note: add parentheses after the '!' to evaluate the bitwise operator first 260 | if (!drv->capabilities & GFX_CAPABILITY_MOUSE_POINTER) | ^ | ( ) sdl_driver.c:260:6: note: add parentheses around left hand side expression to silence this warning 260 | if (!drv->capabilities & GFX_CAPABILITY_MOUSE_POINTER) | ^ | ( ) sdl_driver.c:290:31: warning: format specifies type 'unsigned int' but the argument has type 'SDL_Surface *' (aka 'struct SDL_Surface *') [-Wformat] 289 | printf("Using primary SDL surface of %d,%d @%d bpp (%04x)\n", | ~~~~ 290 | xsize, ysize, bytespp << 3, S->primary); | ^~~~~~~~~~ sdl_driver.c:143:11: note: expanded from macro 'S' 143 | #define S ((struct _sdl_state *)(drv->state)) | ^ sdl_driver.c:1229:11: warning: 231 enumeration values not handled in switch: 'SDLK_UNKNOWN', 'SDLK_BACKSPACE', 'SDLK_TAB'... [-Wswitch] 1229 | switch (skey) { | ^~~~ sdl_driver.c:1229:11: note: add missing switch cases 1229 | switch (skey) { | ^ 1230 | case SDLK_LCTRL: skey = SDLK_CAPSLOCK; break; 1231 | case SDLK_CAPSLOCK: skey = SDLK_LCTRL; break; 1232 | } sdl_driver.c:1235:10: warning: 165 enumeration values not handled in switch: 'SDLK_UNKNOWN', 'SDLK_CLEAR', 'SDLK_PAUSE'... [-Wswitch] 1235 | switch (skey) { | ^~~~ sdl_driver.c:1235:10: note: add missing switch cases 1235 | switch (skey) { | ^ sdl_driver.c:1883:43: warning: '/*' within block comment [-Wcomment] 1883 | /* select(0, NULL, NULL, NULL, &ctime); /* Sleep. */ | ^ 5 warnings generated. --- libscidrivers.a --- rm -f libscidrivers.a ar cru libscidrivers.a gfx_drivers.o xlib_driver.o ggi_driver.o sdl_driver.o directfb_driver.o null_driver.o ranlib libscidrivers.a --- alpha_mvi_crossblit_32.o --- --- alpha_mvi_crossblit_32_P.o --- --- font.o --- --- alpha_mvi_crossblit_32.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I../.. -I../include -DHAVE_CONFIG_H -DFUNCT_NAME=alpha_mvi_crossblit_32 -c ../../src/gfx/alpha_mvi_crossblit.c -o ../../src/gfx/alpha_mvi_crossblit_32.o --- alpha_mvi_crossblit_32_P.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I../.. -I../include -DHAVE_CONFIG_H -DPRIORITY=1 -DFUNCT_NAME=alpha_mvi_crossblit_32_P -c ../../src/gfx/alpha_mvi_crossblit.c -o ../../src/gfx/alpha_mvi_crossblit_32_P.o --- font.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c font.c --- gfx_resource.o --- --- gfx_support.o --- --- gfx_resource.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c gfx_resource.c --- gfx_support.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c gfx_support.c --- gfx_tools.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c gfx_tools.c gfx_tools.c:368:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 368 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ gfx_tools.c:368:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ 1 warning generated. --- operations.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c operations.c --- resmgr.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c resmgr.c --- operations.o --- operations.c:605:6: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 605 | if (!state->driver->capabilities & GFX_CAPABILITY_PIXMAP_GRABBING) { | ^ ~ operations.c:605:6: note: add parentheses after the '!' to evaluate the bitwise operator first 605 | if (!state->driver->capabilities & GFX_CAPABILITY_PIXMAP_GRABBING) { | ^ | ( ) operations.c:605:6: note: add parentheses around left hand side expression to silence this warning 605 | if (!state->driver->capabilities & GFX_CAPABILITY_PIXMAP_GRABBING) { | ^ | ( ) operations.c:606:7: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 606 | if (!state->driver->capabilities & GFX_CAPABILITY_MOUSE_POINTER) { | ^ ~ operations.c:606:7: note: add parentheses after the '!' to evaluate the bitwise operator first 606 | if (!state->driver->capabilities & GFX_CAPABILITY_MOUSE_POINTER) { | ^ | ( ) operations.c:606:7: note: add parentheses around left hand side expression to silence this warning 606 | if (!state->driver->capabilities & GFX_CAPABILITY_MOUSE_POINTER) { | ^ | ( ) operations.c:611:10: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 611 | && !state->driver->capabilities & GFX_CAPABILITY_COLOR_MOUSE_POINTER) { | ^ ~ operations.c:611:10: note: add parentheses after the '!' to evaluate the bitwise operator first 611 | && !state->driver->capabilities & GFX_CAPABILITY_COLOR_MOUSE_POINTER) { | ^ | ( ) operations.c:611:10: note: add parentheses around left hand side expression to silence this warning 611 | && !state->driver->capabilities & GFX_CAPABILITY_COLOR_MOUSE_POINTER) { | ^ | ( ) operations.c:1391:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 1391 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ operations.c:1391:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ operations.c:1690:10: warning: call to undeclared library function 'toupper' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1690 | int c = toupper((char)ch); | ^ operations.c:1690:10: note: include the header or explicitly provide a declaration for 'toupper' operations.c:1753:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1753 | } | ^ --- sbtree.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c sbtree.c --- operations.o --- 6 warnings generated. --- widgets.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c widgets.c --- menubar.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c menubar.c --- sci_widgets.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c sci_widgets.c --- widgets.o --- widgets.c:203:5: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 203 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ widgets.c:203:5: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ widgets.c:333:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 333 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ widgets.c:333:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ widgets.c:355:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 355 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ widgets.c:355:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ widgets.c:740:18: warning: operator '?:' has lower precedence than '|'; '|' will be evaluated first [-Wbitwise-conditional-parentheses] 739 | (priority < 0)? 0 : GFX_MASK_PRIORITY | ~~~~~~~~~~~~~~~~~ 740 | | (control < 0)? 0 : GFX_MASK_CONTROL; | ~~~~~~~~~~~~~~~^ widgets.c:740:18: note: place parentheses around the '|' expression to silence this warning 739 | (priority < 0)? 0 : GFX_MASK_PRIORITY | ( 740 | | (control < 0)? 0 : GFX_MASK_CONTROL; | ^ | ) widgets.c:740:18: note: place parentheses around the '?:' expression to evaluate it first 740 | | (control < 0)? 0 : GFX_MASK_CONTROL; | ^ | ( ) widgets.c:1767:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 1767 | BREAKPOINT(); | ^~~~~~~~~~~~ ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^~~~~~~~~~~~~~ widgets.c:1767:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ../../src/include/resource.h:499:101: note: expanded from macro 'BREAKPOINT' 499 | # define BREAKPOINT() { fprintf(stderr, "Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *)NULL) = 42; } | ^ --- antialias.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c antialias.c --- widgets.o --- 5 warnings generated. --- gfx_console.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c gfx_console.c --- font-5x8.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c font-5x8.c --- font-6x10.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c font-6x10.c --- gfx_res_options.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c gfx_res_options.c gfx_res_options.c:93:18: warning: call to undeclared library function 'isblank' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | while (*src && isblank(*src)) | ^ gfx_res_options.c:93:18: note: include the header or explicitly provide a declaration for 'isblank' gfx_res_options.c:100:29: warning: call to undeclared library function 'isdigit' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | } else if (*src == '.' || isdigit(*src)) { | ^ gfx_res_options.c:100:29: note: include the header or explicitly provide a declaration for 'isdigit' 2 warnings generated. --- libscigraphics.a --- rm -f libscigraphics.a ar cru libscigraphics.a font.o gfx_resource.o gfx_support.o gfx_tools.o operations.o resmgr.o sbtree.o widgets.o menubar.o sci_widgets.o antialias.o gfx_console.o font-5x8.o font-6x10.o gfx_res_options.o alpha_mvi_crossblit_32.o alpha_mvi_crossblit_32_P.o drivers/libscidrivers.a resource/libsciresources.a ranlib libscigraphics.a Making all in sound --- song_iterator.o --- --- oldmidi.o --- --- sound.o --- --- song_iterator.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c song_iterator.c --- oldmidi.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c oldmidi.c --- sound.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c sound.c --- song_iterator.o --- song_iterator.c:374:17: warning: incompatible function pointer types assigning to 'byte *(*)(struct _song_iterator *, unsigned int *, unsigned int *)' (aka 'unsigned char *(*)(struct _song_iterator *, unsigned int *, unsigned int *)') from 'byte *(song_iterator_t *, int *, int *)' (aka 'unsigned char *(struct _song_iterator *, int *, int *)') [-Wincompatible-function-pointer-types] 374 | it->check_pcm = _sci0_check_pcm; | ^ ~~~~~~~~~~~~~~~ 1 warning generated. --- midi_mt32.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c midi_mt32.c --- midiout.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c midiout.c --- midiout_unixraw.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c midiout_unixraw.c --- midiout.o --- In file included from midiout.c:20: ../../src/include/midiout.h:84:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | int midiout_open(); | ^ midiout.c:56:5: note: conflicting prototype is here 56 | int midiout_open(void *other_data) | ^ midiout.c:58:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | return midiout_driver->midiout_open(other_data); | ^ --- midi_mt32.o --- midi_mt32.c:289:30: warning: passing 'char[20]' to parameter of type 'guint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 289 | midi_mt32_poke(0x200000, shutdown_msg, 20); | ^~~~~~~~~~~~ midi_mt32.c:33:45: note: passing argument to parameter 'data' here 33 | int midi_mt32_poke(guint32 address, guint8 *data, unsigned int n); | ^ --- midiout.o --- 2 warnings generated. --- midiout_alsaraw.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c midiout_alsaraw.c --- midi_device.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c midi_device.c --- midi_mt32.o --- 1 warning generated. --- midi_mt32gm.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c midi_mt32gm.c --- midiout_ossseq.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c midiout_ossseq.c --- midi_device.o --- midi_device.c:157:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 157 | _midi_device_null_open(guint8 *_0, unsigned int _1) { return 0; } | ^ | int midi_device.c:158:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 158 | _midi_device_null_close() { return 0; } | ^ | int midi_device.c:159:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 159 | _midi_device_null_event(guint8 _0, guint8 _1, guint8 _2, guint32 _3) { return 0; } | ^ | int midi_device.c:160:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 160 | _midi_device_null_event2(guint8 _0, guint8 _1, guint32 _2) { return 0; } | ^ | int midi_device.c:161:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 161 | _midi_device_null_allstop() { return 0; } | ^ | int midi_device.c:162:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 162 | _midi_device_null_reverb(short _) { return 0; } | ^ | int 6 warnings generated. --- midiout_ossopl3.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c midiout_ossopl3.c --- thread_ss_sdl.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c thread_ss_sdl.c --- soundserver.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c soundserver.c --- midi_adlib.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c midi_adlib.c --- thread_ss_sdl.o --- thread_ss_sdl.c:348:89: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] 348 | fprintf(debug_stream, "Attempted to init a non-existant sound resource! %04x\n", value); | ~~~~ ^~~~~ | %04lx 1 warning generated. --- midi_adlibemu.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c midi_adlibemu.c --- fmopl.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c fmopl.c --- polled_ss_unix.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c polled_ss_unix.c --- fmopl.o --- fmopl.c:991:37: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 991 | data = Limit(outd[0], OPL_MAXOUT, OPL_MINOUT); | ^~~~~~~~~~ fmopl.c:64:28: note: expanded from macro 'OPL_MINOUT' 64 | #define OPL_MINOUT (-0x8000< or explicitly provide a declaration for 'isspace' sfx_save.cfsml:501:26: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 501 | _cfsml_write_int(fh, &(save_struc->master_volume)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfx_save.cfsml:445:33: note: passing argument to parameter 'save_struc' here 445 | _cfsml_write_int(FILE *fh, int* save_struc) | ^ sfx_save.cfsml:749:34: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 749 | if (_cfsml_read_int(fh, &(save_struc->master_volume), value, line, hiteof)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sfx_save.cfsml:539:32: note: passing argument to parameter 'save_struc' here 539 | _cfsml_read_int(FILE *fh, int* save_struc, char *lastval, int *line, int *hiteof) | ^ sfx_save.cfsml:498:26: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 498 | _cfsml_write_int(fh, &(save_struc->size)); | ^~~~~~~~~~~~~~~~~~~ sfx_save.cfsml:445:33: note: passing argument to parameter 'save_struc' here 445 | _cfsml_write_int(FILE *fh, int* save_struc) | ^ sfx_save.cfsml:531:26: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 531 | _cfsml_write_int(fh, &(save_struc->handle)); | ^~~~~~~~~~~~~~~~~~~~~ sfx_save.cfsml:445:33: note: passing argument to parameter 'save_struc' here 445 | _cfsml_write_int(FILE *fh, int* save_struc) | ^ sfx_save.cfsml:749:34: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 749 | if (_cfsml_read_int(fh, &(save_struc->size), value, line, hiteof)) { | ^~~~~~~~~~~~~~~~~~~ sfx_save.cfsml:539:32: note: passing argument to parameter 'save_struc' here 539 | _cfsml_read_int(FILE *fh, int* save_struc, char *lastval, int *line, int *hiteof) | ^ sfx_save.cfsml:749:34: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 749 | if (_cfsml_read_int(fh, &(save_struc->handle), value, line, hiteof)) { | ^~~~~~~~~~~~~~~~~~~~~ sfx_save.cfsml:539:32: note: passing argument to parameter 'save_struc' here 539 | _cfsml_read_int(FILE *fh, int* save_struc, char *lastval, int *line, int *hiteof) | ^ 7 warnings generated. --- libscisound.a --- rm -f libscisound.a ar cru libscisound.a song_iterator.o oldmidi.o sound.o sfx_save.o midi_mt32.o midiout.o midiout_unixraw.o midiout_alsaraw.o midi_device.o midi_mt32gm.o midiout_ossseq.o midiout_ossopl3.o thread_ss_sdl.o soundserver.o midi_adlib.o midi_adlibemu.o fmopl.o polled_ss_unix.o polled_ss_win32.o midiout_win32mci.o polled_ss.o pcmout.o pcmout_sdl.o pcmout_alsa.o midiout_irixmd.o pcmout_al.o pcmout_oss.o midiout_morphos.o midiout_fsynth.o ranlib libscisound.a Making all in tools --- sciunpack.o --- --- listwords.o --- --- scriptdump.o --- --- sciunpack.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c sciunpack.c --- listwords.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c listwords.c --- scriptdump.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c scriptdump.c --- listwords.o --- listwords.c:65:42: warning: format specifies type 'char *' but the argument has type 'char (*)[1]' [-Wformat] 65 | printf("%s (class %03x, group %03x) ", &tracker[0]->word, | ~~ ^~~~~~~~~~~~~~~~~ --- sciunpack.o --- sciunpack.c:183:12: warning: data argument not used by format string [-Wformat-extra-args] 182 | printf(" %s", vocab_get_any_group_word(nextitem, parser_words, parser_words_nr), | ~~~~~ 183 | nextitem); | ^ sciunpack.c:293:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 293 | printf(gcc_3_0_hates_me); | ^~~~~~~~~~~~~~~~ sciunpack.c:293:11: note: treat the string as an argument to avoid this 293 | printf(gcc_3_0_hates_me); | ^ | "%s", --- vocabdump.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c vocabdump.c --- listwords.o --- 1 warning generated. --- sciconsole.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c sciconsole.c --- sciunpack.o --- 2 warnings generated. --- scidisasm.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c scidisasm.c --- scipack.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c scipack.c --- sciunpack --- clang -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -L/opt/pkg/lib -o sciunpack sciunpack.o listwords.o scriptdump.o vocabdump.o ../sound/libscisound.a ../scicore/libscicore.a -L/opt/pkg/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -lXrender -lfontconfig -lX11 --- sciconsole --- clang -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -L/opt/pkg/lib -o sciconsole sciconsole.o ../sound/libscisound.a ../scicore/libscicore.a -lncurses -lreadline -lncurses -lm -L/opt/pkg/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -lXrender -lfontconfig -lX11 --- scipack.o --- scipack.c:197:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 197 | } | ^ 1 warning generated. --- sciconsole --- ld: warning: ignoring duplicate libraries: '-lncurses' --- scidisasm --- clang -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -L/opt/pkg/lib -o scidisasm scidisasm.o ../scicore/libscicore.a -L/opt/pkg/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -lXrender -lfontconfig -lX11 --- scipack --- clang -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -L/opt/pkg/lib -o scipack scipack.o ../scicore/libscicore.a -L/opt/pkg/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -lXrender -lfontconfig -lX11 Making all in win32 Making all in morphos Making all in wince Making all in menu --- game_select_init.o --- --- game_select_screen.o --- --- game_select.o --- --- game_select_init.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c game_select_init.c --- game_select_screen.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c game_select_screen.c --- game_select.o --- clang -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c game_select.c --- game_select_init.o --- game_select_init.c:60:6: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 60 | if (!state->driver->capabilities & GFX_CAPABILITY_PIXMAP_GRABBING) { | ^ ~ game_select_init.c:60:6: note: add parentheses after the '!' to evaluate the bitwise operator first 60 | if (!state->driver->capabilities & GFX_CAPABILITY_PIXMAP_GRABBING) { | ^ | ( ) game_select_init.c:60:6: note: add parentheses around left hand side expression to silence this warning 60 | if (!state->driver->capabilities & GFX_CAPABILITY_PIXMAP_GRABBING) { | ^ | ( ) game_select_init.c:61:7: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 61 | if (!state->driver->capabilities & GFX_CAPABILITY_MOUSE_POINTER) { | ^ ~ game_select_init.c:61:7: note: add parentheses after the '!' to evaluate the bitwise operator first 61 | if (!state->driver->capabilities & GFX_CAPABILITY_MOUSE_POINTER) { | ^ | ( ) game_select_init.c:61:7: note: add parentheses around left hand side expression to silence this warning 61 | if (!state->driver->capabilities & GFX_CAPABILITY_MOUSE_POINTER) { | ^ | ( ) 2 warnings generated. --- libscimenu.a --- rm -f libscimenu.a ar cru libscimenu.a game_select_init.o game_select_screen.o game_select.o ranlib libscimenu.a --- main.o --- --- config.o --- --- main.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c main.c --- config.o --- clang -DHAVE_CONFIG_H -I. -I. -I.. -I../src/include -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -c config.c --- main.o --- main.c:278:7: warning: address of array 'input' will always evaluate to 'true' [-Wpointer-bool-conversion] 278 | if (!input) { | ~^~~~~ main.c:284:38: warning: if statement has empty body [-Wempty-body] 284 | if (input[strlen(input)-1] == '\n'); | ^ main.c:284:38: note: put the semicolon on a separate line to silence this warning main.c:310:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 310 | printf(gfx_get_driver_name(i)); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:310:10: note: treat the string as an argument to avoid this 310 | printf(gfx_get_driver_name(i)); | ^ | "%s", main.c:324:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 324 | printf(pcmout_drivers[i]->name); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:324:10: note: treat the string as an argument to avoid this 324 | printf(pcmout_drivers[i]->name); | ^ | "%s", main.c:337:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 337 | printf(midiout_drivers[i]->name); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:337:10: note: treat the string as an argument to avoid this 337 | printf(midiout_drivers[i]->name); | ^ | "%s", main.c:351:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 351 | printf(midi_devices[i]->name); | ^~~~~~~~~~~~~~~~~~~~~ main.c:351:10: note: treat the string as an argument to avoid this 351 | printf(midi_devices[i]->name); | ^ | "%s", main.c:364:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 364 | printf(sound_servers[i]->name); | ^~~~~~~~~~~~~~~~~~~~~~ main.c:364:10: note: treat the string as an argument to avoid this 364 | printf(sound_servers[i]->name); | ^ | "%s", main.c:1265:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | gamestate->sound_server->get_event(gamestate); /* Get init message */ | ^ 8 warnings generated. --- freesci --- clang -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -no-cpp-precomp -pipe -Os -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include/freetype2 -L/opt/pkg/lib -o freesci config.o main.o engine/libsciengine.a gfx/libscigraphics.a gfx/resource/libsciresources.a gfx/drivers/libscidrivers.a sound/libscisound.a scicore/libscicore.a menu/libscimenu.a -lreadline -lncurses -lm -L/opt/pkg/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -L/opt/pkg/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -lXrender -lfontconfig -lX11 ld: warning: ignoring duplicate libraries: '-lSDL', '-lSDLmain' ld: archive member 'libscidrivers.a' not a mach-o file in 'gfx/libscigraphics.a' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [freesci] Error code 1 bmake[3]: stopped making "all-am" in /var/tmp/work/games/freesci/work/freesci-0.3.5/src bmake[3]: 1 error bmake[3]: stopped making "all-am" in /var/tmp/work/games/freesci/work/freesci-0.3.5/src *** [all-recursive] Error code 1 bmake[2]: stopped making "all" in /var/tmp/work/games/freesci/work/freesci-0.3.5/src bmake[2]: 1 error bmake[2]: stopped making "all" in /var/tmp/work/games/freesci/work/freesci-0.3.5/src *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /var/tmp/work/games/freesci/work/freesci-0.3.5 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /var/tmp/work/games/freesci/work/freesci-0.3.5 *** [all-recursive-am] Error code 2 bmake: stopped making "all" in /var/tmp/work/games/freesci/work/freesci-0.3.5 bmake: 1 error bmake: stopped making "all" in /var/tmp/work/games/freesci/work/freesci-0.3.5 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/freesci *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/freesci