=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/nighthawk", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for nighthawk-2.1nb5 (cd src ; /opt/pkg/bin/gmake) gmake[1]: Entering directory '/var/tmp/work/games/nighthawk/work/nighthawk/src' g++ -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/pkg/include -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lXpm -lX11 -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c misc.cc -o misc.o g++ -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/pkg/include -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lXpm -lX11 -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c floor.cc -o floor.o clang++: warning: -Wl,-rpath,/opt/pkg/lib: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lXpm: 'linker' input unused [-Wunused-command-line-argument] clang++clang++: : warning: -lX11: 'linker' input unused [-Wunused-command-line-argument] warning: -Wl,-rpath,/opt/pkg/lib: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lXpm: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lX11: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-L/var/tmp/work/games/nighthawk/work/.buildlink/lib' [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-L/var/tmp/work/games/nighthawk/work/.buildlink/lib' [-Wunused-command-line-argument] misc.cc:78:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | "002", | ^ misc.cc:79:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | "Paradroid", | ^ misc.cc:83:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | "Neurologic", | ^ misc.cc:91:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 91 | "108", | ^ misc.cc:92:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 92 | "Minor Cleaning Droid", | ^ misc.cc:96:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 96 | "Embedded Logic", | ^ misc.cc:104:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 104 | "176", | ^ misc.cc:105:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 105 | "Standard Cleaning Droid", | ^ misc.cc:109:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 109 | "Embedded Logic", | ^ misc.cc:117:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 117 | "261", | ^ misc.cc:118:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 118 | "Cargo Paletting Droid", | ^ misc.cc:122:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 122 | "Embedded Logic", | ^ misc.cc:130:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 130 | "275", | ^ misc.cc:131:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | "Servant Droid", | ^ misc.cc:135:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 135 | "Embedded Logic", | ^ misc.cc:143:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 143 | "355", | ^ misc.cc:144:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 144 | "Messenger (Class C) Droid", | ^ misc.cc:148:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 148 | "Embedded Logic", | ^ misc.cc:156:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 156 | "368", | ^ misc.cc:157:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 157 | "Messenger (Class D) Droid", | ^ misc.cc:161:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 161 | "Embedded Logic", | ^ misc.cc:169:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 169 | "423", | ^ misc.cc:170:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 170 | "Standard Maintenance Droid", | ^ misc.cc:174:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 174 | "Embedded Logic", | ^ misc.cc:182:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 182 | "467", | ^ misc.cc:183:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 183 | "Heavy Duty Maintenance Droid", | ^ misc.cc:187:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 187 | "Embedded Logic", | ^ misc.cc:195:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 195 | "489", | ^ misc.cc:196:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 196 | "Aerial Maintenance Droid", | ^ misc.cc:200:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 200 | "Embedded Logic", | ^ misc.cc:208:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 208 | "513", | ^ misc.cc:209:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 209 | "Trauma Technician", | ^ misc.cc:213:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 213 | "Neurologic", | ^ misc.cc:221:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 221 | "520", | ^ misc.cc:222:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 222 | "Nurse Droid", | ^ misc.cc:226:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 226 | "Neurologic", | ^ misc.cc:234:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 234 | "599", | ^ misc.cc:235:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 235 | "Surgeon Droid", | ^ misc.cc:239:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 239 | "Neurologic", | ^ misc.cc:247:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 247 | "606", | ^ misc.cc:248:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 248 | "Guard Monitor", | ^ misc.cc:252:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 252 | "Neurologic", | ^ misc.cc:260:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 260 | "691", | ^ misc.cc:261:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 261 | "Sentinel Droid", | ^ misc.cc:265:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 265 | "Neurologic", | ^ misc.cc:273:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 273 | "693", | ^ misc.cc:274:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 274 | "Centurion Droid", | ^ misc.cc:278:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 278 | "Neurologic", | ^ misc.cc:286:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 286 | "719", | ^ misc.cc:287:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 287 | "Battle Droid", | ^ misc.cc:291:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 291 | "Neurologic", | ^ misc.cc:299:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 299 | "720", | ^ misc.cc:300:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 300 | "Flack Droid", | ^ misc.cc:304:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 304 | "Neurologic", | ^ misc.cc:312:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 312 | "766", | ^ misc.cc:313:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 313 | "Attack Droid", | ^ misc.cc:317:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 317 | "Neurologic", | ^ misc.cc:325:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 325 | "799", | ^ misc.cc:326:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 326 | "Heavy Battle Droid", | ^ misc.cc:330:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 330 | "Neurologic", | ^ misc.cc:338:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 338 | "805", | ^ misc.cc:339:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 339 | "Communications Droid", | ^ misc.cc:343:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 343 | "Neurologic", | ^ misc.cc:351:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 351 | "810", | ^ misc.cc:352:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 352 | "Engineer Droid", | ^ misc.cc:356:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 356 | "Neurologic", | ^ misc.cc:364:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 364 | "820", | ^ misc.cc:365:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 365 | "Science Droid", | ^ misc.cc:369:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 369 | "Neurologic", | ^ misc.cc:377:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 377 | "899", | ^ misc.cc:378:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 378 | "Pilot Droid", | ^ misc.cc:382:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 382 | "Neurologic", | ^ misc.cc:390:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 390 | "933", | ^ misc.cc:391:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 391 | "Minor Cyborg", | ^ misc.cc:395:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 395 | "Neurologic", | ^ misc.cc:403:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 403 | "949", | ^ misc.cc:404:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 404 | "Command Cyborg", | ^ misc.cc:408:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 408 | "Neurologic", | ^ misc.cc:416:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 416 | "999", | ^ misc.cc:417:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 417 | "Fleet Cyborg", | ^ misc.cc:421:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 421 | "Neurologic", | ^ misc.cc:471:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 471 | char *error_m = "x_init() "; | ^ misc.cc:472:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 472 | char *wname = "Nighthawk " VERSION; | ^ misc.cc:477:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 477 | char *font_name = "-*-fixed-*-*-*-*-12-*-*-*-*-*-*-*"; | ^ misc.cc:573:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 573 | register int val; | ^~~~~~~~ misc.cc:622:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 622 | register int sy,o; | ^~~~~~~~ misc.cc:622:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 622 | register int sy,o; | ^~~~~~~~ misc.cc:641:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 641 | register int x; | ^~~~~~~~ misc.cc:694:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 694 | register int status = 1; | ^~~~~~~~ misc.cc:696:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 696 | char *error_m = "load_flr_xpms() "; | ^ misc.cc:698:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 698 | register int sprite_c; | ^~~~~~~~ misc.cc:744:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 744 | register int x; | ^~~~~~~~ misc.cc:875:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 875 | if(!loadxpm_xpm("standard/droid_ani.xpm",&droid_bm)) | ^ misc.cc:880:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 880 | if(!loadxpm_xpm("standard/paradroid_ani.xpm",¶droid_bm)) | ^ misc.cc:885:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 885 | if(!loadxpm_xpm("standard/laser_l.xpm",&laser_l_bm)) | ^ misc.cc:890:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 890 | if(!loadxpm_xpm("standard/laser_cb.xpm",&laser_cb_bm)) | ^ misc.cc:895:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 895 | if(!loadxpm_xpm("standard/laser_uv.xpm",&laser_uv_bm)) | ^ misc.cc:900:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 900 | if(!loadxpm_xpm("standard/laser_te.xpm",&laser_te_bm)) | ^ misc.cc:905:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 905 | if(!loadxpm_xpm("standard/explosion.xpm",&explosion_bm)) | ^ misc.cc:910:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 910 | if(!loadxpm_xpm("standard/power_bay.xpm",&power_bay_bm)) | ^ misc.cc:915:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 915 | if(!loadxpm_xpm("standard/ntitle.xpm",&ntitle_bm)) | ^ misc.cc:920:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 920 | if(!loadxpm_xpm("standard/flr_door_h_cyan_ani.xpm",&doorh_bm)) | ^ misc.cc:925:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 925 | if(!loadxpm_xpm("standard/flr_door_v_cyan_ani.xpm",&doorv_bm)) | ^ misc.cc:930:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 930 | if(!loadxpm_xpm("standard/digits.xpm",&digit_bm)) | ^ misc.cc:935:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 935 | if(!loadxpm_xpm("standard/digits2.xpm",&digit2_bm)) | ^ misc.cc:940:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 940 | if(!loadxpm_xpm("standard/ship_complete.xpm",&ship_complete_bm)) | ^ misc.cc:945:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 945 | if(!loadxpm_xpm("standard/credit_1.xpm",&credit_1_bm)) | ^ misc.cc:950:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 950 | if(!loadxpm_xpm("standard/credit_2.xpm",&credit_2_bm)) | ^ misc.cc:955:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 955 | if(!loadxpm_xpm("standard/credit_3.xpm",&credit_3_bm)) | ^ misc.cc:960:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 960 | if(!loadxpm_xpm("standard/credit_4.xpm",&credit_4_bm)) | ^ misc.cc:965:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 965 | if(!loadxpm_xpm("standard/credit_5.xpm",&credit_5_bm)) | ^ misc.cc:970:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 970 | if(!loadxpm_xpm("standard/credit_6.xpm",&credit_6_bm)) | ^ misc.cc:975:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 975 | if(!loadxpm_xpm("standard/neg.xpm",&neg_bm)) | ^ misc.cc:980:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 980 | if(!loadxpm_xpm("standard/paused.xpm",&paused_bm)) | ^ misc.cc:985:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 985 | if(!loadxpm_xpm("standard/trans_terminated.xpm",&trans_terminated_bm)) | ^ misc.cc:990:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 990 | if(!loadxpm_xpm("standard/docking_to_ship.xpm",&get_ready1_bm)) | ^ misc.cc:995:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 995 | if(!loadxpm_xpm("standard/intro_back_1.xpm",&intro_back_bm[0])) | ^ misc.cc:1000:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1000 | if(!loadxpm_xpm("standard/intro_back_2.xpm",&intro_back_bm[1])) | ^ misc.cc:1005:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1005 | if(!loadxpm_xpm("standard/intro_back_3.xpm",&intro_back_bm[2])) | ^ misc.cc:1010:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1010 | if(!loadxpm_xpm("standard/intro_back_4.xpm",&intro_back_bm[3])) | ^ 120 warnings generated. g++ -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/pkg/include -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lXpm -lX11 -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c object.cc -o object.o In file included from floor.cc:26: ./tedit_floor.h:13:7: warning: 'tedit_floor::create' hides overloaded virtual function [-Woverloaded-virtual] 13 | int create(char *fn,int x_size,int y_size); | ^ ./tfloor.h:28:15: note: hidden overloaded virtual function 'tfloor::create' declared here: different number of parameters (2 vs 3) 28 | virtual int create(int x_size,int y_size); | ^ floor.cc:33:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 33 | register int x; | ^~~~~~~~ floor.cc:78:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 78 | register int x,y; | ^~~~~~~~ floor.cc:78:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 78 | register int x,y; | ^~~~~~~~ floor.cc:95:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 95 | register int door_ptr = 0,transport_ptr = 0; | ^~~~~~~~ floor.cc:95:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 95 | register int door_ptr = 0,transport_ptr = 0; | ^~~~~~~~ floor.cc:160:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~~~~~~ floor.cc:160:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~~~~~~ floor.cc:160:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~~~~~~ floor.cc:160:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~~~~~~ floor.cc:160:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~~~~~~ floor.cc:160:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~~~~~~ floor.cc:160:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~~~~~~ floor.cc:207:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 207 | register int x; | ^~~~~~~~ floor.cc:222:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 222 | register int x; | ^~~~~~~~ floor.cc:249:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 249 | register int x,y; | ^~~~~~~~ floor.cc:249:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 249 | register int x,y; | ^~~~~~~~ floor.cc:263:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 263 | register int x,y; | ^~~~~~~~ floor.cc:263:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 263 | register int x,y; | ^~~~~~~~ floor.cc:286:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 286 | register int ipx,ipy,ssp_block; | ^~~~~~~~ floor.cc:286:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 286 | register int ipx,ipy,ssp_block; | ^~~~~~~~ floor.cc:286:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 286 | register int ipx,ipy,ssp_block; | ^~~~~~~~ floor.cc:296:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 296 | register int x1,y1,x2,y2; | ^~~~~~~~ floor.cc:296:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 296 | register int x1,y1,x2,y2; | ^~~~~~~~ floor.cc:296:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 296 | register int x1,y1,x2,y2; | ^~~~~~~~ floor.cc:296:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 296 | register int x1,y1,x2,y2; | ^~~~~~~~ floor.cc:312:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 312 | sprintf(str,"%d,%d",spos_x,spos_y); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ floor.cc:342:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 342 | register int ipx,ipy; | ^~~~~~~~ floor.cc:342:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 342 | register int ipx,ipy; | ^~~~~~~~ clang++: warning: -Wl,-rpath,/opt/pkg/lib: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lXpm: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lX11: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-L/var/tmp/work/games/nighthawk/work/.buildlink/lib' [-Wunused-command-line-argument] 29 warnings generated. g++ -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/pkg/include -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lXpm -lX11 -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c ship.cc -o ship.o clang++: warning: -Wl,-rpath,/opt/pkg/lib: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lXpm: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lX11: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-L/var/tmp/work/games/nighthawk/work/.buildlink/lib' [-Wunused-command-line-argument] In file included from object.cc:26: ./tedit_floor.h:13:7: warning: 'tedit_floor::create' hides overloaded virtual function [-Woverloaded-virtual] 13 | int create(char *fn,int x_size,int y_size); | ^ ./tfloor.h:28:15: note: hidden overloaded virtual function 'tfloor::create' declared here: different number of parameters (2 vs 3) 28 | virtual int create(int x_size,int y_size); | ^ In file included from object.cc:27: In file included from ./tparadroid.h:4: In file included from ./tdroid.h:5: ./tlaser.h:15:16: warning: 'tlaser::init' hides overloaded virtual function [-Woverloaded-virtual] 15 | virtual void init( | ^ ./tentity.h:19:16: note: hidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 7) 19 | virtual void init( | ^ In file included from object.cc:27: In file included from ./tparadroid.h:4: ./tdroid.h:16:8: warning: 'tdroid::init' hides overloaded virtual function [-Woverloaded-virtual] 16 | void init(tfloor *f,tentity **dp,float px,float py); | ^ ./tentity.h:19:16: note: hidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 4) 19 | virtual void init( | ^ object.cc:57:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 57 | register int ix,iy; | ^~~~~~~~ object.cc:57:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 57 | register int ix,iy; | ^~~~~~~~ object.cc:165:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 165 | register int vol; | ^~~~~~~~ object.cc:173:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 173 | register int bal; | ^~~~~~~~ In file included from ship.cc:29: In file included from ./tship.h:5: In file included from ./tparadroid.h:4: object.cc:185:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] In file included from ./tdroid.h:5: 185./tlaser.h | : 15 :r16e:g iwarning: ster int x,statu'tlaser::init' hides overloaded virtual function [-Woverloaded-virtual] s = 0; | ^~~~~~~~ 15 | virtual void init( | ^ object.cc:185:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 185 | regi./tentity.hs:t19e:r16 :i nnote: thidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 7) x, s19t | atus = virt0u;a l void init( | ^ | ^~~~~~~~ In file included from ship.cc:29: In file included from ./tship.h:5: In file included from ./tparadroid.h:4: ./tdroid.h:16:8: warning: 'tdroid::init' hides overloaded virtual function [-Woverloaded-virtual] 16 | void init(tfloor *f,tentity **dp,float px,float py); | ^ ./tentity.h:19:16: note: hidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 4) 19 | virtual void init( | ^ object.cc:223:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 223 | register int x; | ^~~~~~~~ ship.cc:36:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 36 | register int x; | ^~~~~~~~ object.cc:342:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 342 | regship.cci:50:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 50 | regisstetre ri nitn tx ;s tatus = 0 ;| ^~~~~~~~ | ^~~~~~~~ object.cc:369:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 369 | register int status = 0; | ^~~~~~~~ object.cc:413:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 413 | register float d1,d2; | ^~~~~~~~ object.cc:413:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 413 | register float d1,d2; | ^~~~~~~~ object.cc:421:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 421 | ((tparadroid *)droids[0])->add_message("buzzed!"); | ^ object.cc:433:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 433 | register int ix,iy; | ^~~~~~~~ ship.cc:144:5: warning: delete called on non-final 'tfloor' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | delobject.cc:433:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 433 | register int ix,iy; | ^~~~~~~~ ete((*ptr)->curr); | ^ ship.cc:171:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 171 | register int droid_ptr = 1; | ^~~~~~~~ ship.cc:196:28: warning: variable 'p' set but not used [-Wunused-but-set-variable] 196 | ttransport_list *p; | ^ object.cc:552:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 552 | register int x; | ^~~~~~~~ object.cc:570:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 570 | register int x,status = 0; | ^~~~~~~~ object.cc:570:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 570 | register int x,status = 0; | ^~~~~~~~ ship.cc:321:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 321 | sprintf(str,"SS %s",shipname); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in tobject.cc:he design of sprin600:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 600 | registterf (i3nt x; | ^~~~~~~~), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ object.cc:612:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 612 | register int x; | ^~~~~~~~ object.cc:624:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 624 | register int x; | ^~~~~~~~ object.cc:633:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 633 | register int x; | ^~~~~~~~ object.cc:649:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 649 | register int a; | ^~~~~~~~ object.cc:675:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 675 | register int ix,iy,x; | ^~~~~~~~ object.cc:675:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 675 | register int ix,iy,x; | ^~~~~~~~ object.cc:675:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 675 | register int ix,iy,x; | ^~~~~~~~ object.cc:704:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 704 | register int spin; | ^~~~~~~~ ship.ccobject.cc::762:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 331 762: | register int a,3nd: = warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 0 331 | register int ; | ^~~~~~~~ x; | ^~~~~~~~ object.cc:762:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 762 | register int a,nd = 0; | ^~~~~~~~ object.cc:768:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 768 | sprintf(str,"droids=%d",nd); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due tship.cc:347:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 347 | o securegister int ox,ority cyo,nscperrtnxs,s pirnthye;r e n| t ^~~~~~~~ in the design of sprintf(3)ship.cc,: 347i:t is highly recomme3:n dwarning: e'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]d that you use snprintf(347 | register int 3) instead.")o | ^x ,oy,sprtx,s/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.hp:r218t:y48;: note: | expanded from macro '__deprecated_msg' ^~~~~~~~ 218 | #define __deprecated_msg(_msgship.cc): 347_:_3a:t warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] t r347i | b u tree_g_i(s(t_e_rd eipnrte coaxt,eody_,_s(p_rmtsxg,)s)p)r t y| ; ^ | ^~~~~~~~ ship.cc:347:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 347 | register int ox,oy,sprtx,sprty; | ^~~~~~~~ ship.cc:365:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 365 | sprintf(str,"StarShip %s (object.cc:782:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] %782s | ) " , n asmper,type); i| n ^t f(str/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here ,"%s d %s", | ^ 278 | _/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h_:d278e:p1r:e cnote: a'sprintf' has been explicitly marked deprecated heret ed_msg("This function is 278p | r_o_vdiedperde cfaor compatibteidl_imty reasg("Thiss ofnusn cotnion isl yp.r o vDiudee to sedc ufroirt yc ocmopnacteirbnisl iitnyh erreeanst in the desiognns oofn lsyp.r intf(3), it is hig hDluye rtecommeno security condceerdn s inherent int htaht you use desie sngn of sprinptrifn(3t)f,( 3i)t iinss theiagdh.l"y) r e| ^ c/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.ho:m218:48: note: expanded from macro '__deprecated_msg' 218 | #mdefine __deprecended thaated_mstg you(_msg) __attrib use snpriute__((__deprecated__(_msg)n)t)f ( 3| ^ ) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ object.cc:797:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 797 | sprintf(str,"%s h %s(%d)", | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead."ship.cc:388:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] ) | 388^ | /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h: r218:48: note: expanded from macro '__deprecated_msg' egister int i218x | , i#yd;e f i| n ^~~~~~~~ e __deprecated_msg(_mship.cc:388:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] sg) 388_ | _ a t t r i bruetgei_s_t(e(r_ _idnetp riexc,aitye;d _ _| ( ^~~~~~~~_ msg))) | ^ ship.cc:414:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] object.cc :414813 | : 3 :r ewarning: g'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]i ste r813 | i n tr esgeilsetcetri oinn t= x-;1 ; | ^~~~~~~~ | ^~~~~~~~ ship.cc:435:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 435 | register int selection = 0xffff; | ^~~~~~~~ object.cc:826:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] ship.cc:455826: | 3 : rwarning: e'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]gister int 455 | rexg;i s t| e ^~~~~~~~ r int ox,oy; | ^~~~~~~~ ship.cc:455:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 455 | register int ox,oy; | ^~~~~~~~ ship.cc:457:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 457 | char *header_mess = "Ship Computer- Droid Records"; | ^ object.cc:840:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 840 | register int x; | ^~~~~~~~ ship.cc:476:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 476 | sprintf(str,"Current: %s (%s)", | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly reobject.ccc:o864m:m11e:n dwarning: e'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]d th a864t | y o u u s e s nrpergiister inntt fn(p3,)n v; | ^~~~~~~~ instead.") | ^ object.cc:864:11: /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.hwarning: :'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 864 | 218:48: register int note: expanded from macro '__deprecated_msg' np,nv ;218 | | # ^~~~~~~~d efine __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:482:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 482 | sprintf(str," Type: %s",droid_stats[console_ptr].type); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns object.ccin:herent895 :i3n: twarning: h'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]e desig 895n of sprintf | (3 )r, eigti sitser int d1,d2; | ^~~~~~~~ highly recommendedobject.cc :t895h:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 895 | registeat you ru sien ts nd1,d2p;r i n| t ^~~~~~~~f (3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:486:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 486 | sprintf(str," Name: %s",droid_stats[consolobject.cc:927:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 927 | e _ptr].n a m e )a;d d _| m ^e ssage(/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __"lost contact"deprecated_msg(); | " ^T his function is provided for compatibility reaobject.ccs:o931n:s23 :o nwarning: lISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]y 931 | . add_message("Forc Due to seecd detach"); | ^ urity concerns inherent in the design of sprintf(3), it is highly recommendeobject.ccd :t936h:a11t: ywarning: o'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]u use s936n | p r i n t f ( 3 ) irnesgtiead.") | ^ ste/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.hr: 218i:n48t: tnote: texpanded from macro '__deprecated_msg'; 218 | #defin e | _ ^~~~~~~~_ deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:490:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 490 | sprintf(str," Entry: %d",droid_stats[console_ptr].entry); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This funcobject.cc:948:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] t 948 | i o n i s p r o add_message("vided for coBmpuarn out!"); | tibil ^ ity reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) insteaobject.cc:978:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] d .978" | ) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h : 218 : a48: note: expanded from macro '__deprecated_msg' d d218_ | m #define e__deprecated_msg(_msg) __attribute__((__deprecated__ssage(("_Tmrsagn))) | ^ sferred!!"); | ^ object.cc:928:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 928 | else | ^ ship.cc:494:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 494 | sprintf(str,"Height: %.2f Metres",droid_stats[console_ptr].height); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent iobject.ccn :t987h:e3 :d ewarning: s'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 987 | reign of sprginitsft(e3), it is hirg hilnyt rxe;c o | ^~~~~~~~ mmended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ object.cc:1008:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 1008 | sprintf(str,"%s captuship.cc:498:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] re d498" | , c aspptruirnetdf_(str,"Wedirgohitd:- >%s.t2aft sk.gt"y,pder)o;id_stats[console_ptr ].w | ^ eigh/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.ht); :278:1 | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:: note: 'sprintf' has been explicitly marked deprecated here 278 :2781 | :_ _note: d'sprintf' has been explicitly marked deprecated heree precated_ms g278( | "__deprecated_msg(This fu"nTchtiiso nf uinsc tpiroonv iidse dp rfoovri dceodm pfaotri bciolmiptayt irbieliatsyo nrse aosnlyon. Due st oo nsleyc.u r iDtuye ctoon cserns inherentecurity in the design concerns inhof sperrientf(3), it is nhti gihnl yt hree cdoemsmiegnnd ed that you use snpof sprintf(3), itrintf(3) inste adi.s highly recom") m | e^n ded that/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h :y218o:u48 :u snote: eexpanded from macro '__deprecated_msg' snprintf (2183 | ) #idnesftienaed ._"_)d e p| r^e cated/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h_:m218s:g48(:_ mnote: sexpanded from macro '__deprecated_msg'g ) __a t218tribute__((__deprecated__(_msg))) | ^ | #define __deprecobject.cca:t1011e:d13_:m swarning: g'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 1011( | _ m s spring) __atttf(str,"Out of range"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.hr:278:1i:b unote: t'sprintf' has been explicitly marked deprecated heree __((__dep r278e | c_a_tdeedp_r_e(c_amtsegd)_)m)s g (| " ^T his function is provided for compatibility reasons only. Due to security ship.cc:502:3:c owarning: n'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]c erns i502n | h e rsepnrti nitnf (tshter ,d"e sBirgani no:f %ss"p,rdirnotifd(_3s)t,a tist[ ciosn shioglhel_yp trre]c.obmrmendeda itnh)a;t y| o ^u use/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h :s278n:p1r:i nnote: t'sprintf' has been explicitly marked deprecated heref (3) i278n | s_t_edaedp.r"e)c a t| e^d _msg(/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h":T218h:i48s: fnote: uexpanded from macro '__deprecated_msg'n ction 218i | s #pdreofviindee d_ _fdeprecated_msg(_msg) __attroibute__((__deprecated__(_msg)r)) | ^ compatibility reasons only. Due to sobject.cce:c1021urity co:n15c:e rwarning: nISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]s in 1021 | add_message(herent in th"Empty Space"); | e design of sprintf( ^ 3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ object.cc:1027:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] ship.cc1027: | 509 : 7r:e gwarning: i'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]s te r509 | i n t s =s p0r;i n t| f ^~~~~~~~( str," Arm: None"); | ^ object.cc:1029/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here :27826 | :_ _warning: dISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]e prec a1029t | e d _cmhsagr( "*Tno_weapon_mess h=i s"N of uwnecatpioonn! "i;s p| r ^o vided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218object.cc:48: note: expanded from macro '__deprecated_msg' 218 | #:d1076e:f11i:n ewarning: add explicit braces to avoid dangling else [-Wdangling-else] 1076 | __depr elsecaeted_msg(_msg) __attribut e| ^_ _((__deprecated__(_msg))) | ^ ship.cc:512:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 512 | sprintf(str," object.cc :A1109r:m27:: Lwarning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ina r1109i | t e L a s e r " ) ; | ^a dd_m/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.he:s278s:a1g:e (note: "'sprintf' has been explicitly marked deprecated hereT ransfer on 278 | __depr"e)c;a t e| d ^_ msg("This function is provided for compobject.cc:1114:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] atibility reasons only. Due1114 | t add_messago security conce("Transfere ronfs inherent in the f"); d| esign of sprin ^ tf(3), it is highly recommended that you use snprintf(3object.cc:1120:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ) instead.") | ^ 1120 | /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h : 218 : 48 : note: expanded from macro '__deprecated_msg' add_ m218e | s s#adgeef(i"nYou're commited!"e); _| _ ^d eprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ object.cc:1127:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1127ship.cc | : 515 : 7 : warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] add_ m515e | ssage("Can't trans."); | ^ sprintf(str," Arm: Crocoite-Benzolobject.cc:1132:13: Lawarning: ser'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]" ) 1132 | ; register int x,rpx,rpy; | ^~~~~~~~ | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __object.ccd:1132:13: warning: epre'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]c at 1132 | reegister intd_msg("This funx,rpx,rpyc; t i| ^~~~~~~~ on is provided forobject.cc :1132:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] compatibility rea son1132 | registser oint x,rpx,rpy; | ^~~~~~~~n ly. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3object.cc) :i1139n:s17t:e awarning: d'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]. ") | ^ 1139 | /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h : 218 : 48 : note: expanded from macro '__deprecated_msg' r218e | g i#sdteefri nien t_ _idxe,pirye;c a t| ^~~~~~~~ ed_msg(_msg) __attrobject.cci:b1139u:t17e:_ _warning: ('register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register](__deprecate d__ (1139_ | m s g ) ) ) | r ^e gister int ix,iy; | ^~~~~~~~ ship.cc:518:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 518 | sprintf(str," Arm: Uvarovite Laser"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __dobject.cc:1155:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] ep r1155ecated_msg("This functi | on is provide d for co m p a t i b i lrietgy reasons only. Due to seicusrtietr int ix,iy; y| ^~~~~~~~ concerns inherenobject.cc:t in the design of sprintf(3), 1155it is highl:y15 :r ewarning: c'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]omme nded that you use snprin 1155 | tf(3 ) i n s register intead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.ht ix,iy; :218:48: note: expanded from macro '__deprecated_msg' 218 | | ^~~~~~~~ #define __deprecated_msg(_msg) __attribute__((__depreobject.ccca:t1162ed__(_msg))) | ^ :17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1162 | register int cf1,cf2; ship.cc | ^~~~~~~~: 521:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 521 | sprintf(str,object.cc": 1162 :17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1162 | A rm: Quart register inzt cf1,cf2; | ^~~~~~~~ 'Tiger-Eye' Laser"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This object.cc:1170:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] function is prov 1170 | i sprintdf(sterd, "fBooost=%d(r% dc+o)m"p,asttiabts.ishileiltdyi nreasons g,cf1); | ^ o/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.hn:l278y:.1 : Dnote: 'sprintf' has been explicitly marked deprecated here 278 | __deprecautee to sedc_umrsigt(y" Tchoinsc funercntsi oinn hiesr epnrto viind etd hfor compatibe designil itoy reasons onfl ysprin.tf(3), it i Due to security sconc erns inherent in hthe desiiggnh loyf rsepcroimnmtefn(d3ed that you ), it is use snprintf(3) instead.") | ^ h/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' ig 218 | #defihnley _r_edceopmrmeecnated_msg(_msg) __atdterdi butteh_a_t( (y_ou use snpr_deintf(3) instead.") | ^p /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'recated__ (_msg)) 218 | #define __deprecated_msg(_msg) __attribute__((__d)ep r e| c ^a ted__(_msg))) | ^ ship.cc:527:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 527 | object.cc :s1181p:r15i:n twarning: f'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]( str ,1181" | S h i e l d : % d", | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h : 278 : 1r:e gnote: i'sprintf' has been explicitly marked deprecated heres ter int ix 278 | ,iy; | ^~~~~~~~ _object.cc:1181:15_:d warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]e pre 1181 | c a t e d _ m srge(g"iTshtiesr fiunntc tion is provided for compatibiliixt,yi yreasons only. Due to se;cu r i| t ^~~~~~~~y concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:532:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 532 | sprintf(str," Speed: %d",droid_stats[console_ptr].speed); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:538:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 538 | sprintf(str,"(Very slow)"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibiobject.cc:1210:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]l 1210 | i t ys prreianstofn(ss only. Dture, "tSo security concerns inhehrieenltd =i%d",stats.shieldnin the deg);sign of sp | ^r intf(3/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h):,278 :i1t: inote: s'sprintf' has been explicitly marked deprecated here h 278 | __deprecated_msg("This functiion is pghly recommreonviddeed for dc otmhpaatibility reasons ontly. y oDuu eu sto securei tsyn pcroinnctefr(n3s) iinnhserent in the detead.") sign| ^o f sp/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48:r inote: nexpanded from macro '__deprecated_msg't f(3) ,218 | i t# define __deprecated_imssg (h_imgshgl)y _r_eactotmrmiebnded thuat yote__((_u_ duesper escnaptreidn_t_f((_3m)s gi)n)s)t e a| d ^.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | ship.cc#:d541e:f7i:n ewarning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]_ _de p541r | e c a t e d _smpsrgi(n_msg) _t_fa(str,"(slow)"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: ttribnote: u'sprintf' has been explicitly marked deprecated herete__((__deprecated__(_msg))) | ^ 278 | __deprecated_msg("This function is provided for compatibility reasons onobject.ccly:. 1217 :D3u:e to secu rwarning: i'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]t y co 1217 | register intncerns inherent x; | ^~~~~~~~ in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:544:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 544 | sprintf(str,"(fair)"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ object.cc:1246ship.cc::3547:: 7warning: :'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 547 | s 1246 | repgriisnttef(str,"(arv eirnatg er) = 0;"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h| : ^~~~~~~~278 :1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:550:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 550 | sprintf(str,"(fast)"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provideobject.cc:1314:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1314 | d forregist comper int atibilitiyx ,rieya;sons only. D| u ^~~~~~~~e to security concerns inherobject.cce:n1314t: 5i:n warning: t'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]h e d e1314s | i g n orfeg issptreirn tifn(t3), it is ihxi,gihyl;y r| e ^~~~~~~~c ommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:553:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 553 | sprintf(str,"(Extremely fast)"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:560:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 560 | sprintf(str,"Attack: N/A"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:562:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 562 | sprintf(str,"Attack: %d",droid_stats[console_ptr].attack_rate); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ object.cc:1457:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1457 | register int a,i; | ^~~~~~~~ object.cc:1457:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1457 | register int a,i; | ^~~~~~~~ object.cc:1473:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1473 | register int sx,sy; | ^~~~~~~~ object.cc:1473:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1473 | register int sx,sy; | ^~~~~~~~ ship.cc:579:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 579 | register int s; | ^~~~~~~~ ship.cc:599:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 599 | register int ch; | ^~~~~~~~ object.cc:1519:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1519 | else | ^ ship.cc:675:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 675 | register int x,nd = 0; | ^~~~~~~~ ship.cc:675:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 675 | register int x,nd = 0; | ^~~~~~~~ object.cc:1613:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1613 | else | ^ ship.cc:714:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 714 | register int x,val; | ^~~~~~~~ ship.cc:714:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 714 | register int x,val; | ^~~~~~~~ ship.cc:730:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 730 | register int i; | ^~~~~~~~ ship.cc:740:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 740 | register int x; | ^~~~~~~~ ship.cc:749:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 749 | sprintf(str," Ship: %s",name); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This funcobject.cct:i1685o:n11 :i swarning: add explicit braces to avoid dangling else [-Wdangling-else]p r 1685 | else o| v ^i ded for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:752:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 752 | sprintf(str,"Floor: %s",curr_location->floor->name); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:785:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 785 | register int x; | ^~~~~~~~ 54 warnings generated. g++ -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/pkg/include -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lXpm -lX11 -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c nighthawk.cc -o nighthawk.o clang++: warning: -Wl,-rpath,/opt/pkg/lib: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lXpm: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lX11: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-L/var/tmp/work/games/nighthawk/work/.buildlink/lib' [-Wunused-command-line-argument] 82 warnings generated. In file included from nighthawk.cc:36: In file included from ./tship.h:5: In file included from ./tparadroid.h:4: In file included from ./tdroid.h:5: ./tlaser.h:15:16: warning: 'tlaser::init' hides overloaded virtual function [-Woverloaded-virtual] 15 | virtual void init( | ^ ./tentity.h:19:16: note: hidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 7) 19 | virtual void init( | ^ In file included from nighthawk.cc:36: In file included from ./tship.h:5: In file included from ./tparadroid.h:4: ./tdroid.h:16:8: warning: 'tdroid::init' hides overloaded virtual function [-Woverloaded-virtual] 16 | void init(tfloor *f,tentity **dp,float px,float py); | ^ ./tentity.h:19:16: note: hidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 4) 19 | virtual void init( | ^ nighthawk.cc:43:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | "Haldeck", | ^ nighthawk.cc:44:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | "Seafarer", | ^ nighthawk.cc:45:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | "Anoyle", | ^ nighthawk.cc:46:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | "Esperence", | ^ nighthawk.cc:47:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | "Ophukus", | ^ nighthawk.cc:48:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | "Mearkat", | ^ nighthawk.cc:49:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | "Friendship", | ^ nighthawk.cc:50:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | "Discovery", | ^ nighthawk.cc:51:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | "Zaxon", | ^ nighthawk.cc:52:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | "Tobruk", | ^ nighthawk.cc:68:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 68 | register int x; | ^~~~~~~~ nighthawk.cc:97:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 97 | fp = lopen(SCORES_FILE,"r+b"); | ^ ./../options.h:12:21: note: expanded from macro 'SCORES_FILE' 12 | #define SCORES_FILE VARBASE"/games/nighthawk.scores" | ^ :7:17: note: expanded from macro 'VARBASE' 7 | #define VARBASE "/var" | ^ nighthawk.cc:97:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 97 | fp = lopen(SCORES_FILE,"r+b"); | ^ nighthawk.cc:106:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 106 | fp = lopen(SCORES_FILE,"w+b"); | ^ ./../options.h:12:21: note: expanded from macro 'SCORES_FILE' 12 | #define SCORES_FILE VARBASE"/games/nighthawk.scores" | ^ :7:17: note: expanded from macro 'VARBASE' 7 | #define VARBASE "/var" | ^ nighthawk.cc:106:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 106 | fp = lopen(SCORES_FILE,"w+b"); | ^ nighthawk.cc:131:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 131 | register int x; | ^~~~~~~~ nighthawk.cc:136:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 136 | register int y; | ^~~~~~~~ nighthawk.cc:151:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 151 | register int a; | ^~~~~~~~ nighthawk.cc:215:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 215 | register int c; | ^~~~~~~~ nighthawk.cc:225:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 225 | register int sl; | ^~~~~~~~ nighthawk.cc:327:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 327 | "5(C) 1997,98, Jason Nunn (JsNO)\n" | ^ nighthawk.cc:343:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 343 | "0Space to play, Q to Quit.\n" | ^ nighthawk.cc:387:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 387 | register int x; | ^~~~~~~~ nighthawk.cc:393:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 393 | sprintf(str,"%-8s %-15s %-11s Score","Name","Ship","Date"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ nighthawk.cc:397:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 397 | register int yp; | ^~~~~~~~ nighthawk.cc:401:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 401 | sprintf(str,"%-8s %-15s %-11s %8d", | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ In file included from nighthawk.cc:413: ./scroll.inc:2:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2 | " -= Paradroid =- " | ^ nighthawk.cc:438:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 438 | register int a,b,c,d; | ^~~~~~~~ nighthawk.cc:438:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 438 | register int a,b,c,d; | ^~~~~~~~ nighthawk.cc:438:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 438 | register int a,b,c,d; | ^~~~~~~~ nighthawk.cc:438:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 438 | register int a,b,c,d; | ^~~~~~~~ nighthawk.cc:448:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 448 | register int p; | ^~~~~~~~ nighthawk.cc:471:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 471 | "0GPL\n" | ^ nighthawk.cc:487:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 487 | "0=Contacts=\n" | ^ nighthawk.cc:505:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 505 | "0=Contacts=\n" | ^ nighthawk.cc:521:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 521 | "4Thanks to the many people who have\n" | ^ nighthawk.cc:581:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 581 | register int intro_f = 0,x; | ^~~~~~~~ nighthawk.cc:581:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 581 | register int intro_f = 0,x; | ^~~~~~~~ nighthawk.cc:601:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 601 | register int ch; | ^~~~~~~~ nighthawk.cc:640:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 640 | register int a,siren_r = 0,siren_c = 0; | ^~~~~~~~ nighthawk.cc:640:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 640 | register int a,siren_r = 0,siren_c = 0; | ^~~~~~~~ nighthawk.cc:640:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 640 | register int a,siren_r = 0,siren_c = 0; | ^~~~~~~~ nighthawk.cc:653:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 653 | else | ^ nighthawk.cc:660:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 660 | sprintf(str,"Starship %s",ship->name); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ nighthawk.cc:678:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 678 | register int sl; | ^~~~~~~~ nighthawk.cc:680:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 680 | sprintf(str,"Your Final Score: %d",score); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ nighthawk.cc:689:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 689 | register int a; | ^~~~~~~~ nighthawk.cc:695:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^~~~~~~~ nighthawk.cc:695:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^~~~~~~~ nighthawk.cc:695:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^~~~~~~~ nighthawk.cc:695:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^~~~~~~~ nighthawk.cc:695:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^~~~~~~~ nighthawk.cc:695:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^~~~~~~~ nighthawk.cc:736:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 736 | register int a; | ^~~~~~~~ nighthawk.cc:738:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 738 | "1\n" | ^ nighthawk.cc:788:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 788 | register int dead = 0; | ^~~~~~~~ nighthawk.cc:840:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 840 | register int x,sound = 0; | ^~~~~~~~ nighthawk.cc:840:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 840 | register int x,sound = 0; | ^~~~~~~~ 60 warnings generated. g++ -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/pkg/include -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lXpm -lX11 misc.o floor.o object.o ship.o nighthawk.o -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/pkg/include -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lXpm -lX11 -o nighthawk ld: warning: duplicate -rpath '/opt/pkg/lib' ignored ld: warning: ignoring duplicate libraries: '-lX11', '-lXpm' strip nighthawk gmake[1]: Leaving directory '/var/tmp/work/games/nighthawk/work/nighthawk/src' cd /var/tmp/work/games/nighthawk/work/nighthawk/src_sound && /usr/bin/env OSTYPE=Darwin USETOOLS=no GOTMPDIR=/var/tmp/work MACOSX_DEPLOYMENT_TARGET=15.5 CC=clang CFLAGS=-pipe\ -Os\ -I/opt/pkg/include CPPFLAGS=-DPREFIX=\"\\\"/opt/pkg\\\"\"\ -DDEVOSSAUDIO=\"\\\"\\\"\"\ -DVARBASE=\"\\\"/var\\\"\"\ -I/opt/pkg/include CXX=clang++ CXXFLAGS=-pipe\ -Os\ -I/opt/pkg/include COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/pkg/lib LINKER_RPATH_FLAG=-L PATH=/var/tmp/work/games/nighthawk/work/.cwrapper/bin:/var/tmp/work/games/nighthawk/work/.buildlink/bin:/var/tmp/work/games/nighthawk/work/.tools/bin:/opt/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/opt/pkg/etc HOME=/var/tmp/work/games/nighthawk/work/.home CWRAPPERS_CONFIG_DIR=/var/tmp/work/games/nighthawk/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/var/tmp/work/games/nighthawk/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/var/tmp/work/games/nighthawk/work/.tools/bin/itstool GDBUS_CODEGEN=/var/tmp/work/games/nighthawk/work/.tools/bin/gdbus-codegen PKG_CONFIG=/var/tmp/work/games/nighthawk/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/var/tmp/work/games/nighthawk/work/.buildlink/lib/pkgconfig:/var/tmp/work/games/nighthawk/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/var/tmp/work/games/nighthawk/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/var/tmp/work/games/nighthawk/work/.cwrapper/config /opt/pkg/bin/gmake nighthawk_sound clang -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DNetBSD -c dsp_mixxer.c -o dsp_mixxer.o dsp_mixxer.c:94:16: error: use of undeclared identifier 'SNDCTL_DSP_RESET' 94 | ioctl(dsp_fp,SNDCTL_DSP_RESET, 0); | ^ dsp_mixxer.c:190:18: error: use of undeclared identifier 'SNDCTL_DSP_RESET' 190 | ioctl(dsp_fp,SNDCTL_DSP_RESET, 0); | ^ dsp_mixxer.c:261:20: error: use of undeclared identifier 'SNDCTL_DSP_SAMPLESIZE' 261 | ioctl(dsp_fp,SNDCTL_DSP_SAMPLESIZE,&(funk_info.precision)); | ^ dsp_mixxer.c:262:20: error: use of undeclared identifier 'SNDCTL_DSP_STEREO' 262 | ioctl(dsp_fp,SNDCTL_DSP_STEREO,&(funk_info.stereo)); | ^ dsp_mixxer.c:263:20: error: use of undeclared identifier 'SNDCTL_DSP_SPEED' 263 | ioctl(dsp_fp,SNDCTL_DSP_SPEED,&(funk_info.sampling_rate)); | ^ dsp_mixxer.c:264:20: error: use of undeclared identifier 'SNDCTL_DSP_SETFRAGMENT' 264 | ioctl(dsp_fp,SNDCTL_DSP_SETFRAGMENT,&frag); | ^ 6 errors generated. gmake: *** [Makefile:66: dsp_mixxer.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/nighthawk *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/nighthawk