+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nighthawk-2.1nb5/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nighthawk-2.1nb5/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for nighthawk-2.1nb5 (cd src ; /opt/local/bin/gmake) gmake[1]: Entering directory '/home/pbulk/build/games/nighthawk/work/nighthawk/src' g++ -DPREFIX="\"/opt/local\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var\"" -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/local/include -Wl,-R/opt/local/lib -L/opt/local/lib -lXpm -lX11 -DPREFIX="\"/opt/local\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var\"" -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c misc.cc -o misc.o g++ -DPREFIX="\"/opt/local\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var\"" -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/local/include -Wl,-R/opt/local/lib -L/opt/local/lib -lXpm -lX11 -DPREFIX="\"/opt/local\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var\"" -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c floor.cc -o floor.o g++ -DPREFIX="\"/opt/local\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var\"" -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/local/include -Wl,-R/opt/local/lib -L/opt/local/lib -lXpm -lX11 -DPREFIX="\"/opt/local\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var\"" -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c object.cc -o object.o misc.cc:78:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | "002", | ^~~~~ misc.cc:79:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | "Paradroid", | ^~~~~~~~~~~ misc.cc:83:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 83 | "Neurologic", | ^~~~~~~~~~~~ misc.cc:91:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 91 | "108", | ^~~~~ misc.cc:92:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 92 | "Minor Cleaning Droid", | ^~~~~~~~~~~~~~~~~~~~~~ misc.cc:96:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 96 | "Embedded Logic", | ^~~~~~~~~~~~~~~~ misc.cc:104:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 104 | "176", | ^~~~~ misc.cc:105:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 105 | "Standard Cleaning Droid", | ^~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:109:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 109 | "Embedded Logic", | ^~~~~~~~~~~~~~~~ misc.cc:117:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 117 | "261", | ^~~~~ misc.cc:118:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 118 | "Cargo Paletting Droid", | ^~~~~~~~~~~~~~~~~~~~~~~ misc.cc:122:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 122 | "Embedded Logic", | ^~~~~~~~~~~~~~~~ misc.cc:130:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 130 | "275", | ^~~~~ misc.cc:131:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 131 | "Servant Droid", | ^~~~~~~~~~~~~~~ misc.cc:135:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 135 | "Embedded Logic", | ^~~~~~~~~~~~~~~~ misc.cc:143:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 143 | "355", | ^~~~~ misc.cc:144:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 144 | "Messenger (Class C) Droid", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:148:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | "Embedded Logic", | ^~~~~~~~~~~~~~~~ misc.cc:156:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 156 | "368", | ^~~~~ misc.cc:157:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 157 | "Messenger (Class D) Droid", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:161:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 161 | "Embedded Logic", | ^~~~~~~~~~~~~~~~ misc.cc:169:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | "423", | ^~~~~ misc.cc:170:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 170 | "Standard Maintenance Droid", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:174:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 174 | "Embedded Logic", | ^~~~~~~~~~~~~~~~ misc.cc:182:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 182 | "467", | ^~~~~ misc.cc:183:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 183 | "Heavy Duty Maintenance Droid", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:187:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 187 | "Embedded Logic", | ^~~~~~~~~~~~~~~~ misc.cc:195:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 195 | "489", | ^~~~~ misc.cc:196:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 196 | "Aerial Maintenance Droid", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:200:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 200 | "Embedded Logic", | ^~~~~~~~~~~~~~~~ misc.cc:208:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 208 | "513", | ^~~~~ misc.cc:209:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 209 | "Trauma Technician", | ^~~~~~~~~~~~~~~~~~~ misc.cc:213:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 213 | "Neurologic", | ^~~~~~~~~~~~ misc.cc:221:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 221 | "520", | ^~~~~ misc.cc:222:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 222 | "Nurse Droid", | ^~~~~~~~~~~~~ misc.cc:226:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 226 | "Neurologic", | ^~~~~~~~~~~~ misc.cc:234:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 234 | "599", | ^~~~~ misc.cc:235:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 235 | "Surgeon Droid", | ^~~~~~~~~~~~~~~ misc.cc:239:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 239 | "Neurologic", | ^~~~~~~~~~~~ misc.cc:247:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 247 | "606", | ^~~~~ misc.cc:248:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 248 | "Guard Monitor", | ^~~~~~~~~~~~~~~ misc.cc:252:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 252 | "Neurologic", | ^~~~~~~~~~~~ misc.cc:260:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 260 | "691", | ^~~~~ misc.cc:261:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 261 | "Sentinel Droid", | ^~~~~~~~~~~~~~~~ misc.cc:265:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 265 | "Neurologic", | ^~~~~~~~~~~~ misc.cc:273:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 273 | "693", | ^~~~~ misc.cc:274:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 274 | "Centurion Droid", | ^~~~~~~~~~~~~~~~~ misc.cc:278:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 278 | "Neurologic", | ^~~~~~~~~~~~ misc.cc:286:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 286 | "719", | ^~~~~ misc.cc:287:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 287 | "Battle Droid", | ^~~~~~~~~~~~~~ misc.cc:291:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 291 | "Neurologic", | ^~~~~~~~~~~~ misc.cc:299:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 299 | "720", | ^~~~~ misc.cc:300:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 300 | "Flack Droid", | ^~~~~~~~~~~~~ misc.cc:304:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 304 | "Neurologic", | ^~~~~~~~~~~~ misc.cc:312:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 312 | "766", | ^~~~~ misc.cc:313:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 313 | "Attack Droid", | ^~~~~~~~~~~~~~ misc.cc:317:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 317 | "Neurologic", | ^~~~~~~~~~~~ misc.cc:325:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 325 | "799", | ^~~~~ misc.cc:326:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 326 | "Heavy Battle Droid", | ^~~~~~~~~~~~~~~~~~~~ misc.cc:330:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 330 | "Neurologic", | ^~~~~~~~~~~~ misc.cc:338:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 338 | "805", | ^~~~~ misc.cc:339:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 339 | "Communications Droid", | ^~~~~~~~~~~~~~~~~~~~~~ misc.cc:343:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 343 | "Neurologic", | ^~~~~~~~~~~~ misc.cc:351:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 351 | "810", | ^~~~~ misc.cc:352:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 352 | "Engineer Droid", | ^~~~~~~~~~~~~~~~ misc.cc:356:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 356 | "Neurologic", | ^~~~~~~~~~~~ misc.cc:364:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 364 | "820", | ^~~~~ misc.cc:365:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 365 | "Science Droid", | ^~~~~~~~~~~~~~~ misc.cc:369:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 369 | "Neurologic", | ^~~~~~~~~~~~ misc.cc:377:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 377 | "899", | ^~~~~ misc.cc:378:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 378 | "Pilot Droid", | ^~~~~~~~~~~~~ misc.cc:382:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 382 | "Neurologic", | ^~~~~~~~~~~~ misc.cc:428:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 428 | }; | ^ misc.cc:428:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] misc.cc:428:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] misc.cc:428:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] misc.cc:428:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] misc.cc:428:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] misc.cc:428:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] misc.cc:428:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] misc.cc:428:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] misc.cc: In function 'int x_init()': misc.cc:471:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 471 | char *error_m = "x_init() "; | ^~~~~~~~~~~ misc.cc:472:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 472 | char *wname = "Nighthawk " VERSION; misc.cc:477:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 477 | char *font_name = "-*-fixed-*-*-*-*-12-*-*-*-*-*-*-*"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc: In function 'int loadxpm(char*, tbm*)': misc.cc:573:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 573 | register int val; | ^~~ misc.cc: In function 'void drawxpm_ani(tbm*, int, int, int, int)': misc.cc:622:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 622 | register int sy,o; | ^~ misc.cc:622:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 622 | register int sy,o; | ^ misc.cc: In function 'void ramp_colour(short unsigned int, short unsigned int, short unsigned int, short unsigned int, short unsigned int, short unsigned int, long unsigned int*, int)': misc.cc:641:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 641 | register int x; | ^ misc.cc: In function 'int load_flr_xpms()': misc.cc:694:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 694 | register int status = 1; | ^~~~~~ misc.cc:696:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 696 | char *error_m = "load_flr_xpms() "; | ^~~~~~~~~~~~~~~~~~ misc.cc:698:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 698 | register int sprite_c; | ^~~~~~~~ misc.cc: In function 'void free_flr_xpms()': misc.cc:744:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 744 | register int x; | ^ misc.cc: In function 'int load_sprite_xpms()': misc.cc:875:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 875 | if(!loadxpm_xpm("standard/droid_ani.xpm",&droid_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:880:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 880 | if(!loadxpm_xpm("standard/paradroid_ani.xpm",¶droid_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:885:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 885 | if(!loadxpm_xpm("standard/laser_l.xpm",&laser_l_bm)) | ^~~~~~~~~~~~~~~~~~~~~~ misc.cc:890:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 890 | if(!loadxpm_xpm("standard/laser_cb.xpm",&laser_cb_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~ misc.cc:895:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 895 | if(!loadxpm_xpm("standard/laser_uv.xpm",&laser_uv_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~ misc.cc:900:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 900 | if(!loadxpm_xpm("standard/laser_te.xpm",&laser_te_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~ misc.cc:905:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 905 | if(!loadxpm_xpm("standard/explosion.xpm",&explosion_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:910:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 910 | if(!loadxpm_xpm("standard/power_bay.xpm",&power_bay_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:915:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 915 | if(!loadxpm_xpm("standard/ntitle.xpm",&ntitle_bm)) | ^~~~~~~~~~~~~~~~~~~~~ misc.cc:920:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 920 | if(!loadxpm_xpm("standard/flr_door_h_cyan_ani.xpm",&doorh_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:925:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 925 | if(!loadxpm_xpm("standard/flr_door_v_cyan_ani.xpm",&doorv_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:930:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 930 | if(!loadxpm_xpm("standard/digits.xpm",&digit_bm)) | ^~~~~~~~~~~~~~~~~~~~~ misc.cc:935:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 935 | if(!loadxpm_xpm("standard/digits2.xpm",&digit2_bm)) | ^~~~~~~~~~~~~~~~~~~~~~ misc.cc:940:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 940 | if(!loadxpm_xpm("standard/ship_complete.xpm",&ship_complete_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:945:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 945 | if(!loadxpm_xpm("standard/credit_1.xpm",&credit_1_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~ misc.cc:950:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 950 | if(!loadxpm_xpm("standard/credit_2.xpm",&credit_2_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~ misc.cc:955:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 955 | if(!loadxpm_xpm("standard/credit_3.xpm",&credit_3_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~ misc.cc:960:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 960 | if(!loadxpm_xpm("standard/credit_4.xpm",&credit_4_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~ misc.cc:965:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 965 | if(!loadxpm_xpm("standard/credit_5.xpm",&credit_5_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~ misc.cc:970:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 970 | if(!loadxpm_xpm("standard/credit_6.xpm",&credit_6_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~ misc.cc:975:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 975 | if(!loadxpm_xpm("standard/neg.xpm",&neg_bm)) | ^~~~~~~~~~~~~~~~~~ misc.cc:980:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 980 | if(!loadxpm_xpm("standard/paused.xpm",&paused_bm)) | ^~~~~~~~~~~~~~~~~~~~~ misc.cc:985:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 985 | if(!loadxpm_xpm("standard/trans_terminated.xpm",&trans_terminated_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:990:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 990 | if(!loadxpm_xpm("standard/docking_to_ship.xpm",&get_ready1_bm)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:995:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 995 | if(!loadxpm_xpm("standard/intro_back_1.xpm",&intro_back_bm[0])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:1000:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1000 | if(!loadxpm_xpm("standard/intro_back_2.xpm",&intro_back_bm[1])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:1005:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1005 | if(!loadxpm_xpm("standard/intro_back_3.xpm",&intro_back_bm[2])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.cc:1010:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1010 | if(!loadxpm_xpm("standard/intro_back_4.xpm",&intro_back_bm[3])) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tedit_floor.h:4, from floor.cc:26: tfloor.h:28:15: warning: 'virtual int tfloor::create(int, int)' was hidden [-Woverloaded-virtual=] 28 | virtual int create(int x_size,int y_size); | ^~~~~~ tedit_floor.h:13:7: note: by 'int tedit_floor::create(char*, int, int)' 13 | int create(char *fn,int x_size,int y_size); | ^~~~~~ floor.cc: In constructor 'tfloor::tfloor()': floor.cc:33:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 33 | register int x; | ^ floor.cc: In member function 'int tfloor::load(char*, char*)': floor.cc:78:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 78 | register int x,y; | ^ floor.cc:78:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 78 | register int x,y; | ^ floor.cc:95:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register int door_ptr = 0,transport_ptr = 0; | ^~~~~~~~ floor.cc:95:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 95 | register int door_ptr = 0,transport_ptr = 0; | ^~~~~~~~~~~~~ floor.cc: In member function 'virtual void tfloor::draw()': floor.cc:160:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^ floor.cc:160:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^ floor.cc:160:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~ floor.cc:160:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~~~ floor.cc:160:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~ floor.cc:160:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~~~ floor.cc:160:40: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 160 | register int x,y,ipx,ipx_r,ipy,adj_x,adj_y; | ^~~~~ floor.cc: In member function 'void tfloor::bg_calc()': floor.cc:207:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 207 | register int x; | ^ floor.cc: In member function 'void tfloor::unload()': floor.cc:222:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 222 | register int x; | ^ floor.cc: In member function 'int tedit_floor::create(char*, int, int)': floor.cc:249:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 249 | register int x,y; | ^ floor.cc:249:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 249 | register int x,y; | ^ floor.cc: In member function 'int tedit_floor::save()': floor.cc:263:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 263 | register int x,y; | ^ floor.cc:263:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 263 | register int x,y; | ^ floor.cc: In member function 'virtual void tedit_floor::draw()': floor.cc:286:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 286 | register int ipx,ipy,ssp_block; | ^~~ floor.cc:286:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 286 | register int ipx,ipy,ssp_block; | ^~~ floor.cc:286:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 286 | register int ipx,ipy,ssp_block; | ^~~~~~~~~ floor.cc:296:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 296 | register int x1,y1,x2,y2; | ^~ floor.cc:296:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 296 | register int x1,y1,x2,y2; | ^~ floor.cc:296:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 296 | register int x1,y1,x2,y2; | ^~ floor.cc:296:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 296 | register int x1,y1,x2,y2; | ^~ floor.cc: In member function 'void tedit_floor::action(XEvent*)': floor.cc:342:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 342 | register int ipx,ipy; | ^~~ floor.cc:342:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 342 | register int ipx,ipy; | ^~~ In file included from tedit_floor.h:4, from object.cc:26: tfloor.h:28:15: warning: 'virtual int tfloor::create(int, int)' was hidden [-Woverloaded-virtual=] 28 | virtual int create(int x_size,int y_size); | ^~~~~~ tedit_floor.h:13:7: note: by 'int tedit_floor::create(char*, int, int)' 13 | int create(char *fn,int x_size,int y_size); | ^~~~~~ In file included from tdroid.h:4, from tparadroid.h:4, from object.cc:27: tentity.h:19:16: warning: 'virtual void tentity::init(tfloor*, tbm*, tentity**, int, float, float)' was hidden [-Woverloaded-virtual=] 19 | virtual void init( | ^~~~ In file included from tdroid.h:5: tlaser.h:15:16: note: by 'virtual void tlaser::init(tfloor*, tentity**, float, float, int, int, tentity*)' 15 | virtual void init( | ^~~~ tentity.h:19:16: warning: 'virtual void tentity::init(tfloor*, tbm*, tentity**, int, float, float)' was hidden [-Woverloaded-virtual=] 19 | virtual void init( | ^~~~ tdroid.h:16:8: note: by 'void tdroid::init(tfloor*, tentity**, float, float)' 16 | void init(tfloor *f,tentity **dp,float px,float py); | ^~~~ tentity.h:19:16: warning: 'virtual void tentity::init(tfloor*, tbm*, tentity**, int, float, float)' was hidden [-Woverloaded-virtual=] 19 | virtual void init( | ^~~~ tparadroid.h:17:8: note: by 'void tparadroid::init(tfloor*, tentity**, float, float)' 17 | void init(tfloor *f,tentity **dp,float px,float py); | ^~~~ object.cc: In member function 'void tpower_bay::draw(int, int)': object.cc:57:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 57 | register int ix,iy; | ^~ object.cc:57:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 57 | register int ix,iy; | ^~ object.cc: In member function 'void tentity::do_sound(int, int)': object.cc:165:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 165 | register int vol; | ^~~ object.cc:173:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 173 | register int bal; | ^~~ object.cc: In member function 'int tentity::colision_other(float, float)': object.cc:185:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 185 | register int x,status = 0; | ^ object.cc:185:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 185 | register int x,status = 0; | ^~~~~~ object.cc: In member function 'int tentity::colision_droids(float, float)': object.cc:223:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 223 | register int x; | ^ object.cc: In member function 'int tlaser::colision_droids(float, float)': object.cc:342:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 342 | register int x; | ^ object.cc: In member function 'virtual void tlaser::colision(float, float)': object.cc:369:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 369 | register int status = 0; | ^~~~~~ object.cc: In member function 'void tlaser::buzz()': object.cc:413:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 413 | register float d1,d2; | ^~ object.cc:413:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 413 | register float d1,d2; | ^~ object.cc:421:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 421 | ((tparadroid *)droids[0])->add_message("buzzed!"); | ^~~~~~~~~ object.cc: In member function 'void tlaser::draw(tfloor*, int, int)': object.cc:433:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 433 | register int ix,iy; | ^~ object.cc:433:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 433 | register int ix,iy; | ^~ object.cc: In constructor 'tdroid::tdroid()': object.cc:552:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 552 | register int x; | ^ object.cc: In member function 'int tdroid::create_laser(int, int)': object.cc:570:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 570 | register int x,status = 0; | ^ object.cc:570:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 570 | register int x,status = 0; | ^~~~~~ object.cc: In member function 'void tdroid::free_all_laser()': object.cc:600:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 600 | register int x; | ^ object.cc: In member function 'virtual void tdroid::snap_shot()': object.cc:612:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 612 | register int x; | ^ object.cc: In member function 'void tdroid::draw_laser(tfloor*, int, int)': object.cc:624:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 624 | register int x; | ^ object.cc: In member function 'void tdroid::bg_calc_laser()': object.cc:633:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 633 | register int x; | ^ object.cc: In member function 'void tdroid::shields_low(int, int)': object.cc:649:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 649 | register int a; | ^ object.cc: In member function 'void tdroid::draw(tfloor*, int, int)': object.cc:675:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 675 | register int ix,iy,x; | ^~ object.cc:675:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 675 | register int ix,iy,x; | ^~ object.cc:675:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 675 | register int ix,iy,x; | ^ object.cc: In member function 'virtual void tdroid::bg_calc()': object.cc:704:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 704 | register int spin; | ^~~~ object.cc: In member function 'virtual void tdroid::display_nd()': object.cc:762:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 762 | register int a,nd = 0; | ^ object.cc:762:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 762 | register int a,nd = 0; | ^~ object.cc: In constructor 'tparadroid::tparadroid()': object.cc:813:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 813 | register int x; | ^ object.cc: In destructor 'virtual tparadroid::~tparadroid()': object.cc:826:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 826 | register int x; | ^ object.cc: In member function 'void tparadroid::draw()': object.cc:840:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 840 | register int x; | ^ object.cc:864:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 864 | register int np,nv; | ^~ object.cc:864:27: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 864 | register int np,nv; | ^~ object.cc: In member function 'int tparadroid::within_capt_dist()': object.cc:895:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 895 | register int d1,d2; | ^~ object.cc:895:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 895 | register int d1,d2; | ^~ object.cc: In member function 'virtual void tparadroid::bg_calc()': object.cc:927:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 927 | add_message("lost contact"); | ^~~~~~~~~~~~~~ object.cc:931:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 931 | add_message("Forced detach"); | ^~~~~~~~~~~~~~~ object.cc:936:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 936 | register int tt; | ^~ object.cc:948:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 948 | add_message("Burn out!"); | ^~~~~~~~~~~ object.cc:978:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 978 | add_message("Transferred!!"); | ^~~~~~~~~~~~~~~ object.cc:925:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 925 | if(captured_droid != NULL) | ^ object.cc: In member function 'void tparadroid::capture_droid(int, int)': object.cc:987:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 987 | register int x; | ^ object.cc:1021:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1021 | add_message("Empty Space"); | ^~~~~~~~~~~~~ object.cc: In member function 'int tparadroid::action(XEvent*)': object.cc:1027:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1027 | register int s = 0; | ^ object.cc:1029:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1029 | char *no_weapon_mess = "No weapon!"; | ^~~~~~~~~~~~ object.cc:1064:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1064 | if(!transferring) | ^ object.cc:1109:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1109 | add_message("Transfer on"); | ^~~~~~~~~~~~~ object.cc:1114:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1114 | add_message("Transfer off"); | ^~~~~~~~~~~~~~ object.cc:1120:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1120 | add_message("You're commited!"); | ^~~~~~~~~~~~~~~~~~ object.cc:1127:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1127 | add_message("Can't trans."); | ^~~~~~~~~~~~~~ object.cc:1132:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1132 | register int x,rpx,rpy; | ^ object.cc:1132:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1132 | register int x,rpx,rpy; | ^~~ object.cc:1132:32: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1132 | register int x,rpx,rpy; | ^~~ object.cc:1139:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1139 | register int ix,iy; | ^~ object.cc:1139:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1139 | register int ix,iy; | ^~ object.cc:1155:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1155 | register int ix,iy; | ^~ object.cc:1155:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1155 | register int ix,iy; | ^~ object.cc:1162:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1162 | register int cf1,cf2; | ^~~ object.cc:1162:34: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1162 | register int cf1,cf2; | ^~~ object.cc:1181:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1181 | register int ix,iy; | ^~ object.cc:1181:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1181 | register int ix,iy; | ^~ object.cc: In member function 'void tparadroid::add_message(char*)': object.cc:1217:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1217 | register int x; | ^ object.cc: In member function 'int tdroid_108::append_cmd(tdroid_cmd_list**, int, int, int)': object.cc:1246:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1246 | register int r = 0; | ^ object.cc: In member function 'virtual void tdroid_108::bg_calc()': object.cc:1314:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1314 | register int ix,iy; | ^~ object.cc:1314:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1314 | register int ix,iy; | ^~ object.cc: In member function 'int tdroid_606::target_not_hidden(tentity*)': object.cc:1457:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1457 | register int a,i; | ^ object.cc:1457:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1457 | register int a,i; | ^ object.cc:1473:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1473 | register int sx,sy; | ^~ object.cc:1473:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 1473 | register int sx,sy; | ^~ object.cc: In member function 'virtual void tdroid_606::attack()': object.cc:1506:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1506 | if((floor_ptr == droids[0]->floor_ptr) && (!droids[0]->state)) | ^ object.cc: In member function 'void tdroid_719::move()': object.cc:1607:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1607 | if((pos_dx == 0) && (pos_dy == 0)) | ^ object.cc: In member function 'virtual void tdroid_805::attack()': object.cc:1679:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1679 | if(evase) | ^ g++ -DPREFIX="\"/opt/local\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var\"" -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/local/include -Wl,-R/opt/local/lib -L/opt/local/lib -lXpm -lX11 -DPREFIX="\"/opt/local\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var\"" -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c ship.cc -o ship.o In file included from tdroid.h:4, from tparadroid.h:4, from tship.h:5, from ship.cc:29: tentity.h:19:16: warning: 'virtual void tentity::init(tfloor*, tbm*, tentity**, int, float, float)' was hidden [-Woverloaded-virtual=] 19 | virtual void init( | ^~~~ In file included from tdroid.h:5: tlaser.h:15:16: note: by 'virtual void tlaser::init(tfloor*, tentity**, float, float, int, int, tentity*)' 15 | virtual void init( | ^~~~ tentity.h:19:16: warning: 'virtual void tentity::init(tfloor*, tbm*, tentity**, int, float, float)' was hidden [-Woverloaded-virtual=] 19 | virtual void init( | ^~~~ tdroid.h:16:8: note: by 'void tdroid::init(tfloor*, tentity**, float, float)' 16 | void init(tfloor *f,tentity **dp,float px,float py); | ^~~~ tentity.h:19:16: warning: 'virtual void tentity::init(tfloor*, tbm*, tentity**, int, float, float)' was hidden [-Woverloaded-virtual=] 19 | virtual void init( | ^~~~ tparadroid.h:17:8: note: by 'void tparadroid::init(tfloor*, tentity**, float, float)' 17 | void init(tfloor *f,tentity **dp,float px,float py); | ^~~~ ship.cc: In constructor 'tship::tship()': ship.cc:36:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 36 | register int x; | ^ ship.cc: In member function 'int tship::create_floor(tfloor_list**, char*)': ship.cc:50:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 50 | register int status = 0; | ^~~~~~ ship.cc: In member function 'void tship::free_all_floor(tfloor_list**)': ship.cc:144:5: warning: deleting object of polymorphic class type 'tfloor' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 144 | delete((*ptr)->curr); | ^~~~~~~~~~~~~~~~~~~~ ship.cc: In member function 'int tship::load(char*)': ship.cc:171:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 171 | register int droid_ptr = 1; | ^~~~~~~~~ ship.cc:196:28: warning: variable 'p' set but not used [-Wunused-but-set-variable] 196 | ttransport_list *p; | ^ ship.cc: In member function 'void tship::unload()': ship.cc:331:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 331 | register int x; | ^ ship.cc: In member function 'void tship::diagram_draw()': ship.cc:347:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 347 | register int ox,oy,sprtx,sprty; | ^~ ship.cc:347:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 347 | register int ox,oy,sprtx,sprty; | ^~ ship.cc:347:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 347 | register int ox,oy,sprtx,sprty; | ^~~~~ ship.cc:347:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 347 | register int ox,oy,sprtx,sprty; | ^~~~~ ship.cc: In member function 'void tship::transport_set()': ship.cc:388:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 388 | register int ix,iy; | ^~ ship.cc:388:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 388 | register int ix,iy; | ^~ ship.cc: In member function 'void tship::transport_change_up()': ship.cc:414:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 414 | register int selection = -1; | ^~~~~~~~~ ship.cc: In member function 'void tship::transport_change_dn()': ship.cc:435:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 435 | register int selection = 0xffff; | ^~~~~~~~~ ship.cc: In member function 'void tship::console_draw()': ship.cc:455:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register int ox,oy; | ^~ ship.cc:455:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 455 | register int ox,oy; | ^~ ship.cc:457:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 457 | char *header_mess = "Ship Computer- Droid Records"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ship.cc: In member function 'void tship::level_check_event()': ship.cc:579:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 579 | register int s; | ^ ship.cc:599:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 599 | register int ch; | ^~ ship.cc: In member function 'void tship::level_bg_calc()': ship.cc:675:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 675 | register int x,nd = 0; | ^ ship.cc:675:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 675 | register int x,nd = 0; | ^~ ship.cc: In member function 'void tship::print_score()': ship.cc:714:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 714 | register int x,val; | ^ ship.cc:714:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 714 | register int x,val; | ^~~ ship.cc:730:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 730 | register int i; | ^ ship.cc: In member function 'void tship::print_info()': ship.cc:740:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 740 | register int x; | ^ ship.cc: In member function 'void tship::play_draw()': ship.cc:785:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 785 | register int x; | ^ g++ -DPREFIX="\"/opt/local\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var\"" -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/local/include -Wl,-R/opt/local/lib -L/opt/local/lib -lXpm -lX11 -DPREFIX="\"/opt/local\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var\"" -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c nighthawk.cc -o nighthawk.o ship.cc: In member function 'int tship::load(char*)': ship.cc:185:18: warning: 'char* std::strncpy(char*, const char*, size_t)' output may be truncated copying 40 bytes from a string of length 249 [-Wstringop-truncation] 185 | strncpy(type,str + 6,STR_LABEL_LEN); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tdroid.h:4, from tparadroid.h:4, from tship.h:5, from nighthawk.cc:36: tentity.h:19:16: warning: 'virtual void tentity::init(tfloor*, tbm*, tentity**, int, float, float)' was hidden [-Woverloaded-virtual=] 19 | virtual void init( | ^~~~ In file included from tdroid.h:5: tlaser.h:15:16: note: by 'virtual void tlaser::init(tfloor*, tentity**, float, float, int, int, tentity*)' 15 | virtual void init( | ^~~~ tentity.h:19:16: warning: 'virtual void tentity::init(tfloor*, tbm*, tentity**, int, float, float)' was hidden [-Woverloaded-virtual=] 19 | virtual void init( | ^~~~ tdroid.h:16:8: note: by 'void tdroid::init(tfloor*, tentity**, float, float)' 16 | void init(tfloor *f,tentity **dp,float px,float py); | ^~~~ tentity.h:19:16: warning: 'virtual void tentity::init(tfloor*, tbm*, tentity**, int, float, float)' was hidden [-Woverloaded-virtual=] 19 | virtual void init( | ^~~~ tparadroid.h:17:8: note: by 'void tparadroid::init(tfloor*, tentity**, float, float)' 17 | void init(tfloor *f,tentity **dp,float px,float py); | ^~~~ nighthawk.cc:43:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 43 | "Haldeck", | ^~~~~~~~~ nighthawk.cc:44:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 44 | "Seafarer", | ^~~~~~~~~~ nighthawk.cc:45:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 45 | "Anoyle", | ^~~~~~~~ nighthawk.cc:46:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 46 | "Esperence", | ^~~~~~~~~~~ nighthawk.cc:47:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | "Ophukus", | ^~~~~~~~~ nighthawk.cc:48:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 48 | "Mearkat", | ^~~~~~~~~ nighthawk.cc:49:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | "Friendship", | ^~~~~~~~~~~~ nighthawk.cc:50:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | "Discovery", | ^~~~~~~~~~~ nighthawk.cc:51:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 51 | "Zaxon", | ^~~~~~~ nighthawk.cc:52:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | "Tobruk", | ^~~~~~~~ nighthawk.cc: In function 'void init()': nighthawk.cc:68:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 68 | register int x; | ^ nighthawk.cc: In function 'std::FILE* load_scores_sub()': <command-line>: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../options.h:12:21: note: in expansion of macro 'VARBASE' 12 | #define SCORES_FILE VARBASE"/games/nighthawk.scores" | ^~~~~~~ nighthawk.cc:97:14: note: in expansion of macro 'SCORES_FILE' 97 | fp = lopen(SCORES_FILE,"r+b"); | ^~~~~~~~~~~ nighthawk.cc:97:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 97 | fp = lopen(SCORES_FILE,"r+b"); | ^~~~~ <command-line>: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ../options.h:12:21: note: in expansion of macro 'VARBASE' 12 | #define SCORES_FILE VARBASE"/games/nighthawk.scores" | ^~~~~~~ nighthawk.cc:106:16: note: in expansion of macro 'SCORES_FILE' 106 | fp = lopen(SCORES_FILE,"w+b"); | ^~~~~~~~~~~ nighthawk.cc:106:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 106 | fp = lopen(SCORES_FILE,"w+b"); | ^~~~~ nighthawk.cc: In function 'void update_score(int)': nighthawk.cc:131:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 131 | register int x; | ^ nighthawk.cc:136:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 136 | register int y; | ^ nighthawk.cc:151:24: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 151 | register int a; | ^ nighthawk.cc: In function 'void display_message(char*, int)': nighthawk.cc:215:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 215 | register int c; | ^ nighthawk.cc:225:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 225 | register int sl; | ^~ nighthawk.cc: In function 'void main_logo_fg()': nighthawk.cc:327:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 327 | "5(C) 1997,98, Jason Nunn (JsNO)\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 328 | "5www.downunder.net.au/~jsno\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 329 | "5\n" | ~~~~~ 330 | "5'Rescue from Vega' (FunktrackerGOLD)\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 331 | "5(C) 1998, Vincent Voois (Vv)\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 332 | "5home.worldonline.nl/~vvacme\n\0"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nighthawk.cc: In function 'void main_logo_fg2()': nighthawk.cc:343:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 343 | "0Space to play, Q to Quit.\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 344 | "0RTFM for instructions.\n\0"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nighthawk.cc: In function 'void display_scores_fg()': nighthawk.cc:387:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 387 | register int x; | ^ nighthawk.cc:397:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 397 | register int yp; | ^~ In file included from nighthawk.cc:413: scroll.inc: At global scope: scroll.inc:2:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2 | " -= Paradroid =- " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 | " " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 | " Chapter II - The Rescue from Vega! " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 | " " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 | " " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 | "The Earth forces have ambushed" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 | "an enemy fleet transporting captured" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 | "Earth vessels bound for Vega. While" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10 | "crews were boarding these ships for" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11 | "repairs, surviving Vegarian crew" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12 | "destroyed each ships warp core." | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13 | "This has made the ships very" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 | "radioactive, causing many of the" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 | "droids on board these ships to go" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16 | "'rogue'. Our last contact with the" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17 | "crew indicated heavy loss of life." | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 | "All attempts at contact or rescue" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 | "have proved futile. We can only fear" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 20 | "the worst.. " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 | " " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | "..However, we have depatched a Class" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | "002 Paradroid. Improved over the 001" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 | "class, the 002 will teleport to each" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | "ship and annihilate all droids. " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | " " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 27 | " " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 | " Hit Space to Start. " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 29 | " RTFM for instructions. "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nighthawk.cc: In function 'void draw_scroll_fg()': nighthawk.cc:438:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 438 | register int a,b,c,d; | ^ nighthawk.cc:438:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 438 | register int a,b,c,d; | ^ nighthawk.cc:438:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 438 | register int a,b,c,d; | ^ nighthawk.cc:438:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 438 | register int a,b,c,d; | ^ nighthawk.cc:448:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 448 | register int p; | ^ nighthawk.cc: In function 'void contacts_1_fg()': nighthawk.cc:471:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 471 | "0GPL\n" | ^~~~~~~~ 472 | "4\n" | ~~~~~ 473 | "4Nighthawk comes under the GNU\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 474 | "4GENERAL PUBLIC LICENSE AGREEMENT,and\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 475 | "4comes with ABSOLUTELY NO WARRANTY.\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 476 | "4This is free software, and you are\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 477 | "4welcome to redistribute it under\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 478 | "4certain conditions.\n\0"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~ nighthawk.cc: In function 'void contacts_2_fg()': nighthawk.cc:487:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 487 | "0=Contacts=\n" | ^~~~~~~~~~~~~~~ 488 | "4\n" | ~~~~~ 489 | "4-Jason Nunn-\n" | ~~~~~~~~~~~~~~~~~ 490 | "1<jsno@downunder.net.au>\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 491 | "1<jsno@stormfront.com.au>\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 492 | "1http://www.downunder.net.au/~jsno\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 493 | "4\n" | ~~~~~ 494 | "432 Rothdale Rd\n" | ~~~~~~~~~~~~~~~~~~~ 495 | "4Moil Darwin NT 0810\n" | ~~~~~~~~~~~~~~~~~~~~~~~~ 496 | "4AUSTRALIA\n\0"; | ~~~~~~~~~~~~~~~~ nighthawk.cc: In function 'void contacts_3_fg()': nighthawk.cc:505:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 505 | "0=Contacts=\n" | ^~~~~~~~~~~~~~~ 506 | "4\n" | ~~~~~ 507 | "4-Vincent Voois (Musician)-\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 508 | "1<vvacme@worldonline.nl>\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 509 | "1http://home.worldonline.nl/~vvacme\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 510 | "4\n" | ~~~~~ 511 | "4Adrian Bridgett (Debian Maintainer)\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 512 | "1<adrian.bridgett@poboxes.com>\n"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nighthawk.cc: In function 'void contacts_4_fg()': nighthawk.cc:521:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 521 | "4Thanks to the many people who have\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 522 | "4emailed feedback about Nighthawk.\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 523 | "4\n" | ~~~~~ 524 | "1Support Free Software!\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 525 | "4\n" | ~~~~~ 526 | "1Go GNU and Linux!!\n" | ~~~~~~~~~~~~~~~~~~~~~~~ 527 | "4Stick it up ya arse Billy Gates!\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 528 | "4\n" | ~~~~~ 529 | "4Hit Space to Start.\n" | ~~~~~~~~~~~~~~~~~~~~~~~~ 530 | "4RTFM for instructions.\n"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ nighthawk.cc: In function 'int draw_intro()': nighthawk.cc:581:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 581 | register int intro_f = 0,x; | ^~~~~~~ nighthawk.cc:581:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 581 | register int intro_f = 0,x; | ^ nighthawk.cc:601:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 601 | register int ch; | ^~ nighthawk.cc: In function 'void get_ready()': nighthawk.cc:640:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 640 | register int a,siren_r = 0,siren_c = 0; | ^ nighthawk.cc:640:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 640 | register int a,siren_r = 0,siren_c = 0; | ^~~~~~~ nighthawk.cc:640:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 640 | register int a,siren_r = 0,siren_c = 0; | ^~~~~~~ nighthawk.cc:646:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 646 | if(siren_c < 3) | ^ nighthawk.cc: In function 'void display_final_score()': nighthawk.cc:678:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 678 | register int sl; | ^~ nighthawk.cc: In function 'void trans_terminated()': nighthawk.cc:689:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 689 | register int a; | ^ nighthawk.cc:695:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^ nighthawk.cc:695:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^ nighthawk.cc:695:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^~ nighthawk.cc:695:25: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^~ nighthawk.cc:695:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^~~~~~ nighthawk.cc:695:39: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 695 | register int x,y,ww,wh,ww_inc = 0,wh_inc = 0; | ^~~~~~ nighthawk.cc: In function 'void finale()': nighthawk.cc:736:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 736 | register int a; | ^ nighthawk.cc:738:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 738 | "1\n" | ^~~~~ 739 | "1 You have completed all levels.\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 740 | "1\n" | ~~~~~ 741 | "1\n" | ~~~~~ 742 | "1 Thankyou for playing Nighthawk.\n\0"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nighthawk.cc: In function 'void game()': nighthawk.cc:788:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 788 | register int dead = 0; | ^~~~ nighthawk.cc: In function 'int main(int, char**)': nighthawk.cc:840:16: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 840 | register int x,sound = 0; | ^ nighthawk.cc:840:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 840 | register int x,sound = 0; | ^~~~~ nighthawk.cc: In function 'void display_scores_fg()': nighthawk.cc:401:18: warning: '%-8s' directive writing between 8 and 395 bytes into a region of size 256 [-Wformat-overflow=] 401 | sprintf(str,"%-8s %-15s %-11s %8d", | ^~~~ nighthawk.cc:401:12: note: 'std::sprintf' output 46 or more bytes (assuming 433) into a destination of size 256 401 | sprintf(str,"%-8s %-15s %-11s %8d", | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 402 | score_table[x].name, | ~~~~~~~~~~~~~~~~~~~~ 403 | score_table[x].highest_ship, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 404 | score_table[x].time, | ~~~~~~~~~~~~~~~~~~~~ 405 | score_table[x].score); | ~~~~~~~~~~~~~~~~~~~~~ ship.cc: In member function 'void tship::print_info()': ship.cc:749:25: warning: '%s' directive writing up to 40 bytes into a region of size 33 [-Wformat-overflow=] 749 | sprintf(str," Ship: %s",name); | ^~ ship.cc:749:12: note: 'std::sprintf' output between 8 and 48 bytes into a destination of size 40 749 | sprintf(str," Ship: %s",name); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ship.cc:752:25: warning: '%s' directive writing up to 39 bytes into a region of size 33 [-Wformat-overflow=] 752 | sprintf(str,"Floor: %s",curr_location->floor->name); | ^~ ship.cc:752:12: note: 'std::sprintf' output between 8 and 47 bytes into a destination of size 40 752 | sprintf(str,"Floor: %s",curr_location->floor->name); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nighthawk.cc: In function 'void get_ready()': nighthawk.cc:660:27: warning: '%s' directive writing up to 40 bytes into a region of size 31 [-Wformat-overflow=] 660 | sprintf(str,"Starship %s",ship->name); | ^~ nighthawk.cc:660:12: note: 'std::sprintf' output between 10 and 50 bytes into a destination of size 40 660 | sprintf(str,"Starship %s",ship->name); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DPREFIX="\"/opt/local\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var\"" -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/local/include -Wl,-R/opt/local/lib -L/opt/local/lib -lXpm -lX11 misc.o floor.o object.o ship.o nighthawk.o -DPREFIX="\"/opt/local\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var\"" -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/opt/local/include -Wl,-R/opt/local/lib -L/opt/local/lib -lXpm -lX11 -o nighthawk strip nighthawk gmake[1]: Leaving directory '/home/pbulk/build/games/nighthawk/work/nighthawk/src' cd /home/pbulk/build/games/nighthawk/work/nighthawk/src_sound && /usr/bin/env OSTYPE=SunOS USETOOLS=no LIBOSSAUDIO= DEVOSSAUDIO=/dev/dsp DEVOSSSOUND=/dev/dsp CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/local/include\ -I/usr/include CPPFLAGS=-DPREFIX=\"\\\"/opt/local\\\"\"\ -DDEVOSSAUDIO=\"\\\"/dev/dsp\\\"\"\ -DVARBASE=\"\\\"/var\\\"\"\ -I/opt/local/include\ -I/usr/include CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/local/include\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran 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/local/lib\ -Wl,-R/opt/local/lib\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64 LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/games/nighthawk/work/.cwrapper/bin:/home/pbulk/build/games/nighthawk/work/.buildlink/bin:/home/pbulk/build/games/nighthawk/work/.gcc/bin:/home/pbulk/build/games/nighthawk/work/.tools/bin:/opt/local/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/local/bin:/opt/local/bin PREFIX=/opt/local 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/local/etc HOME=/home/pbulk/build/games/nighthawk/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/games/nighthawk/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/local X11BASE=/opt/local PKGMANDIR=man PKGINFODIR=info PKGGNUDIR= MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/local/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/local/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/local/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/games/nighthawk/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/games/nighthawk/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/games/nighthawk/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/games/nighthawk/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/games/nighthawk/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/games/nighthawk/work/.buildlink/lib/pkgconfig:/home/pbulk/build/games/nighthawk/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/games/nighthawk/work/.pkg-config.log PKG_CONFIG_PATH= DL_CFLAGS= DL_LDFLAGS= DL_LIBS= PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr CWRAPPERS_CONFIG_DIR=/home/pbulk/build/games/nighthawk/work/.cwrapper/config /opt/local/bin/gmake nighthawk_sound gcc -DPREFIX="\"/opt/local\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var\"" -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DNetBSD -c dsp_mixxer.c -o dsp_mixxer.o dsp_mixxer.c: In function 'init_dsp_buffers': dsp_mixxer.c:94:16: error: 'SNDCTL_DSP_RESET' undeclared (first use in this function) 94 | ioctl(dsp_fp,SNDCTL_DSP_RESET, 0); | ^~~~~~~~~~~~~~~~ dsp_mixxer.c:94:16: note: each undeclared identifier is reported only once for each function it appears in dsp_mixxer.c: In function 'close_dsp': dsp_mixxer.c:190:18: error: 'SNDCTL_DSP_RESET' undeclared (first use in this function) 190 | ioctl(dsp_fp,SNDCTL_DSP_RESET, 0); | ^~~~~~~~~~~~~~~~ dsp_mixxer.c: In function 'open_dsp': dsp_mixxer.c:261:20: error: 'SNDCTL_DSP_SAMPLESIZE' undeclared (first use in this function) 261 | ioctl(dsp_fp,SNDCTL_DSP_SAMPLESIZE,&(funk_info.precision)); | ^~~~~~~~~~~~~~~~~~~~~ dsp_mixxer.c:262:20: error: 'SNDCTL_DSP_STEREO' undeclared (first use in this function) 262 | ioctl(dsp_fp,SNDCTL_DSP_STEREO,&(funk_info.stereo)); | ^~~~~~~~~~~~~~~~~ dsp_mixxer.c:263:20: error: 'SNDCTL_DSP_SPEED' undeclared (first use in this function) 263 | ioctl(dsp_fp,SNDCTL_DSP_SPEED,&(funk_info.sampling_rate)); | ^~~~~~~~~~~~~~~~ dsp_mixxer.c:264:20: error: 'SNDCTL_DSP_SETFRAGMENT' undeclared (first use in this function) 264 | ioctl(dsp_fp,SNDCTL_DSP_SETFRAGMENT,&frag); | ^~~~~~~~~~~~~~~~~~~~~~ gmake: *** [Makefile:66: dsp_mixxer.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/nighthawk *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/games/nighthawk