=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/nighthawk", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for nighthawk-2.1nb5 (cd src ; /opt/pkg/bin/gmake) gmake[1]: Entering directory '/var/tmp/work/games/nighthawk/work/nighthawk/src' g++ -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/pkg/include -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lXpm -lX11 -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c misc.cc -o misc.o g++ -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/pkg/include -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lXpm -lX11 -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c floor.cc -o floor.o clang++: warning: -Wl,-rpath,/opt/pkg/lib: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lXpm: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lX11: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -Wl,-rpath,/opt/pkg/lib: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lXpm: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lX11: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-L/var/tmp/work/games/nighthawk/work/.buildlink/lib' [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-L/var/tmp/work/games/nighthawk/work/.buildlink/lib' [-Wunused-command-line-argument] misc.cc:78:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 78 | "002", | ^ misc.cc:79:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 79 | "Paradroid", | ^ misc.cc:83:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 83 | "Neurologic", | ^ misc.cc:91:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 91 | "108", | ^ misc.cc:92:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 92 | "Minor Cleaning Droid", | ^ misc.cc:96:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 96 | "Embedded Logic", | ^ misc.cc:104:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 104 | "176", | ^ misc.cc:105:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 105 | "Standard Cleaning Droid", | ^ misc.cc:109:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 109 | "Embedded Logic", | ^ misc.cc:117:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 117 | "261", | ^ misc.cc:118:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 118 | "Cargo Paletting Droid", | ^ misc.cc:122:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 122 | "Embedded Logic", | ^ misc.cc:130:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 130 | "275", | ^ misc.cc:131:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 131 | "Servant Droid", | ^ misc.cc:135:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 135 | "Embedded Logic", | ^ misc.cc:143:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 143 | "355", | ^ misc.cc:144:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 144 | "Messenger (Class C) Droid", | ^ misc.cc:148:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 148 | "Embedded Logic", | ^ misc.cc:156:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 156 | "368", | ^ misc.cc:157:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 157 | "Messenger (Class D) Droid", | ^ misc.cc:161:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 161 | "Embedded Logic", | ^ misc.cc:169:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 169 | "423", | ^ misc.cc:170:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 170 | "Standard Maintenance Droid", | ^ misc.cc:174:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 174 | "Embedded Logic", | ^ misc.cc:182:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 182 | "467", | ^ misc.cc:183:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 183 | "Heavy Duty Maintenance Droid", | ^ misc.cc:187:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 187 | "Embedded Logic", | ^ misc.cc:195:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 195 | "489", | ^ misc.cc:196:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 196 | "Aerial Maintenance Droid", | ^ misc.cc:200:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 200 | "Embedded Logic", | ^ misc.cc:208:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 208 | "513", | ^ misc.cc:209:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 209 | "Trauma Technician", | ^ misc.cc:213:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 213 | "Neurologic", | ^ misc.cc:221:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 221 | "520", | ^ misc.cc:222:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 222 | "Nurse Droid", | ^ misc.cc:226:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 226 | "Neurologic", | ^ misc.cc:234:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 234 | "599", | ^ misc.cc:235:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 235 | "Surgeon Droid", | ^ misc.cc:239:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 239 | "Neurologic", | ^ misc.cc:247:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 247 | "606", | ^ misc.cc:248:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 248 | "Guard Monitor", | ^ misc.cc:252:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 252 | "Neurologic", | ^ misc.cc:260:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 260 | "691", | ^ misc.cc:261:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 261 | "Sentinel Droid", | ^ misc.cc:265:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 265 | "Neurologic", | ^ misc.cc:273:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 273 | "693", | ^ misc.cc:274:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 274 | "Centurion Droid", | ^ misc.cc:278:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 278 | "Neurologic", | ^ misc.cc:286:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 286 | "719", | ^ misc.cc:287:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 287 | "Battle Droid", | ^ misc.cc:291:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 291 | "Neurologic", | ^ misc.cc:299:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 299 | "720", | ^ misc.cc:300:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 300 | "Flack Droid", | ^ misc.cc:304:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 304 | "Neurologic", | ^ misc.cc:312:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 312 | "766", | ^ misc.cc:313:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 313 | "Attack Droid", | ^ misc.cc:317:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 317 | "Neurologic", | ^ misc.cc:325:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 325 | "799", | ^ misc.cc:326:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 326 | "Heavy Battle Droid", | ^ misc.cc:330:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 330 | "Neurologic", | ^ misc.cc:338:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 338 | "805", | ^ misc.cc:339:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 339 | "Communications Droid", | ^ misc.cc:343:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 343 | "Neurologic", | ^ misc.cc:351:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 351 | "810", | ^ misc.cc:352:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 352 | "Engineer Droid", | ^ misc.cc:356:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 356 | "Neurologic", | ^ misc.cc:364:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 364 | "820", | ^ misc.cc:365:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 365 | "Science Droid", | ^ misc.cc:369:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 369 | "Neurologic", | ^ misc.cc:377:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 377 | "899", | ^ misc.cc:378:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 378 | "Pilot Droid", | ^ misc.cc:382:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 382 | "Neurologic", | ^ misc.cc:390:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 390 | "933", | ^ misc.cc:391:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 391 | "Minor Cyborg", | ^ misc.cc:395:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 395 | "Neurologic", | ^ misc.cc:403:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 403 | "949", | ^ misc.cc:404:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 404 | "Command Cyborg", | ^ misc.cc:408:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 408 | "Neurologic", | ^ misc.cc:416:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 416 | "999", | ^ misc.cc:417:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 417 | "Fleet Cyborg", | ^ misc.cc:421:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 421 | "Neurologic", | ^ misc.cc:471:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 471 | char *error_m = "x_init() "; | ^ misc.cc:472:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 472 | char *wname = "Nighthawk " VERSION; | ^ misc.cc:477:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 477 | char *font_name = "-*-fixed-*-*-*-*-12-*-*-*-*-*-*-*"; | ^ misc.cc:573:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 573 | register int val; | ^~~~~~~~ misc.cc:622:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 622 | register int sy,o; | ^~~~~~~~ misc.cc:622:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 622 | register int sy,o; | ^~~~~~~~ misc.cc:641:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 641 | register int x; | ^~~~~~~~ misc.cc:694:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 694 | register int status = 1; | ^~~~~~~~ misc.cc:696:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 696 | char *error_m = "load_flr_xpms() "; | ^ misc.cc:698:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 698 | register int sprite_c; | ^~~~~~~~ misc.cc:744:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 744 | register int x; | ^~~~~~~~ misc.cc:875:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 875 | if(!loadxpm_xpm("standard/droid_ani.xpm",&droid_bm)) | ^ misc.cc:880:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 880 | if(!loadxpm_xpm("standard/paradroid_ani.xpm",¶droid_bm)) | ^ misc.cc:885:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 885 | if(!loadxpm_xpm("standard/laser_l.xpm",&laser_l_bm)) | ^ misc.cc:890:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 890 | if(!loadxpm_xpm("standard/laser_cb.xpm",&laser_cb_bm)) | ^ misc.cc:895:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 895 | if(!loadxpm_xpm("standard/laser_uv.xpm",&laser_uv_bm)) | ^ misc.cc:900:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 900 | if(!loadxpm_xpm("standard/laser_te.xpm",&laser_te_bm)) | ^ misc.cc:905:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 905 | if(!loadxpm_xpm("standard/explosion.xpm",&explosion_bm)) | ^ misc.cc:910:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 910 | if(!loadxpm_xpm("standard/power_bay.xpm",&power_bay_bm)) | ^ misc.cc:915:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 915 | if(!loadxpm_xpm("standard/ntitle.xpm",&ntitle_bm)) | ^ misc.cc:920:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 920 | if(!loadxpm_xpm("standard/flr_door_h_cyan_ani.xpm",&doorh_bm)) | ^ misc.cc:925:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 925 | if(!loadxpm_xpm("standard/flr_door_v_cyan_ani.xpm",&doorv_bm)) | ^ misc.cc:930:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 930 | if(!loadxpm_xpm("standard/digits.xpm",&digit_bm)) | ^ misc.cc:935:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 935 | if(!loadxpm_xpm("standard/digits2.xpm",&digit2_bm)) | ^ misc.cc:940:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 940 | if(!loadxpm_xpm("standard/ship_complete.xpm",&ship_complete_bm)) | ^ misc.cc:945:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 945 | if(!loadxpm_xpm("standard/credit_1.xpm",&credit_1_bm)) | ^ misc.cc:950:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 950 | if(!loadxpm_xpm("standard/credit_2.xpm",&credit_2_bm)) | ^ misc.cc:955:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 955 | if(!loadxpm_xpm("standard/credit_3.xpm",&credit_3_bm)) | ^ misc.cc:960:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 960 | if(!loadxpm_xpm("standard/credit_4.xpm",&credit_4_bm)) | ^ misc.cc:965:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 965 | if(!loadxpm_xpm("standard/credit_5.xpm",&credit_5_bm)) | ^ misc.cc:970:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 970 | if(!loadxpm_xpm("standard/credit_6.xpm",&credit_6_bm)) | ^ misc.cc:975:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 975 | if(!loadxpm_xpm("standard/neg.xpm",&neg_bm)) | ^ misc.cc:980:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 980 | if(!loadxpm_xpm("standard/paused.xpm",&paused_bm)) | ^ misc.cc:985:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 985 | if(!loadxpm_xpm("standard/trans_terminated.xpm",&trans_terminated_bm)) | ^ misc.cc:990:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 990 | if(!loadxpm_xpm("standard/docking_to_ship.xpm",&get_ready1_bm)) | ^ misc.cc:995:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 995 | if(!loadxpm_xpm("standard/intro_back_1.xpm",&intro_back_bm[0])) | ^ misc.cc:1000:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1000 | if(!loadxpm_xpm("standard/intro_back_2.xpm",&intro_back_bm[1])) | ^ misc.cc:1005:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1005 | if(!loadxpm_xpm("standard/intro_back_3.xpm",&intro_back_bm[2])) | ^ misc.cc:1010:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1010 | if(!loadxpm_xpm("standard/intro_back_4.xpm",&intro_back_bm[3])) | ^ 120 warnings generated. g++ -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/pkg/include -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lXpm -lX11 -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c object.cc -o object.o In file included from floor.cc:26: ./tedit_floor.h:13:7: warning: 'tedit_floor::create' hides overloaded virtual function [-Woverloaded-virtual] 13 | int create(char *fn,int x_size,int y_size); | ^ ./tfloor.h:28:15: note: hidden overloaded virtual function 'tfloor::create' declared here: different number of parameters (2 vs 3) 28 | virtual int create(int x_size,int y_size); | ^ floor.cc:33:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 33 | register int x; | ^~~~~~~~ floor.cc:78:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 78 | register int x,y; | ^~~~~~~~ floor.cc:78:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 78 | register int x,y; | ^~~~~~~~ floor.cc:95:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 95 | register int door_ptr = 0,transport_ptr = 0; | ^~~~~~~~ floor.cc:95:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 95 | register int door_ptr = 0,transport_ptr = 0; | ^~~~~~~~ floor.cc:160:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~~~~~~ floor.cc:160:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~~~~~~ floor.cc:160:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~~~~~~ floor.cc:160:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~~~~~~ floor.cc:160:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~~~~~~ floor.cc:160:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~~~~~~ floor.cc:160:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~~~~~~ floor.cc:207:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 207 | register int x; | ^~~~~~~~ floor.cc:222:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 222 | register int x; | ^~~~~~~~ floor.cc:249:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 249 | register int x,y; | ^~~~~~~~ floor.cc:249:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 249 | register int x,y; | ^~~~~~~~ floor.cc:263:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 263 | register int x,y; | ^~~~~~~~ floor.cc:263:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 263 | register int x,y; | ^~~~~~~~ floor.cc:286:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 286 | register int ipx,ipy,ssp_block; | ^~~~~~~~ floor.cc:286:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 286 | register int ipx,ipy,ssp_block; | ^~~~~~~~ floor.cc:286:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 286 | register int ipx,ipy,ssp_block; | ^~~~~~~~ floor.cc:296:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 296 | register int x1,y1,x2,y2; | ^~~~~~~~ floor.cc:296:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 296 | register int x1,y1,x2,y2; | ^~~~~~~~ floor.cc:296:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 296 | register int x1,y1,x2,y2; | ^~~~~~~~ floor.cc:296:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 296 | register int x1,y1,x2,y2; | ^~~~~~~~ floor.cc:312:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 312 | sprintf(str,"%d,%d",spos_x,spos_y); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ floor.cc:342:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 342 | register int ipx,ipy; | ^~~~~~~~ floor.cc:342:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 342 | register int ipx,ipy; | ^~~~~~~~ clang++: warning: -Wl,-rpath,/opt/pkg/lib: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lXpm: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lX11: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-L/var/tmp/work/games/nighthawk/work/.buildlink/lib' [-Wunused-command-line-argument] 29 warnings generated. g++ -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/pkg/include -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lXpm -lX11 -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c ship.cc -o ship.o clang++: warning: -Wl,-rpath,/opt/pkg/lib: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lXpm: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lX11: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-L/var/tmp/work/games/nighthawk/work/.buildlink/lib' [-Wunused-command-line-argument] In file included from object.cc:26: ./tedit_floor.h:13:7: warning: 'tedit_floor::create' hides overloaded virtual function [-Woverloaded-virtual] 13 | int create(char *fn,int x_size,int y_size); | ^ ./tfloor.h:28:15: note: hidden overloaded virtual function 'tfloor::create' declared here: different number of parameters (2 vs 3) 28 | virtual int create(int x_size,int y_size); | ^ In file included from object.cc:27: In file included from ./tparadroid.h:4: In file included from ./tdroid.h:5: ./tlaser.h:15:16: warning: 'tlaser::init' hides overloaded virtual function [-Woverloaded-virtual] 15 | virtual void init( | ^ ./tentity.h:19:16: note: hidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 7) 19 | virtual void init( | ^ In file included from object.cc:27: In file included from ./tparadroid.h:4: ./tdroid.h:16:8: warning: 'tdroid::init' hides overloaded virtual function [-Woverloaded-virtual] 16 | void init(tfloor *f,tentity **dp,float px,float py); | ^ ./tentity.h:19:16: note: hidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 4) 19 | virtual void init( | ^ object.cc:57:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 57 | register int ix,iy; | ^~~~~~~~ object.cc:57:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 57 | register int ix,iy; | ^~~~~~~~ object.cc:165:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 165 | register int vol; | ^~~~~~~~ object.cc:173:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 173 | register int bal; | ^~~~~~~~ object.cc:185:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 185 | register int x,status = 0; | ^~~~~~~~ object.cc:185:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 185 | register int x,status = 0; | ^~~~~~~~ object.cc:223:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 223 | register int x; | ^~~~~~~~ object.cc:342:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 342 | register int x; | ^~~~~~~~ object.cc:369:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 369 | register int status = 0; | ^~~~~~~~ object.cc:413:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 413 | register float d1,d2; | ^~~~~~~~ object.cc:413:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 413 | register float d1,d2; | ^~~~~~~~ object.cc:421:50: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 421 | ((tparadroid *)droids[0])->add_message("buzzed!"); | ^ object.cc:433:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 433 | register int ix,iy; | ^~~~~~~~ object.cc:433:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 433 | register int ix,iy; | ^~~~~~~~ object.cc:552:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 552 | register int x; | ^~~~~~~~ object.cc:570:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 570 | register int x,status = 0; | ^~~~~~~~ object.cc:570:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 570 | register int x,status = 0; | ^~~~~~~~ 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; | ^~~~~~~~ object.cc:675:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 675 | register int ix,iy,x; | ^~~~~~~~ object.cc:675:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 675 | register int ix,iy,x; | ^~~~~~~~ object.cc:675:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 675 | register int ix,iy,x; | ^~~~~~~~ object.cc:704:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 704 | register int spin; | ^~~~~~~~ object.cc:762:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 762 | register int a,nd = 0; | ^~~~~~~~ object.cc:762:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 762 | register int a,nd = 0; | ^~~~~~~~ object.cc:768:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 768 | sprintf(str,"droids=%d",nd); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ object.cc:782:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 782 | sprintf(str,"%s d %s", | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ object.cc:797:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 797 | sprintf(str,"%s h %s(%d)", | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ 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( | ^ object.cc:813:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 813 | register int x; | ^~~~~~~~ ./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,tobject.cc:entity **d826:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]p,float px, 826 | refloat pgy)i;s t e| r ^ int x; ./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:840:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 840 | register int x; | ^~~~~~~~ object.cc:864:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 864 | register int np,nv; | ^~~~~~~~ object.cc:864:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 864 | register int np,nv; | ^~~~~~~~ object.cc:895:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 895 | register int d1,d2; | ^~~~~~~~ object.cc:895:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 895 | register int d1,d2; | ^~~~~~~~ object.cc:927:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 927 | add_message("lost contact"); | ^ object.cc:931:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 931 | add_message("Forced detach"); | ^ object.cc:936:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 936 | register int tt; | ^~~~~~~~ ship.cc:36:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 36 | register int x; | ^~~~~~~~ object.cc:948:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 948 | add_message("Burn out!"); | ^ object.cc:978:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 978 | add_message("Transferred!!"); | ^ object.cc:928:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 928 | else | ^ ship.cc:50:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 50 | register int status = 0; | ^~~~~~~~ object.cc:987:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 987 | register int x; | ^~~~~~~~ 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 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:1011:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 1011 | sprintf(str,"Out of range"); | ^ /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:1021:15: ship.cc:144:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1021 | add_messagwarning: delete called on non-final 'tfloor' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor] e 144 | ( " Empty Space delete((*ptr)->c"urr));; | | ^ ^ object.cc:1027:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1027 | register int s = 0; | ^~~~~~~~ object.cc:1029:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1029 | char *no_weapon_mess = "No weapon!"; | ^ 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:1076:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1076 | else | ^ object.cc:1109:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ship.cc1109: | 196 :28: warning: variable 'p' set but not used [-Wunused-but-set-variable] add_m e 196 | s ttransports_list *p; | ^ age("Transfer on"); | ^ object.cc:1114:27: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1114 | add_message("Transfer off"); | ^ object.cc:1120:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1120 | add_message("You're commited!"); | ^ object.cc:1127:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 1127 | add_message("Can't trans."); | ^ object.cc:1132:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1132 | register int x,rpx,rpy; | ^~~~~~~~ object.cc:1132:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1132 | register int x,rpx,rpy; | ^~~~~~~~ object.cc:1132:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1132 | register int x,rpx,rpy; | ^~~~~~~~ object.cc:1139:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1139 | register int ix,iy; | ^~~~~~~~ object.cc:1139:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1139 | register int ix,iy; | ^~~~~~~~ object.cc:1155:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1155 | register int ix,iy; | ^~~~~~~~ object.cc:1155:15: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1155 | register int ix,iy; | ^~~~~~~~ object.cc:1162:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1162 | register int cf1,cf2; | ^~~~~~~~ object.cc:1162:17: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1162 | 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",s rehipnamgei)s;t e r| ^ in/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 heret cf1,cf2; | ^~~~~~~~ 278 | __deprecatobject.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 | ed_msg("This fun spcritnitofn i(sst rp,r"oBvoiodsetd= %fd(%d+)",stora tcso.shmpatielding,cf1); | ibility ^re asons /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 278only. | _D_udee precated_msg("This fto securuitnyc tcioncerns oinn hiesr epnrto viind etdh ef odre sign of sprintfcompa(3), it is highlyt irbeicloimtmye nrdeeads otnhsa to nly. you use snpriDue to sentf(3) instead.") | ^ cur/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.hi:t218y: 48c:o nnote: cexpanded from macro '__deprecated_msg'e rns inh e218r | e n#td eifni nteh e_ _ddeespign of srperciantted_msg(_msg) __attfr(i3b)u,t ei_t_ (i(s_ _hdiegphrleyc arteecdo_m_m(e_msgn)d)e)d t| h ^a t 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: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 | register int ix,iy; | ^~~~~~~~ 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 | sprintf(str,"Shield=%d",stats.shielding); | ^ /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:1217:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1217 | register int x; | ^~~~~~~~ ship.cc:331:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 331 | register int x; | ^~~~~~~~ object.cc:1246:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1246 | ship.ccr:e347g:i3s:t ewarning: r'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] int r347 | = 0r;e g i| s ^~~~~~~~t er 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; | ^~~~~~~~ ship.cc:347:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 347 | register int ox,oy,sprtx,sprty; | ^~~~~~~~ ship.cc:365:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 365 | sprintf(str,"StarShip %s (%s)",name,type); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ object.cc:1314:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1314 | register int ix,iy; | ^~~~~~~~ object.cc:1314:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1314 | register int ix,iy; | ^~~~~~~~ ship.cc: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; | ^~~~~~~~ ship.cc:414:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 414 | register int selection = -1; | ^~~~~~~~ ship.cc:435:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 435 | register int selection = 0xffff; | ^~~~~~~~ ship.cc:455:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 455 | register int ox,oy; | ^~~~~~~~ ship.cc:455:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 455 | register int ox,oy; | ^~~~~~~~ ship.cc:457:23: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 457 | char *header_mess = "Ship Computer- Droid Records"; | ^ ship.cc:476:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 476 | sprintf(str,"Current: %s (%s)", | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly 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:482:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 482 | sprintf(str," Type: %s",droid_stats[console_ptr].type); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns 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: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(strobject.cc," Name: %s",:d1457r:o3i:d _warning: s'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]t ats[ c1457o | n s orleeg_ipsttre]r. nianmte )a;, i ;| ^ | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecatobject.cce:d1457_:m3s:g (warning: "'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]T hi 1457 | register si nftu nac,tii;o n | i ^~~~~~~~s 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:1473:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1473 | regisship.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] t 490 | er int s x ,sspyr;i n t| f ^~~~~~~~( str," Entry: %d",droid_stats[console_ptr].entry); | ^ object.cc:1473/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h::5278:: 1warning: :'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] note: 'sprintf' has been explicitly marked deprecated here 1473 | re g278i | s_t_edre pirnetc astxe,ds_ym;s g (| " ^~~~~~~~T his 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:494:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 494 | sprintf(str,"Height: %.2f Metres",droid_stats[console_ptr].height); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent 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: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 object.cck:g1519":,9d:r owarning: iadd explicit braces to avoid dangling else [-Wdangling-else]d _stats[console_ptr].weigh 1519 | t ) ; e l| s ^e | /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h ^: 278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:502:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 502 | sprintf(str," Brain: %s",droid_stats[console_ptr].brain); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:509:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 509 | sprintf(str," Arm: None"); | ^ /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_:m1613s:g5):) )warning: add explicit braces to avoid dangling else [-Wdangling-else] | ^ 1613 | else | ^ ship.cc:512:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 512 | sprintf(str," Arm: Linarite Laser"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:515:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 515 | sprintf(str," Arm: Crocoite-Benzol Laser"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:518:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 518 | sprintf(str," Arm: Uvarovite Laser"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /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:1685:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] _( (1685_ | _ d e p r e c a t e de_l_s(e_ m s| g ^) )) | ^ ship.cc:521:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 521 | sprintf(str," Arm: Quartz 'Tiger-Eye' Laser"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:527:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 527 | sprintf(str,"Shield: %d", | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:532:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 532 | sprintf(str," Speed: %d",droid_stats[console_ptr].speed); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:538:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 538 | sprintf(str,"(Very slow)"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:541:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 541 | sprintf(str,"(slow)"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:544:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 544 | sprintf(str,"(fair)"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:547:7: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 547 | sprintf(str,"(average)"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ 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__(_msg))) | ^ ship.cc:560:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 560 | sprintf(str,"Attack: N/A"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:562:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 562 | sprintf(str,"Attack: %d",droid_stats[console_ptr].attack_rate); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:579:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 579 | register int s; | ^~~~~~~~ ship.cc:599:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 599 | register int ch; | ^~~~~~~~ ship.cc:675:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 675 | register int x,nd = 0; | ^~~~~~~~ ship.cc:675:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 675 | register int x,nd = 0; | ^~~~~~~~ ship.cc:714:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 714 | register int x,val; | ^~~~~~~~ ship.cc:714:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 714 | register int x,val; | ^~~~~~~~ ship.cc:730:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 730 | register int i; | ^~~~~~~~ ship.cc:740:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 740 | register int x; | ^~~~~~~~ ship.cc:749:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 749 | sprintf(str," Ship: %s",name); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:752:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 752 | sprintf(str,"Floor: %s",curr_location->floor->name); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ ship.cc:785:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 785 | register int x; | ^~~~~~~~ 54 warnings generated. g++ -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/pkg/include -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lXpm -lX11 -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c nighthawk.cc -o nighthawk.o clang++: warning: -Wl,-rpath,/opt/pkg/lib: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lXpm: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: -lX11: 'linker' input unused [-Wunused-command-line-argument] clang++: warning: argument unused during compilation: '-L/var/tmp/work/games/nighthawk/work/.buildlink/lib' [-Wunused-command-line-argument] 82 warnings generated. In file included from nighthawk.cc:36: In file included from ./tship.h:5: In file included from ./tparadroid.h:4: In file included from ./tdroid.h:5: ./tlaser.h:15:16: warning: 'tlaser::init' hides overloaded virtual function [-Woverloaded-virtual] 15 | virtual void init( | ^ ./tentity.h:19:16: note: hidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 7) 19 | virtual void init( | ^ In file included from nighthawk.cc:36: In file included from ./tship.h:5: In file included from ./tparadroid.h:4: ./tdroid.h:16:8: warning: 'tdroid::init' hides overloaded virtual function [-Woverloaded-virtual] 16 | void init(tfloor *f,tentity **dp,float px,float py); | ^ ./tentity.h:19:16: note: hidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 4) 19 | virtual void init( | ^ nighthawk.cc:43:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 43 | "Haldeck", | ^ nighthawk.cc:44:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 44 | "Seafarer", | ^ nighthawk.cc:45:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 45 | "Anoyle", | ^ nighthawk.cc:46:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 46 | "Esperence", | ^ nighthawk.cc:47:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 47 | "Ophukus", | ^ nighthawk.cc:48:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 48 | "Mearkat", | ^ nighthawk.cc:49:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 49 | "Friendship", | ^ nighthawk.cc:50:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 50 | "Discovery", | ^ nighthawk.cc:51:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 51 | "Zaxon", | ^ nighthawk.cc:52:3: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 52 | "Tobruk", | ^ nighthawk.cc:68:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 68 | register int x; | ^~~~~~~~ nighthawk.cc:97:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 97 | fp = lopen(SCORES_FILE,"r+b"); | ^ ./../options.h:12:21: note: expanded from macro 'SCORES_FILE' 12 | #define SCORES_FILE VARBASE"/games/nighthawk.scores" | ^ :7:17: note: expanded from macro 'VARBASE' 7 | #define VARBASE "/var" | ^ nighthawk.cc:97:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 97 | fp = lopen(SCORES_FILE,"r+b"); | ^ nighthawk.cc:106:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 106 | fp = lopen(SCORES_FILE,"w+b"); | ^ ./../options.h:12:21: note: expanded from macro 'SCORES_FILE' 12 | #define SCORES_FILE VARBASE"/games/nighthawk.scores" | ^ :7:17: note: expanded from macro 'VARBASE' 7 | #define VARBASE "/var" | ^ nighthawk.cc:106:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 106 | fp = lopen(SCORES_FILE,"w+b"); | ^ nighthawk.cc:131:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 131 | register int x; | ^~~~~~~~ nighthawk.cc:136:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 136 | register int y; | ^~~~~~~~ nighthawk.cc:151:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 151 | register int a; | ^~~~~~~~ nighthawk.cc:215:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 215 | register int c; | ^~~~~~~~ nighthawk.cc:225:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 225 | register int sl; | ^~~~~~~~ nighthawk.cc:327:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 327 | "5(C) 1997,98, Jason Nunn (JsNO)\n" | ^ nighthawk.cc:343:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 343 | "0Space to play, Q to Quit.\n" | ^ nighthawk.cc:387:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 387 | register int x; | ^~~~~~~~ nighthawk.cc:393:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 393 | sprintf(str,"%-8s %-15s %-11s Score","Name","Ship","Date"); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ nighthawk.cc:397:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 397 | register int yp; | ^~~~~~~~ nighthawk.cc:401:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 401 | sprintf(str,"%-8s %-15s %-11s %8d", | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ In file included from nighthawk.cc:413: ./scroll.inc:2:1: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 2 | " -= Paradroid =- " | ^ nighthawk.cc:438:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 438 | register int a,b,c,d; | ^~~~~~~~ nighthawk.cc:438:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 438 | register int a,b,c,d; | ^~~~~~~~ nighthawk.cc:438:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 438 | register int a,b,c,d; | ^~~~~~~~ nighthawk.cc:438:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 438 | register int a,b,c,d; | ^~~~~~~~ nighthawk.cc:448:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 448 | register int p; | ^~~~~~~~ nighthawk.cc:471:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 471 | "0GPL\n" | ^ nighthawk.cc:487:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 487 | "0=Contacts=\n" | ^ nighthawk.cc:505:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 505 | "0=Contacts=\n" | ^ nighthawk.cc:521:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 521 | "4Thanks to the many people who have\n" | ^ nighthawk.cc:581:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 581 | register int intro_f = 0,x; | ^~~~~~~~ nighthawk.cc:581:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 581 | register int intro_f = 0,x; | ^~~~~~~~ nighthawk.cc:601:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 601 | register int ch; | ^~~~~~~~ nighthawk.cc:640:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 640 | register int a,siren_r = 0,siren_c = 0; | ^~~~~~~~ nighthawk.cc:640:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 640 | register int a,siren_r = 0,siren_c = 0; | ^~~~~~~~ nighthawk.cc:640:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 640 | register int a,siren_r = 0,siren_c = 0; | ^~~~~~~~ nighthawk.cc:653:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 653 | else | ^ nighthawk.cc:660:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 660 | sprintf(str,"Starship %s",ship->name); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ nighthawk.cc:678:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 678 | register int sl; | ^~~~~~~~ nighthawk.cc:680:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations] 680 | sprintf(str,"Your Final Score: %d",score); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here 278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ nighthawk.cc:689:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 689 | register int a; | ^~~~~~~~ nighthawk.cc:695:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^~~~~~~~ nighthawk.cc:695:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^~~~~~~~ nighthawk.cc:695:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^~~~~~~~ nighthawk.cc:695:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^~~~~~~~ nighthawk.cc:695:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^~~~~~~~ nighthawk.cc:695:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^~~~~~~~ nighthawk.cc:736:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 736 | register int a; | ^~~~~~~~ nighthawk.cc:738:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 738 | "1\n" | ^ nighthawk.cc:788:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 788 | register int dead = 0; | ^~~~~~~~ nighthawk.cc:840:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 840 | register int x,sound = 0; | ^~~~~~~~ nighthawk.cc:840:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 840 | register int x,sound = 0; | ^~~~~~~~ 60 warnings generated. g++ -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/pkg/include -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lXpm -lX11 misc.o floor.o object.o ship.o nighthawk.o -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/pkg/include -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lXpm -lX11 -o nighthawk ld: warning: duplicate -rpath '/opt/pkg/lib' ignored ld: warning: ignoring duplicate libraries: '-lX11', '-lXpm' strip nighthawk gmake[1]: Leaving directory '/var/tmp/work/games/nighthawk/work/nighthawk/src' cd /var/tmp/work/games/nighthawk/work/nighthawk/src_sound && /usr/bin/env OSTYPE=Darwin USETOOLS=no GOTMPDIR=/var/tmp/work MACOSX_DEPLOYMENT_TARGET=15.5 CC=clang CFLAGS=-pipe\ -Os\ -I/opt/pkg/include CPPFLAGS=-DPREFIX=\"\\\"/opt/pkg\\\"\"\ -DDEVOSSAUDIO=\"\\\"\\\"\"\ -DVARBASE=\"\\\"/var\\\"\"\ -I/opt/pkg/include CXX=clang++ CXXFLAGS=-pipe\ -Os\ -I/opt/pkg/include COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/pkg/lib LINKER_RPATH_FLAG=-L PATH=/var/tmp/work/games/nighthawk/work/.cwrapper/bin:/var/tmp/work/games/nighthawk/work/.buildlink/bin:/var/tmp/work/games/nighthawk/work/.tools/bin:/opt/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/opt/pkg/etc HOME=/var/tmp/work/games/nighthawk/work/.home CWRAPPERS_CONFIG_DIR=/var/tmp/work/games/nighthawk/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/var/tmp/work/games/nighthawk/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/var/tmp/work/games/nighthawk/work/.tools/bin/itstool GDBUS_CODEGEN=/var/tmp/work/games/nighthawk/work/.tools/bin/gdbus-codegen PKG_CONFIG=/var/tmp/work/games/nighthawk/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/var/tmp/work/games/nighthawk/work/.buildlink/lib/pkgconfig:/var/tmp/work/games/nighthawk/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/var/tmp/work/games/nighthawk/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/var/tmp/work/games/nighthawk/work/.cwrapper/config /opt/pkg/bin/gmake nighthawk_sound clang -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/var\"" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -Wall -pipe -fomit-frame-pointer -DNetBSD -c dsp_mixxer.c -o dsp_mixxer.o dsp_mixxer.c:94:16: error: use of undeclared identifier 'SNDCTL_DSP_RESET' 94 | ioctl(dsp_fp,SNDCTL_DSP_RESET, 0); | ^ dsp_mixxer.c:190:18: error: use of undeclared identifier 'SNDCTL_DSP_RESET' 190 | ioctl(dsp_fp,SNDCTL_DSP_RESET, 0); | ^ dsp_mixxer.c:261:20: error: use of undeclared identifier 'SNDCTL_DSP_SAMPLESIZE' 261 | ioctl(dsp_fp,SNDCTL_DSP_SAMPLESIZE,&(funk_info.precision)); | ^ dsp_mixxer.c:262:20: error: use of undeclared identifier 'SNDCTL_DSP_STEREO' 262 | ioctl(dsp_fp,SNDCTL_DSP_STEREO,&(funk_info.stereo)); | ^ dsp_mixxer.c:263:20: error: use of undeclared identifier 'SNDCTL_DSP_SPEED' 263 | ioctl(dsp_fp,SNDCTL_DSP_SPEED,&(funk_info.sampling_rate)); | ^ dsp_mixxer.c:264:20: error: use of undeclared identifier 'SNDCTL_DSP_SETFRAGMENT' 264 | ioctl(dsp_fp,SNDCTL_DSP_SETFRAGMENT,&frag); | ^ 6 errors generated. gmake: *** [Makefile:66: dsp_mixxer.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/nighthawk *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/nighthawk