=> "/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++: warning: -lX11: 'linker' input unused [-Wunused-command-line-argument] 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] 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; | ^~~~~~~~ object.cc:185:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 185 | register int x,status = 0; | ^~~~~~~~ object.cc:185:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 185 | register int x,status = 0; | ^~~~~~~~ object.cc:223:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 223 | register int x; | ^~~~~~~~ object.cc:342:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 342 | register int x; | ^~~~~~~~ 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; | ^~~~~~~~ object.cc:433:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 433 | register int ix,iy; | ^~~~~~~~ In file included from ship.cc:29: In file included from ./tship.hobject.cc::5552: :In file included from 3./tparadroid.h:: 4warning: : In file included from ./tdroid.h:5: ./tlaser.h:15:16: warning: 'tlaser::init' hides overloaded virtual function [-Woverloaded-virtual] 15 | virtual void init( | ^ 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 552 | ./tentity.h :r19e:g16i:s tnote: ehidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 7)r i n19t | x ;v | ^~~~~~~~ irtual void init( | ^ 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; | ^~~~~~~~ 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 object.cc*:600f,ten:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 600 | tity **dp,float px,float py); | ^ ./tentity.h:19:16: note: register int x; hidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 4)| ^~~~~~~~ 19 | virtual void init( | ^ 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; | ^~~~~~~~ ship.cc:36:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 36 | register int 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:675:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 675 | register int ix,iy,x; | ^~~~~~~~ ship.cc:50:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 50 | register int status = 0; | ^~~~~~~~ object.cc:704:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 704 | register int spin; | ^~~~~~~~ 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:762:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 762 | register int a,nd = 0; | ^~~~~~~~ ship.ccobject.cc::144768::53:: warning: 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]delete called on non-final 'tfloor' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 768 | 144 | s p r idnetlfe(tstr,"droids=e%(d("*,pntdr));- > c| u ^rr); | ^ /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) __attrship.cc:i171b:u5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] te 171 | _register int droid_ptr _((__depreca=ted _1_;( _ m| s ^~~~~~~~g ))) | ^ 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] 782 | ship.cc:196:28: warning: variable 'p' set but not used [-Wunused-but-set-variable] 196 | s p r i n t f ( ttransport_str,"%s d %s", | li ^s t *p;/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: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.") | ^ /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: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,"object.ccS:S813 :%3s:" ,warning: s'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]h ipna m813e | ) ; r e| g ^i ster int x; | ^~~~~~~~ /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 yoobject.ccu: 826u:se snprint3f(3:) warning: i'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]n stead.") | ^ 826 | register int x; | ^~~~~~~~ /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:840:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 840 | register int x; | ^~~~~~~~ object.cc:864:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 864 | register int np,nv; | ^~~~~~~~ object.cc:864:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 864 | register int np,nv; | ^~~~~~~~ object.cc:895:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 895 | register int d1,d2; | ^~~~~~~~ object.cc:895:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 895 | register int d1,d2; | ^~~~~~~~ object.cc:927:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 927 | add_message("lost contact"); | ^ object.cc:931:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 931 | add_message("Forced detach"); | ^ ship.cc:331:3object.cc:936:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 936 | r: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 331 | register int x;egi s t| e ^~~~~~~~r int tt; | ^~~~~~~~ ship.cc:347:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 347 | register intobject.cc:948:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 948 | add_message("Burn ox,oy,sprtx,sprty; | ^~~~~~~~ out!"); | ^ 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:347:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 347 | register int ox,oy,sprtx,sprty; | ^~~~~~~~ object.cc:978ship.cc:347:3: warning: :'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]27 : warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 347 | regist 978 | er int ox,oy,sprtx,sp add_messagre(t"Transferred!!"); | ^ y; | ^~~~~~~~ object.cc:928:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 928 | else | ^ 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 (%s)",name,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 coobject.cc:987:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 987 | register int x; | ^~~~~~~~ ncerns 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) __attributobject.cce__((__deprecated__(_msg))) :| 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 captured",captured_droid->stats.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 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:388:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] object.cc:1011: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] 1011388 | | regist sprintefr int ix,iy; | ^~~~~~~~ (str,"Out of range"); | ^ ship.cc:388:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h 388: | 278 : 1 : note: 'sprintf' has been explicitly marked deprecated herer egister i n278t | _i_xd,eipyr;e c a| t ^~~~~~~~e d_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:1021:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1021 | add_message("ship.cc:414:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 414Empty Sp | a register int selection c= e"); -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:1027:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1027 | register int s = 0; | ^~~~~~~~ object.cc:1029:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1029 | char *no_weapon_mess = "Noship.cc :w455e:a3p:o nwarning: !'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]" ; 455 | | ^ register 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:1076:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1076 | else | ^ 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,"Currobject.cce:1109:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1109 | nt: %s (%s)", | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h : add_mes278:1: note: 'sprintf' has been explicitly marked deprecated heres age("Transfer on"); | ^ 278 | __deprecated_msg("object.ccTh:i1114s function is provided for compat:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1114 | i addbility reason_s monly. Due eto security concerns inssage("Trhaenrsefnetr ionf ft"h)e; d e| s ^i gn of sprintf(3), it is highlobject.ccy: 1120r:e25c: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1120 | aommended that you use snprindd_message("tYofu('3r)e icnosmtmeiatde.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 | #define __deprecated_msobject.cc:1127:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] g(_msg) __attribute__((__deprecated__(_msg))) | ^ 1127 | add_message("Can't transship.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 | spr."); | ^ intf(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:object.cc278::1: note: 'sprintf' has been explicitly marked deprecated here 1132 278: | 13_:_ dwarning: eprecated_msg("This 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]func tion is p r1132o | v i d e d register int x,rpx,rp for compaytibility reasons only. ; | ^~~~~~~~ Due to security coobject.cc:1132:13ncerns inheren: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1132 | t in the design of sprintf( 3 ) ,r eigti sitse rh iignhtl yx ,rpx,rpy; | ^~~~~~~~ recommended thatobject.cc :y1132o:u13 :u swarning: e'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] snpr i1132n | t f ( 3 ) i n s t e a dr.e"g)i s t| e^r /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: iexpanded from macro '__deprecated_msg'n t x,rp x218, | r #define __deprecated_msg(_msgp) __attribute__(y; | ^~~~~~~~ (__deprecated__(_msg))) | ^ object.cc:1139:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1139 | regiship.ccs:t486e:r3 :i nwarning: t'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] ix,iy; 486 | | ^~~~~~~~ sprintf(str," Name: %s",drobject.cc:1139:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]o id _1139s | t a t s [ c o n s o lree_gpitsr].name); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278t:1er int ix,iy; | : note: 'sprintf' has been explicitly marked deprecated here ^~~~~~~~ 278 | __deprecated_ms g("This function is provided for compatibility reasons only. Due to security concerns inherentobject.cc:1155:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1155 | in the design of sprintf(3), it is hi gh register int ix,iy; l| ^~~~~~~~ y 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' object.cc:1155:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1155218 | | register int ix,iy; | ^~~~~~~~ #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ object.cc:1162:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1162 | register int cf1,cf2; | ^~~~~~~~ object.cc:1162:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1162 | registership.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," Enitry:n t% dc"f,1d,rcofi2d;_ | ^~~~~~~~ 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 hereobject.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] 278 | __ d1170e | p r e sprintf(str,"Boostcated_m=s%gd(("%Tdh+i)s" ,fsutnacttsi.osnh iiesl dpirovided for compatibilng,cf1);ity reasons only. Due | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278: to security 1: note: 'sprintf' has been explicitly marked deprecated here concer n278s inhere | __deprecated_msg("Thins ftu nicn tion is the design ofp sprintf(3), itrovided for compatib is highly recoility reasons only. mm eDnudee dt ot hsaetc uyroiut y concerns inherentus e snprintf(3) instead.") | ^ in/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' th e218 | d e#sdiegfni noef _s_pdreipnrecated_tf(3), imts gi(s_ mhsigg)h l_y_ artetcroimbmuetned_e_d( (that you use snprintf(3) instea__deprecatd.") | ^ ed__/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' (_msg))) | ^ 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ 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",droiobject.cc:1181:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]d_stats[console_ptr].heigh t); | ^ 1181 | /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 comp atibility reasons only. Due t o s e rcurity concerns inherent in the design egistoer int ix,iy;f sprintf(3) ,| ^~~~~~~~i t is highly recommended that you use snprintf(3) inobject.ccs:t1181e:ad.") | ^ /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 | #d15: warning: efine __deprecated_ms'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] g(_msg) _1181_ | a t t r i b u t e _ _ ( ( _ _rdeegprecated__(_msg))) | ^ ister int ix,iy; | ^~~~~~~~ ship.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] 498 | sprintf(str,"Weight: %.2f kg",droid_stats[console_ptr].weight); | ^ /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:502: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] 502 | sprintf(str," Brain: %s",droid_stats[console_ptr].brain); | ^ /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 sprinobject.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] 1210 | spritntf(sft(r3), it i,"Shield=%d",statss highly.shielding recommended that you use snprintf()3); i n| s ^t ead.") /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/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' 278 | __deprec a218t | e d#_dmesfgi(n"eT h_i_sd efpurnecctaitoend_ is provided for cmsg(_msg) __attribute__((__deprecated__(_msg)))o | ^ mpatibility reasons only. Due to security conship.cc:509: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] cerns inher 509 | sprinetnft i(str," Arm: None"); n the design of sprintf(3), it is hig | ^ hly reco/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.hm:m278e:n1d:e dnote: 'sprintf' has been explicitly marked deprecated heret hat you us e278 | s_n_pdreipnrtefc(a3t)e di_nmsstge(a"d.") | ^ This/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h :f218u:n48c:t inote: oexpanded from macro '__deprecated_msg'n is p218r | o v#iddeefdi nfeo r_ _cdoemppraetciabtied_msg(_msg) _lity reasons_ oattributen_l_y. Due to secur((__depreciattye dc_o_n(c_emrsns inherent in the deg))) | ^s ign 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__(_object.cc:1217:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] m 1217 | register int x; | ^~~~~~~~ sg))) | ^ 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," Arm: Linarite 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 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: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] 515 | sprintf(str," Arm: Crocoite-Benzol 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 function is provided for compatibility reasons only. Due to security concerobject.cc:1246:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] n 1246 | s inherent in the dreesgiigsn of tsperri nitnft( 3r) ,= i0t; i s| ^~~~~~~~ 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: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 | __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: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," Arm: Quartz '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 object.cc:1314:5: 278warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1314 | | r_e_gdiesptreerc aitnetd _imxs,gi(y";T h i| s ^~~~~~~~ function is provided for compatibility reobject.cca:s1314o:n5s: owarning: n'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]l y. 1314D | u e t or esgeicsutreirty concerns inherent in the int ix,iy; | ^~~~~~~~ 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: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 | sprintf(str,"Shield: %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.") | ^ /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 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:541object.cc::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] 541 | sprintf(str,"(slow)1457"):; | ^ 3/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h::278:1: warning: note: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]'sprintf' has been explicitly marked deprecated here 1457 | 278 | __depregister int a,rie;c ated_msg("This funct io| ^~~~~~~~ n is provideobject.ccd: for compatibility reasons only. Due to secur1457:3:ity concern s warning: i'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1457 | register innt hae,rie;n t | i ^~~~~~~~n 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 | __object.ccdeprecated_m:s1473g:(5"Thi: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1473s | regis tfeurn citnion is provided for compatibilitt sx,sy; | ^~~~~~~~ y reasons only. Due to security concerns inherent in object.ccth:e1473 design o:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]f sprintf( 1473 | 3 ) , irte giiss theirg hilnyt rsexc,osmym;ended that you use snpri | ntf(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:547: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] 547 | sprintf(str,"(average)"); | ^ /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:1519:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1519 | else | ^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 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: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' object.cc:1613 :2185 | : #warning: add explicit braces to avoid dangling else [-Wdangling-else] 1613 | define __deprecated _m sg(_melse | ^ sg) __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 hobject.ccig:h1685l:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] y 1685r | e c o m m e n d e else | ^ d 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: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; | ^~~~~~~~ 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; | ^~~~~~~~ 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 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: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