=> "/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: argument unused during compilation: '-L/var/tmp/work/games/nighthawk/work/.buildlink/lib' [-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] 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; | ^~~~~~~~ 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( | ^ 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 | virobject.cct:u165:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] al void init( | ^ 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; | ^~~~~~~~ ship.cc:36:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 36 | register int x; | ^~~~~~~~ object.cc:223:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 223 | 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:342:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 342 | register int x; | ^~~~~~~~ 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); | ^ object.cc:369:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 369 | register int status = 0; | ^~~~~~~~ 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:413:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 413 | register float d1,d2; | ^~~~~~~~ object.cc:413:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 413 | register float d1,d2; | ^~~~~~~~ ship.cc:196:28: warning: variable 'p' set but not used [-Wunused-but-set-variable] 196 | ttransport_list *p; | ^ 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:321:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 321 | sprintf(str,"SS %s",shipname); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in 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__object.cc:552:3:( (warning: _'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]_ depr 552 | register int x; | ^~~~~~~~ ecated__(_msg))) | ^ 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:331:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 331 | register int x; | ^~~~~~~~ object.cc:675:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 675 | register int ix,iy,x; | ^~~~~~~~ object.cc:675:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 675 | register int ix,iy,x; | ^~~~~~~~ object.cc:675:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] ship.cc675: | 347 : 3 : rwarning: e'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]g iste r347 | i n tr eigxi,sitye,rx ;i n t| ^~~~~~~~o x,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:704:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 704 | register int spin; | ^~~~~~~~ ship.cc:365:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 365 | sprintf(str,"StarShip %s (%s)",name,type); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security coobject.cc:762:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] n762c | e r nrse giinshteerre nitn ti na ,tnhe designd = 0; | ^~~~~~~~ of sprintf(3), iobject.cct: 762i:s3 :h iwarning: g'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]h ly 762 | register int a,nd re=c 0; | o ^~~~~~~~m mended that you use snprintf(3) instead.") | ^ object.cc:768:3:/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_mwarning: s'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(stgr,"dr(_oids=m%dsg) __att",nd); ribu t| e ^_ _((__deprecated__(_msg))/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h): 278 :| 1 ^ : note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:388:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 388 | register int ix,iy; | ^~~~~~~~ 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: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) __attrship.cc:414:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]ibute__((__depr 414 | register ientc asteeldection = _-_1(;_ m s| g ^~~~~~~~) )) | ^ 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 ship.cc 278 | __depreca:t435e:d3_:m swarning: g'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]( "Thi 435 | register inst function selection is prov=i 0xffff; | ^~~~~~~~ ded for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snpriship.ccn:t455f(3) inst:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] e455 | reagister int ox,oy; | ^~~~~~~~ d.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_mship.cc:455:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] sg) 455_ | _ attribute__((__depreca tered__(_msg))) | ^ gister int ox,oy; | ^~~~~~~~ ship.cc:457:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 457 | char *header_mess = "Ship Computer- Droid Records"; | ^ object.cc:813:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 813 | register int x; | ^~~~~~~~ ship.cc:476:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 476 | sprintf(str,"Current: %s (%s)", | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __depobject.cc:r826e:c3a:t ewarning: d'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]_ msg( "826T | h i sr efguinsctteiro ni nits xp;r o v| i ^~~~~~~~d ed 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:840:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 840 | register int x; | ^~~~~~~~ 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 fobject.cco:r864 :c11o: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] m864p | a t ibility r reaesonsgister int only. Due np,nv; | ^~~~~~~~ to security concerns inherent in the design of object.cc:864sprintf:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] ( 864 | 3), it is h ig h l y rec register into np,mnmve;n d e| d ^~~~~~~~ that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc: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 compatibility reasons oobject.cc:895n:l3y:. warning: Due t'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]o secu r895i | t y rceognicsetrenrs iinnth edr1e,ndt2 ;i n | t ^~~~~~~~h e design of sprintf(3), it is hobject.cc:895:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]i ghl y895 | r e croemgmiesntdeerd itnhta td 1y,odu2 ;u s e| ^~~~~~~~s nprintf(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:927ship.cc:490:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 490 | : sprintf(str21:," Entry: warning: %ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]d ",dro i927d | _ s t a t s [ c oandsdo_lmee_spstarg]e.entry); | ( ^" lost c/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.ho:n278t:a1c:t "note: )'sprintf' has been explicitly marked deprecated here; | ^ 278 | __deprecated_msg("This function is object.cc:931:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 931 | p r o v i daeddd _fmoer compatibilissage("Forced detacth")y; reasons only. Due to security con c| e ^r ns inherent in the design of sprintf(3), it is highly recommendobject.cc:936:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]ed that y ou use snprintf 936 | register int tt; | ^~~~~~~~ (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.ccobject.cc::494948::325:: warning: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 948494 | sprintf(st | ar,"Hdeight: %.2f Metres",droid_stats[consodl_mees_spatgre](.hei"Burn out!");ght); | ^ /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 object.ccdes:978:ign27 of sprintf(3), it is hig: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 978 | h layd dr_ecommended that yomu use snprintf(3) insteade.s"s)a g e| (^" Transf/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.he:r218r:e48d:! !note: "expanded from macro '__deprecated_msg') ; 218 | #def | ^ ine __deprecated_msg(object.cc_:m928s:g7): warning: add explicit braces to avoid dangling else [-Wdangling-else] __att928r | i bute else | __(( ^_ _deprecated__(_msg))) | ^ ship.cc:498:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 498 | sprintf(str,"Weight: %.2f kg",droid_stats[console_ptr].weight); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent inobject.cc:987:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 987 | the dreesgiigsnt eorf sprin tf(3i), int x; | ^~~~~~~~ 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))) | ^ object.cc:1008:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 1008 | sprintf(str,"%s captured",captured_droid->stats.type); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here ship.cc:502:3: warning: 278'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 | sprindeprecattedf_msg("(Tshtirs, "f uBnrcation is provided for iconm:p a%tsi"b,idlriotiyd _rseatats[consosons onlle_py. Duetr]. to brain); s e| c ^u rity /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1:c onote: n'sprintf' has been explicitly marked deprecated herec erns i278n | h__deeprreencta tiend _tmhseg (d"eTshiigsn of sprfunctionintf(3), it is is phriogvhildye dr efcor compatibility roemamseonndse do ntlhya.t yDouue utos see csunrpirtiyn tcfo(n3c)e rinnss tienahde.r"e)n t | i^n the de/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.hs:i218g:n48 :o fnote: expanded from macro '__deprecated_msg' sp r218i | n t#fd(3), it eifsi nhe __deprighly reecocmamteendd_emds gt(h_amts gy)o u_ _uattse snprriinbtufte__((3) (i_n_sdteprecated__(_msg))) ead." )| ^ | ^ /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_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] msg(_msg 1011 | ) _ _ a t t r i b ustper_i_n(t(f_(_sdterp,r"eOcut oafted range")__(_m; | ^s g/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 inship.cch:e509r:e7n:t 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 | sprintf( in the design of sstprr,intf(3)," i t Airsm high:l yN orne"); | ^e com/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 men d278e | d_ _tdheprecaatte dy_omus gu(s"eT hsinprinst ff(unct3) insteion is apdr.o"v)i d e| d^ for c/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.ho:m218p:a48t:i bnote: iexpanded from macro '__deprecated_msg'l ity re a218s | o n#sd eofnilnye. _ _Ddueep rteoc asteecdu_rmistgy( concerns inhe_msg) __attrriebnutt ei_n_ (t(h_e_ ddeepsriegcna toefd _s_p(r_imnstgf)()3)) , | i ^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 __dobject.cc:1021e:p15r:e cwarning: aISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]t ed_msg(_msg) __attri 1021b | u t ea_d_d((__deprec_matede__s(sag_em(s"gE)m)p)t y | S ^ pace"); | ^ ship.cc:512:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 512 | sprintf(str," Arm: Linarite Laser"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.ccobject.cc:515:1027:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1027 | re: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] gi ster 515i | n t sprintf(ss = 0; | ^~~~~~~~ tr," 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 object.cc: 278 | __deprecated_msg("Th1029is function is provided for compatibility r:e26a:s owarning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] n 1029 | csh aorn *no_weapon_mess = "No weapon!"; | ^ ly. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snpriobject.cc:1076:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] n 1076 | else | ^ tf(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:1109: ^27 : warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1109 | add_message("Transfer on"); | ^ ship.cc:518:7: warning: object.cc'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]: 1114:27: warning: 518ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] | 1114 | s p r i n t f ( s t r , " a d dA_rmme: Uvarovite Laser"); ssage("Transfer off" ); | ^ | ^ object.cc:1120:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1120 | /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.hadd_message("You're commited!"); | ^ :278:1: note: 'sprintf' has been explicitly marked deprecated here object.cc:1127 278 | __deprecated_msg("This function :is 25:p warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]r ovided 1127 | f o r acdod_message("Can't mpatibtrans."); | ^ ility reasons only. Due to security concerns inhobject.cc:1132:erent in t13he: dwarning: e'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]s ign of s1132p | r i n t f ( 3 ) , i t riesg ihsitgehrl yi nrte cxo,mrmpexn,drepdy ;t h a| t ^~~~~~~~ you use snprintf(3) instead.") | ^ object.cc:1132/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h::13218:: 48warning: :'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] note: expanded from macro '__deprecated_msg' 1132 | 218 | # d e f i nree g_i_sdteeprr int x,rpx,rpy; | ^~~~~~~~e cated_msg(_msg) __attribute__((__object.ccd:e1132p:r13eca:te dwarning: _'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]_ (_msg )1132) | ) | ^ register int x,rpx,rpy; | ^~~~~~~~ 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-Eyobject.cce:'1139 :L17a: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] s e1139r | " ) ; | ^ /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 register int ix,iy; | ^~~~~~~~ep recated_msg("This function is provided for compatibility reasons only. Dobject.ccu:e1139 :t17o: swarning: e'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]c urity c o1139ncerns inherent in the design of s | prin rtegfi(s3ter int i)x,iy,; i t| ^~~~~~~~i s highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ object.cc:1155:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1155 | 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 | regisprintf(str,"Shield: ste%d", | ^ r/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278: 1int ix,iy; | ^~~~~~~~ : note: 'sprintf' has been explicitly marked deprecated here 278 | object.cc_:_1155d:e15p:r ewarning: c'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]a ted_ m1155s | g ( " T h i s f u n c t i orn eigsi sptreorv iidnetd ifxo,ri yc;o m p| a ^~~~~~~~t ibility reasons only. Due to security concerns inherent in the design oobject.ccf: 1162s:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1162 | regisptrintf(3), it is highleyr riencto mcmended that yfo1u,cf2; | ^~~~~~~~ use snprin tf(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 | #defiobject.cc:1162:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1162 | ne _ _ d e precated_msg(_msg) __att register ribute_i_((__dent cf1,cf2; | ^~~~~~~~ precated__(_msg))) | ^ 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 | sprintf(str,"Boost=%d(%d+)",stats.shielding,cf1); | ^ ship.cc:532/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 | __dep:3: rwarning: ecated'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] _msg (532" | T h issp rfiunntcft(isotnr ,i"s Sprovided for cpoempatied: %d",droid_statsb[cionsole_ptr].speed)l;i ty r e| a ^s ons o/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 | __dnly. Due to security concerns inherent in the design of sprintf(3), it is highly recoeprecated_msg("mThism efnudendc ttihoant iyso up ruosvei dsendp frintfo(3) r compatibility reasons only. Due to isnesctead."urity concerns inherent) | ^i n t/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: hexpanded from macro '__deprecated_msg'e desi gn of sp218 | #define __deprintf(3), it isrecated_msg highly recommend(ed_ mtshga)t _y_oaut tursieb snpriute__((__depnretcfa(t3e)d__(_msg) inste)) | ^ ad.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msgobject.cc:1181:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1181 | ))) | ^ register int ix,iy; | ^~~~~~~~ object.cc:1181:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1181 | ship.cc : 538 : 7 :r ewarning: g'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]i ster 538i | n t i x , isyp;r i n| t ^~~~~~~~f (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 | 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] 1210 | sp sprintrfi(nsttfr(,s"t(rfair)"); | ^ ,/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:"278S:h1i:e lnote: d'sprintf' has been explicitly marked deprecated here= %d",st 278 | __deprecated_msg("This funcationts.shielding is provided) ;f o | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1:r note: c'sprintf' has been explicitly marked deprecated hereo mpatibi 278 | _l_ideprety reasons ocated_msg("Thinls funyc.t i oDue to security n is pcrooncerns ivnihdeerde nfto rin th e design compatibilityof sp rrintefa(s3o)n,s only. Due toit is highl secy recommended that you uursitye snprintf(3) concernsinstead.") | ^ inherent i/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.hn: 218:48: note: expanded from macro '__deprecated_msg' th 218 | #define designe of sprin__deprectf(3), it isated_msg(_msg ) __athtirgihbly reute__((commended tha_t_ dyeou use snprintf(3) inspteadr.e"c)a t e| d^_ _(_msg)/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h):)218 :48: note: expanded from macro '__deprecated_msg' | ^ 218 | #define __deprecated_msg(_msg) __ship.cc:547:a7t: 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 | sptrributien_t_f(str,"(average)"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:((__de278p:r1e:c anote: 'sprintf' has been explicitly marked deprecated here ted__(_msg))) | ^ 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 useobject.cc:1217:3 snprintf(3) instea:d .warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] ") | ^ 1217 | /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h :registe218:48: rnote: iexpanded from macro '__deprecated_msg'n t x; 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) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:553:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 553 | sprintf(str,"(Extremely fast)"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated_object.cc:1246:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] _( _1246m | s g )r)e)g i s| t ^e r int r = 0; | ^~~~~~~~ ship.cc:560:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 560 | sprintf(str,"Attack: N/A"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:562:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 562 | sprintf(str,"Attack: %d",droid_stats[console_ptr].attack_rate); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sobject.cc:1314:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1314printf(3), it is highly | registrecommender int ix,iy;e | ^~~~~~~~d that you use snprintf(3) in stead.") | ^ /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 | #dobject.cce:f1314ine __deprecated:_5msg(_ms:g )warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1314 | _ _ regaittsrtiebru tien_t_ (i(x__deprecate,iy; | ^~~~~~~~ d__(_msg))) | ^ ship.cc:579:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 579 | register int s; | ^~~~~~~~ ship.cc:599:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 599 | register int ch; | ^~~~~~~~ object.cc:1457:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1457 | register int a,i; | ^~~~~~~~ object.cc:1457:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1457 | register int a,i; | ^~~~~~~~ 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,object.ccn:d1473:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1473 | register int sx,s = 0; | ^~~~~~~~y; | ^~~~~~~~ object.cc:1473:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1473 | register int sx,sy; | ^~~~~~~~ ship.cc: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; | ^~~~~~~~ object.cc:1519:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1519 | else | ^ 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:48object.cc:1613:: note: expanded from macro '__deprecated_msg' 5 218 | #define __depr: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1613 | else | ^ecated_msg(_msg) __attrib ute__((__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))) | ^ object.cc:1685:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1685 | else | ^ 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