=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/emulators/gnuboy-sdl", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for gnuboy-sdl-1.0.4nb6 --- lcd.o --- --- refresh.o --- --- lcdc.o --- --- refresh.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c refresh.c -o refresh.o --- lcdc.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c lcdc.c -o lcdc.o --- lcd.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c lcd.c -o lcd.o --- palette.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c palette.c -o palette.o --- cpu.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c cpu.c -o cpu.o --- mem.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c mem.c -o mem.o --- cpu.o --- cpu.c: In function 'cpu_emulate': cpu.c:741:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 741 | if (!(F&FZ)) goto __JR; NOJR; break; | ^~ cpu.c:226:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 226 | #define NOJR ( clen--, PC++ ) | ^ cpu.c:741:41: note: in expansion of macro 'NOJR' 741 | if (!(F&FZ)) goto __JR; NOJR; break; | ^~~~ cpu.c:743:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 743 | if (F&FZ) goto __JR; NOJR; break; | ^~ cpu.c:226:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 226 | #define NOJR ( clen--, PC++ ) | ^ cpu.c:743:38: note: in expansion of macro 'NOJR' 743 | if (F&FZ) goto __JR; NOJR; break; | ^~~~ cpu.c:745:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 745 | if (!(F&FC)) goto __JR; NOJR; break; | ^~ cpu.c:226:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 226 | #define NOJR ( clen--, PC++ ) | ^ cpu.c:745:41: note: in expansion of macro 'NOJR' 745 | if (!(F&FC)) goto __JR; NOJR; break; | ^~~~ cpu.c:747:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 747 | if (F&FC) goto __JR; NOJR; break; | ^~ cpu.c:226:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 226 | #define NOJR ( clen--, PC++ ) | ^ cpu.c:747:38: note: in expansion of macro 'NOJR' 747 | if (F&FC) goto __JR; NOJR; break; | ^~~~ cpu.c:753:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 753 | if (!(F&FZ)) goto __JP; NOJP; break; | ^~ cpu.c:227:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 227 | #define NOJP ( clen--, PC+=2 ) | ^ cpu.c:753:41: note: in expansion of macro 'NOJP' 753 | if (!(F&FZ)) goto __JP; NOJP; break; | ^~~~ cpu.c:755:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 755 | if (F&FZ) goto __JP; NOJP; break; | ^~ cpu.c:227:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 227 | #define NOJP ( clen--, PC+=2 ) | ^ cpu.c:755:38: note: in expansion of macro 'NOJP' 755 | if (F&FZ) goto __JP; NOJP; break; | ^~~~ cpu.c:757:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 757 | if (!(F&FC)) goto __JP; NOJP; break; | ^~ cpu.c:227:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 227 | #define NOJP ( clen--, PC+=2 ) | ^ cpu.c:757:41: note: in expansion of macro 'NOJP' 757 | if (!(F&FC)) goto __JP; NOJP; break; | ^~~~ cpu.c:759:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 759 | if (F&FC) goto __JP; NOJP; break; | ^~ cpu.c:227:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 227 | #define NOJP ( clen--, PC+=2 ) | ^ cpu.c:759:38: note: in expansion of macro 'NOJP' 759 | if (F&FC) goto __JP; NOJP; break; | ^~~~ cpu.c:767:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 767 | if (!(F&FZ)) goto __RET; NORET; break; | ^~ cpu.c:229:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 229 | #define NORET ( clen-=3 ) | ^ cpu.c:767:42: note: in expansion of macro 'NORET' 767 | if (!(F&FZ)) goto __RET; NORET; break; | ^~~~~ cpu.c:769:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 769 | if (F&FZ) goto __RET; NORET; break; | ^~ cpu.c:229:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 229 | #define NORET ( clen-=3 ) | ^ cpu.c:769:39: note: in expansion of macro 'NORET' 769 | if (F&FZ) goto __RET; NORET; break; | ^~~~~ cpu.c:771:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 771 | if (!(F&FC)) goto __RET; NORET; break; | ^~ cpu.c:229:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 229 | #define NORET ( clen-=3 ) | ^ cpu.c:771:42: note: in expansion of macro 'NORET' 771 | if (!(F&FC)) goto __RET; NORET; break; | ^~~~~ cpu.c:773:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 773 | if (F&FC) goto __RET; NORET; break; | ^~ cpu.c:229:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 229 | #define NORET ( clen-=3 ) | ^ cpu.c:773:39: note: in expansion of macro 'NORET' 773 | if (F&FC) goto __RET; NORET; break; | ^~~~~ cpu.c:781:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 781 | if (!(F&FZ)) goto __CALL; NOCALL; break; | ^~ cpu.c:228:16: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 228 | #define NOCALL ( clen-=3, PC+=2 ) | ^ cpu.c:781:43: note: in expansion of macro 'NOCALL' 781 | if (!(F&FZ)) goto __CALL; NOCALL; break; | ^~~~~~ cpu.c:783:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 783 | if (F&FZ) goto __CALL; NOCALL; break; | ^~ cpu.c:228:16: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 228 | #define NOCALL ( clen-=3, PC+=2 ) | ^ cpu.c:783:40: note: in expansion of macro 'NOCALL' 783 | if (F&FZ) goto __CALL; NOCALL; break; | ^~~~~~ cpu.c:785:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 785 | if (!(F&FC)) goto __CALL; NOCALL; break; | ^~ cpu.c:228:16: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 228 | #define NOCALL ( clen-=3, PC+=2 ) | ^ cpu.c:785:43: note: in expansion of macro 'NOCALL' 785 | if (!(F&FC)) goto __CALL; NOCALL; break; | ^~~~~~ cpu.c:787:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 787 | if (F&FC) goto __CALL; NOCALL; break; | ^~ cpu.c:228:16: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 228 | #define NOCALL ( clen-=3, PC+=2 ) | ^ cpu.c:787:40: note: in expansion of macro 'NOCALL' 787 | if (F&FC) goto __CALL; NOCALL; break; | ^~~~~~ --- mem.o --- mem.c: In function 'mem_updatemap': mem.c:74:33: warning: array subscript -48896 is outside array bounds of 'struct ram[1]' [-Warray-bounds=] 74 | map[0xC] = ram.ibank[0] - 0xC000; | ~~~~~~~~~~~~~^~~~~~~~ mem.c:16:12: note: at offset -48896 into object 'ram' of size 33040 16 | struct ram ram; | ^~~ mem.c:77:33: warning: array subscript -57088 is outside array bounds of 'struct ram[1]' [-Warray-bounds=] 77 | map[0xE] = ram.ibank[0] - 0xE000; | ~~~~~~~~~~~~~^~~~~~~~ mem.c:16:12: note: at offset -57088 into object 'ram' of size 33040 16 | struct ram ram; | ^~~ mem.c:90:33: warning: array subscript -48896 is outside array bounds of 'struct ram[1]' [-Warray-bounds=] 90 | map[0xC] = ram.ibank[0] - 0xC000; | ~~~~~~~~~~~~~^~~~~~~~ mem.c:16:12: note: at offset -48896 into object 'ram' of size 33040 16 | struct ram ram; | ^~~ mem.c:93:33: warning: array subscript -57088 is outside array bounds of 'struct ram[1]' [-Warray-bounds=] 93 | map[0xE] = ram.ibank[0] - 0xE000; | ~~~~~~~~~~~~~^~~~~~~~ mem.c:16:12: note: at offset -57088 into object 'ram' of size 33040 16 | struct ram ram; | ^~~ --- rtc.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c rtc.c -o rtc.o --- hw.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c hw.c -o hw.o --- sound.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c sound.c -o sound.o --- events.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c events.c -o events.o --- keytable.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c keytable.c -o keytable.o keytable.c: In function 'k_keycode': keytable.c:145:22: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 145 | if (!strcasecmp(key->name, name)) | ^~~~~~~~~~ | strncmp --- loader.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c loader.c -o loader.o --- save.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c save.c -o save.o --- debug.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c debug.c -o debug.o --- emu.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c emu.c -o emu.o --- main.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c main.c -o main.o main.c: In function 'main': main.c:271:13: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 271 | s = strdup(argv[0]); | ^~~~~~ | strcmp main.c:271:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 271 | s = strdup(argv[0]); | ^ main.c:311:29: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 311 | opt = strdup(argv[i]+5); | ^ main.c:321:29: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 321 | opt = strdup(argv[i]+2); | ^ main.c:349:13: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 349 | rom = strdup(rom); | ^ --- rccmds.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c rccmds.c -o rccmds.o --- rckeys.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c rckeys.c -o rckeys.o rckeys.c: In function 'rc_bindkey': rckeys.c:29:13: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 29 | a = strdup(cmd); | ^~~~~~ | strcmp rckeys.c:29:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 29 | a = strdup(cmd); | ^ --- rcvars.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c rcvars.c -o rcvars.o --- rcfile.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c rcfile.c -o rcfile.o --- rcvars.o --- rcvars.c: In function 'rc_setvar_n': rcvars.c:130:22: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 130 | *s = strdup(v[0]); | ^~~~~~ | strcmp rcvars.c:130:20: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 130 | *s = strdup(v[0]); | ^ --- exports.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c exports.c -o exports.o --- split.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c split.c -o split.o --- path.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c path.c -o path.o --- inflate.o --- --- path.o --- path.c: In function 'path_search': path.c:24:31: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 24 | return (buf = strdup(name)); | ^~~~~~ | strcmp path.c:24:29: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 24 | return (buf = strdup(name)); | ^ --- inflate.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c inflate.c -o inflate.o --- xz/xz_crc32.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c xz/xz_crc32.c -o xz/xz_crc32.o --- xz/xz_crc64.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c xz/xz_crc64.c -o xz/xz_crc64.o --- xz/xz_dec_lzma2.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c xz/xz_dec_lzma2.c -o xz/xz_dec_lzma2.o --- xz/xz_dec_stream.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c xz/xz_dec_stream.c -o xz/xz_dec_stream.o --- xz/xz_dec_bcj.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c xz/xz_dec_bcj.c -o xz/xz_dec_bcj.o --- sys/nix/nix.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c sys/nix/nix.c -o sys/nix/nix.o --- sys/x11/xlib.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c sys/x11/xlib.c -o sys/x11/xlib.o --- sys/x11/keymap.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c sys/x11/keymap.c -o sys/x11/keymap.o --- sys/dummy/nojoy.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c sys/dummy/nojoy.c -o sys/dummy/nojoy.o --- sys/dummy/nosound.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c sys/dummy/nosound.c -o sys/dummy/nosound.o sys/dummy/nosound.c: In function 'pcm_close': sys/dummy/nosound.c:31:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 31 | memset(&pcm, 0, sizeof pcm); | ^~~~~~ sys/dummy/nosound.c:8:1: note: include '' or provide a declaration of 'memset' 7 | #include "rc.h" +++ |+#include 8 | sys/dummy/nosound.c:31:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 31 | memset(&pcm, 0, sizeof pcm); | ^~~~~~ sys/dummy/nosound.c:31:9: note: include '' or provide a declaration of 'memset' --- sys/sdl2/sdl2.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c sys/sdl2/sdl2.c -o sys/sdl2/sdl2.o --- sys/sdl2/sdl-audio.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c sys/sdl2/sdl-audio.c -o sys/sdl2/sdl-audio.o --- sys/sdl2/keymap.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c sys/sdl2/keymap.c -o sys/sdl2/keymap.o --- sys/sdl2/sdl-joystick.o --- gcc -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -I. -I./sys/nix -DHAVE_CONFIG_H -DIS_LITTLE_ENDIAN -c sys/sdl2/sdl-joystick.c -o sys/sdl2/sdl-joystick.o --- xgnuboy --- gcc lcd.o refresh.o lcdc.o palette.o cpu.o mem.o rtc.o hw.o sound.o events.o keytable.o loader.o save.o debug.o emu.o main.o rccmds.o rckeys.o rcvars.o rcfile.o exports.o split.o path.o inflate.o xz/xz_crc32.o xz/xz_crc64.o xz/xz_dec_lzma2.o xz/xz_dec_stream.o xz/xz_dec_bcj.o sys/nix/nix.o sys/x11/xlib.o sys/x11/keymap.o sys/dummy/nojoy.o sys/dummy/nosound.o -o xgnuboy -lX11 -lXext -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -L/usr/X11R6/lib --- sdl2gnuboy --- gcc lcd.o refresh.o lcdc.o palette.o cpu.o mem.o rtc.o hw.o sound.o events.o keytable.o loader.o save.o debug.o emu.o main.o rccmds.o rckeys.o rcvars.o rcfile.o exports.o split.o path.o inflate.o xz/xz_crc32.o xz/xz_crc64.o xz/xz_dec_lzma2.o xz/xz_dec_stream.o xz/xz_dec_bcj.o sys/nix/nix.o sys/sdl2/sdl2.o sys/sdl2/sdl-audio.o sys/sdl2/keymap.o sys/sdl2/sdl-joystick.o -o sdl2gnuboy -lSDL2 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include/SDL2 -I/opt/local/include -I/opt/local/include/libdrm -I/usr/include -I/opt/local/include/ncurses -Wno-unused-function -Wno-deprecated-declarations -Wno-overlength-strings -ansi -pedantic -Wall -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -L/usr/X11R6/lib