=> "/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; | ^~~~~~~~ In file included from ship.cc:29: 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( | ^ object.cc:369:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 369 | register int 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 *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 object.cci:n413i:t9(: 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; | ^~~~~~~~ ship.cc:36:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 36 | register int x; | ^~~~~~~~ object.cc:552:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 552 | register int 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: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; | ^~~~~~~~ object.cc:600:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 600 | register int x; | ^~~~~~~~ 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:144:5: warning: delete called on non-final 'tfloor' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] 144 | delete((*ptr)->curr); | ^ ship.cc:171:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 171 | register int droid_ptr = 1; | ^~~~~~~~ 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:196:28: warning: variable 'p' set but not used [-Wunused-but-set-variable] 196 | ttransport_list *p; | ^ 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; | ^~~~~~~~ object.cc:768:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 768 | sprintf(str,"droids=%d",nd); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due 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' 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 | s pr218 | #define __deprecated_msg(intf(str,"SS %s",shi_pnmsg) __attaribute__(m(__deprecated__(_msg))e); | ^ ) | ^ /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: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 | sprintf(str,"%s d %s", | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly 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))) | ^ object.cc:813:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 813 | register int x; | ^~~~~~~~ object.cc:826:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 826 | register int x; | ^~~~~~~~ object.cc:840:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 840 | register int x; | ^~~~~~~~ ship.cc:331:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 331 | 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 | ship.cc:347:3: r warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] egist e347r | i nrte gnips,tnevr; i n| t ^~~~~~~~ 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; | ^~~~~~~~ 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: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 | ship.cc:365:3: regis twarning: '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 | seprrintf int d1,d(str,"Star2; | ^~~~~~~~ Ship %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 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__((__deprecobject.cc:a927:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 927 | ted__(_msg))) | ^ 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"); | ^ object.cc:936:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 936 | register int tt; | ^~~~~~~~ object.ccship.cc:948:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 948 | :388:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 388 | a dd_ m e srseaggies(t"Burn eoru ti!n"t) ;i x ,| i ^y ; | ^~~~~~~~ ship.cc:388:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 388 | register int ix,iy; | ^~~~~~~~ object.cc:978:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 978 | add_message("Transferred!!"); | ^ object.cc:928:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 928 | else | ^ ship.cc:414:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 414 | register int selection = -1; | ^~~~~~~~ ship.cc:435:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 435 | object.cc:987 :r3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] eg 987 | regisitesrt eint x; | ^~~~~~~~ r int selection = 0xffff; | ^~~~~~~~ object.cc:1008:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] ship.cc :455:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 4551008 | | register int ox,oy; | ^~~~~~~~ sprintf(str,"%s captureship.ccd",captured_droid->stats.type);: 455| : ^3 /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] :455278 | : 1 :r enote: g'sprintf' has been explicitly marked deprecated here 278 | __dister int eporxe,coay; | ^~~~~~~~ ted_msg("This function is provideship.ccd: for 457c:ompatibility r23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 457 | char *headeerasons only. Du_mess = "Ship eCom ptuot esre- Droid Records"; | ^c urity 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: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,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] 1011 | "Curr e n t : % s ( % ssprintf(str,"Out of ran)", | ^ ge"/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1::278:1: note: note: 'sprintf' has been explicitly marked deprecated here'sprintf' has been explicitly marked deprecated here 278 | _ _depreca t278e | d___msg("This function ids provided for compatibilityepre cated_rmsega(s"oThnis fusn cotnily. Due to security coonnc eirns inhes provided for compatibility rreasons only. Duee tnt in the design of sprintof(3) ,s eictu riity cons hicgehrlnys rinherent in theec odmemseingdne do ft hsaptr iynotuf (u3s)e, sintp riisn thfi(g3h)l yi nrsetceoamdm.e"nded t) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.hhat :218:48y:o unote: expanded from macro '__deprecated_msg'u se sn p218r | i n#tdfe(f3ine __de) instperaedc.a"t)e d _| m^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.hs:g218(:_48m:s note: expanded from macro '__deprecated_msg' g) __attribute__((__deprecated__(_msg))) | ^ 218 | #define __deprecated_msg(_msg) __attribute__((__deprecatobject.cc:1021:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] e 1021d | __(_msg) ) )a | ^ dd_message("Empty Space"); | ^ ship.cc:482:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 482 | sprintf(str," Type: %s",droid_stats[console_ptr].type); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for coobject.ccm:p1027a:t3i:b iwarning: l'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]i ty 1027 | register int reasons only. Due t s = 0; | ^~~~~~~~ o security concerns inherent in the design of sprinobject.cc:1029t:26:f(3), it is hi warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ghly recomme n1029d | e d cthar *no_weapon_mess = "No weapon!"; | ^ hat 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:1076:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1076 | else | ^ ship.cc:486:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 486 | sprintf(str," Name: %s",droid_stats[console_ptr].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 compatibilityobject.cc :r1109e:a27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1109 | add_messsons only. Due to asege("Transfer onc"); | ^ urity concerns inherent in the deobject.ccsign of sprintf(3), it is high:ly r1114e:c27o:m mwarning: eISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]n 1114 | d e d t h add_meast yousage("Transfer off"); | ^ object.cc:1120:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1120 | add_use snprintmf(3) iensstead.") sage("You're commited!"); | ^ /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 __depreobject.cc:1127:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] c1127 | a t e d _ m s g ( _ m sagd) d___maetstsage("Cribute__((__daeprnec'atte dt__(_msg))) | ^ rans."); | ^ object.cc:1132:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1132 | register int x,rpx,rship.cc:490:3: warning: py; | ^~~~~~~~ object.cc:1132:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] '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 | s1132prin | t f(st r ," Ent rery: %d",droid_gister int sxtat,sr[pcxo,nrpy; | ^~~~~~~~ sole_ptr].entry); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here object.cc :1132:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 278 1132 | regis | ter int x,rpx,rpy;__deprecated_msg( "Th is functi| o ^~~~~~~~ n is provided for compatibobject.cci:l1139i:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1139 | t y reasons o n l y . D u e tregistero isnetc uirxi,tiy; y| ^~~~~~~~c oncerns inherent in thobject.cce: 1139d:e17s:i gwarning: n'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] o f1139 | s p r i n t f ( 3), it is highly recommende redg that you use snprintf(3ister int i)x,iy; | ^~~~~~~~ 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:1155:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1155 | 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 | r e gsipsrtienrt fi(nstt ix,iy; | ^~~~~~~~ r,"Height: %object.cc.2f Metres",droid_stats:1155:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1155[ | c o register int ix,iy; | ^~~~~~~~ nsole_ptr].height); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecateobject.cc:1162:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1162 | regidster_ misngt( "cf1,cf2; | ^~~~~~~~ This function iobject.cc:1162:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1162 | s p r o register vided for compaint tcifb1i,lcift2y; | ^~~~~~~~ reasons only. Due to security concerns inherent in the design of sprintf(3)object.cc:1170:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 1170 | , it is hig h l y recommended that you us e s n p r i n t f (s3printf(str,"Boo)st=% insd(%d+)",stats.shielding,tead.") | ^ cf1)/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 | #defi| ne __depre ^ cated_/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 msg (278_ | m_s_gd)e p_r_eactattribute__((__deed_msg(p"This function is provirdeecated__(_msg))) d f| o ^r compatibility reasons only. Due to security concerns inherent in the ship.ccd: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 | e ssiprintf(strg,n of spri"ntWfe(i3), it is higght: %.2f kg",dhroid_ly recommended thstats[consaolt you use snprintf(3) instead.")e_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 /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 | 278#define __d | __deprecated_msg(eprecated_msg(_msg) __att"ribThis functionu is tper_o_v(i(d_e_dd efporre ccaotmepdatibility reaso__(_msg)))ns only | ^ . Due to security concerns inherent in the desiobject.cc:1181:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1181 | g n of sprint f( register int ix3,i), it is highlyy; | ^~~~~~~~ recommended that you use snprintf(3object.cc): 1181instead.") | ^ :15/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 | : # dwarning: efine _'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]_ deprec a1181t | e d _ m s g ( _ msg) __ a t tribute__((__deprerceagistetr int ix,iy; | ^~~~~~~~ ed__(_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 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: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]ship.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] 509 | sprint f1210( | s t rs,p"r i n tAfr(ms:t rN,o"nSeh"i)e;l | ^ /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 | _d=%d",stats.shield_ingd); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1e:precated_ms note: 'sprintf' has been explicitly marked deprecated here g("This 278 | __deprecate fudnc_tmisog("This funcnti oins ipsr oprovided for compatvided fori cboimlpiattyi brility reasons only. Due etoa ssoencsu rointlyy .co Duncere to secnusr iitnyh ecroenncte rinns tihneh edreesnitg n in the design of sprintf(3),o it is highly recommended that you usef sprintf(3), it is h snprintf(3) inighly recommendstead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.he:218:d48 :t hnote: aexpanded from macro '__deprecated_msg't you use snprintf218 | #define(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:__depr note: expanded from macro '__deprecated_msg' e c218ated_msg( | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))_m sg) _ _| a ^ ttribute__((__depship.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] 512recated__(_ms | g))) | ^ 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 securiobject.cct:1217:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] y concerns 1217i | n register int x; | ^~~~~~~~ herent 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 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: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.") | ^ object.cc/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h::1246218::348:: warning: note: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]expanded from macro '__deprecated_msg' 1246 218 | #define __depre | register int r = 0; c| a ^~~~~~~~ ted_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 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: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))) | ^ object.cc:1314:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1314 | register int ix,iy; | ^~~~~~~~ ship.cc:532:object.cc3: 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] :5321314 | spr:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] i ntf(st1314 | registre,r" int Six,iy; | ^~~~~~~~ peed: %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:541: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)"); | ^ /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:544:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 544 | sprintf(str,"(fair)"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ 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,"(averaobject.ccg:e1457):"3):; warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1457 | register int a,i; | ^~~~~~~~| ^ /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.cc:1457:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1457 | regist__deprer int a,i; | ^~~~~~~~ ecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design object.cc:1473:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] o 1473 | f register int sx,sy; | ^~~~~~~~ object.cc :1473:5:s pwarning: r'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]i 1473 | n trfe(g3i)s,t eir int sx,sy; | ^~~~~~~~ t is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:550:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 550 | sprintf(str,"(fast)"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is 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) inobject.ccs:t1519e:a9d:. "warning: )add explicit braces to avoid dangling else [-Wdangling-else] | 1519^ | /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'e lse | 218 ^ | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:553:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 553 | sprintf(str,"(Extremely fast)"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:560:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 560 | sprintf(str,"Attack: N/A"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:562:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 562 | sprintf(str,"Attack: %d",droiobject.ccd_s:t1613ats[c:o5n:s ole_ptr].attawarning: add explicit braces to avoid dangling else [-Wdangling-else] 1613 | else | ^ ck_rate); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ object.cc:1685:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1685 | else | ^ 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