+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nighthawk-2.1nb5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nighthawk-2.1nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for nighthawk-2.1nb5
(cd src ; /opt/pkg/bin/gmake)
gmake[1]: Entering directory '/home/pbulk/build/games/nighthawk/work/nighthawk/src'
g++ -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var/opt/pkg\"" -I/opt/pkg/include -I/usr/include -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/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="\"/dev/dsp\"" -DVARBASE="\"/var/opt/pkg\"" -I/opt/pkg/include -I/usr/include -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c misc.cc -o misc.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 load_flr_xpms()':
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: 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",&paradroid_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]))
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var/opt/pkg\"" -I/opt/pkg/include -I/usr/include -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/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="\"/dev/dsp\"" -DVARBASE="\"/var/opt/pkg\"" -I/opt/pkg/include -I/usr/include -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c floor.cc -o floor.o
g++ -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var/opt/pkg\"" -I/opt/pkg/include -I/usr/include -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/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="\"/dev/dsp\"" -DVARBASE="\"/var/opt/pkg\"" -I/opt/pkg/include -I/usr/include -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c object.cc -o object.o
object.cc: In member function 'void tlaser::buzz()':
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 '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: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: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: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: 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/pkg\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var/opt/pkg\"" -I/opt/pkg/include -I/usr/include -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/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="\"/dev/dsp\"" -DVARBASE="\"/var/opt/pkg\"" -I/opt/pkg/include -I/usr/include -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c ship.cc -o ship.o
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:196:28: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  196 |           ttransport_list *p;
      |                            ^
ship.cc: In member function 'void tship::console_draw()':
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::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);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var/opt/pkg\"" -I/opt/pkg/include -I/usr/include -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/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="\"/dev/dsp\"" -DVARBASE="\"/var/opt/pkg\"" -I/opt/pkg/include -I/usr/include -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c nighthawk.cc -o nighthawk.o
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 '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 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";
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 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 'void get_ready()':
nighthawk.cc:646:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
  646 |     if(siren_c < 3)
      |       ^
nighthawk.cc: In function 'void finale()':
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 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/pkg\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var/opt/pkg\"" -I/opt/pkg/include -I/usr/include -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/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="\"/dev/dsp\"" -DVARBASE="\"/var/opt/pkg\"" -I/opt/pkg/include -I/usr/include -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/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
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\ -fno-aggressive-loop-optimizations\ -pipe\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include\ -I/usr/include CPPFLAGS=-DPREFIX=\"\\\"/opt/pkg\\\"\"\ -DDEVOSSAUDIO=\"\\\"/dev/dsp\\\"\"\ -DVARBASE=\"\\\"/var/opt/pkg\\\"\"\ -I/opt/pkg/include\ -I/usr/include CXX=g++ CXXFLAGS=-pipe\ -fno-aggressive-loop-optimizations\ -pipe\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/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/pkg/lib\ -Wl,-R/opt/pkg/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/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/etc/opt/pkg HOME=/home/pbulk/build/games/nighthawk/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/games/nighthawk/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/pkg/bin/bsdinstall\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/pkg/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/pkg/bin/bsdinstall\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/pkg/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= 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= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/games/nighthawk/work/.cwrapper/config /opt/pkg/bin/gmake nighthawk_sound
gcc -DPREFIX="\"/opt/pkg\"" -DDEVOSSAUDIO="\"/dev/dsp\"" -DVARBASE="\"/var/opt/pkg\"" -I/opt/pkg/include -I/usr/include -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/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 in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/nighthawk
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/nighthawk