=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for nighthawk-2.1nb5 (cd src ; /usr/pkg/bin/gmake) gmake[1]: Entering directory '/usr/pkgsrc/work/games/nighthawk/work/nighthawk/src' g++ -DPREFIX="\"/usr/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/usr/pkg/var\"" -I/usr/pkg/include -I/usr/X11R7/include -O2 -march=i586 -I/usr/pkg/include -I/usr/X11R7/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/usr/X11R7/include -Wl,-R/usr/X11R7/lib -L/usr/X11R7/lib -lXpm -lX11 -DPREFIX="\"/usr/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/usr/pkg/var\"" -I/usr/pkg/include -I/usr/X11R7/include -O2 -march=i586 -I/usr/pkg/include -I/usr/X11R7/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c misc.cc -o misc.o misc.cc:78:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "002", ^ misc.cc:79:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Paradroid", ^ misc.cc:83:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:91:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "108", ^ misc.cc:92:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Minor Cleaning Droid", ^ misc.cc:96:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Embedded Logic", ^ misc.cc:104:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "176", ^ misc.cc:105:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Standard Cleaning Droid", ^ misc.cc:109:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Embedded Logic", ^ misc.cc:117:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "261", ^ misc.cc:118:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Cargo Paletting Droid", ^ misc.cc:122:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Embedded Logic", ^ misc.cc:130:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "275", ^ misc.cc:131:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Servant Droid", ^ misc.cc:135:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Embedded Logic", ^ misc.cc:143:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "355", ^ misc.cc:144:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Messenger (Class C) Droid", ^ misc.cc:148:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Embedded Logic", ^ misc.cc:156:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "368", ^ misc.cc:157:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Messenger (Class D) Droid", ^ misc.cc:161:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Embedded Logic", ^ misc.cc:169:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "423", ^ misc.cc:170:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Standard Maintenance Droid", ^ misc.cc:174:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Embedded Logic", ^ misc.cc:182:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "467", ^ misc.cc:183:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Heavy Duty Maintenance Droid", ^ misc.cc:187:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Embedded Logic", ^ misc.cc:195:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "489", ^ misc.cc:196:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Aerial Maintenance Droid", ^ misc.cc:200:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Embedded Logic", ^ misc.cc:208:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "513", ^ misc.cc:209:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Trauma Technician", ^ misc.cc:213:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:221:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "520", ^ misc.cc:222:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Nurse Droid", ^ misc.cc:226:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:234:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "599", ^ misc.cc:235:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Surgeon Droid", ^ misc.cc:239:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:247:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "606", ^ misc.cc:248:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Guard Monitor", ^ misc.cc:252:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:260:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "691", ^ misc.cc:261:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Sentinel Droid", ^ misc.cc:265:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:273:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "693", ^ misc.cc:274:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Centurion Droid", ^ misc.cc:278:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:286:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "719", ^ misc.cc:287:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Battle Droid", ^ misc.cc:291:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:299:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "720", ^ misc.cc:300:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Flack Droid", ^ misc.cc:304:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:312:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "766", ^ misc.cc:313:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Attack Droid", ^ misc.cc:317:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:325:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "799", ^ misc.cc:326:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Heavy Battle Droid", ^ misc.cc:330:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:338:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "805", ^ misc.cc:339:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Communications Droid", ^ misc.cc:343:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:351:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "810", ^ misc.cc:352:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Engineer Droid", ^ misc.cc:356:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:364:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "820", ^ misc.cc:365:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Science Droid", ^ misc.cc:369:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:377:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "899", ^ misc.cc:378:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Pilot Droid", ^ misc.cc:382:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:390:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "933", ^ misc.cc:391:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Minor Cyborg", ^ misc.cc:395:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:403:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "949", ^ misc.cc:404:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Command Cyborg", ^ misc.cc:408:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:416:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "999", ^ misc.cc:417:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Fleet Cyborg", ^ misc.cc:421:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Neurologic", ^ misc.cc:471:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *error_m = "x_init() "; ^ misc.cc:472:17: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *wname = "Nighthawk " VERSION; ^ misc.cc:477:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *font_name = "-*-fixed-*-*-*-*-12-*-*-*-*-*-*-*"; ^ misc.cc:696:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *error_m = "load_flr_xpms() "; ^ misc.cc:875:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/droid_ani.xpm",&droid_bm)) ^ misc.cc:880:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/paradroid_ani.xpm",¶droid_bm)) ^ misc.cc:885:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/laser_l.xpm",&laser_l_bm)) ^ misc.cc:890:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/laser_cb.xpm",&laser_cb_bm)) ^ misc.cc:895:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/laser_uv.xpm",&laser_uv_bm)) ^ misc.cc:900:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/laser_te.xpm",&laser_te_bm)) ^ misc.cc:905:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/explosion.xpm",&explosion_bm)) ^ misc.cc:910:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/power_bay.xpm",&power_bay_bm)) ^ misc.cc:915:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/ntitle.xpm",&ntitle_bm)) ^ misc.cc:920:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/flr_door_h_cyan_ani.xpm",&doorh_bm)) ^ misc.cc:925:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/flr_door_v_cyan_ani.xpm",&doorv_bm)) ^ misc.cc:930:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/digits.xpm",&digit_bm)) ^ misc.cc:935:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/digits2.xpm",&digit2_bm)) ^ misc.cc:940:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/ship_complete.xpm",&ship_complete_bm)) ^ misc.cc:945:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/credit_1.xpm",&credit_1_bm)) ^ misc.cc:950:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/credit_2.xpm",&credit_2_bm)) ^ misc.cc:955:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/credit_3.xpm",&credit_3_bm)) ^ misc.cc:960:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/credit_4.xpm",&credit_4_bm)) ^ misc.cc:965:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/credit_5.xpm",&credit_5_bm)) ^ misc.cc:970:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/credit_6.xpm",&credit_6_bm)) ^ misc.cc:975:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/neg.xpm",&neg_bm)) ^ misc.cc:980:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/paused.xpm",&paused_bm)) ^ misc.cc:985:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/trans_terminated.xpm",&trans_terminated_bm)) ^ misc.cc:990:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/docking_to_ship.xpm",&get_ready1_bm)) ^ misc.cc:995:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/intro_back_1.xpm",&intro_back_bm[0])) ^ misc.cc:1000:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/intro_back_2.xpm",&intro_back_bm[1])) ^ misc.cc:1005:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/intro_back_3.xpm",&intro_back_bm[2])) ^ misc.cc:1010:19: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] if(!loadxpm_xpm("standard/intro_back_4.xpm",&intro_back_bm[3])) ^ 113 warnings generated. g++ -DPREFIX="\"/usr/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/usr/pkg/var\"" -I/usr/pkg/include -I/usr/X11R7/include -O2 -march=i586 -I/usr/pkg/include -I/usr/X11R7/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/usr/X11R7/include -Wl,-R/usr/X11R7/lib -L/usr/X11R7/lib -lXpm -lX11 -DPREFIX="\"/usr/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/usr/pkg/var\"" -I/usr/pkg/include -I/usr/X11R7/include -O2 -march=i586 -I/usr/pkg/include -I/usr/X11R7/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c floor.cc -o floor.o In file included from floor.cc:26: ./tedit_floor.h:13:7: warning: 'tedit_floor::create' hides overloaded virtual function [-Woverloaded-virtual] int create(char *fn,int x_size,int y_size); ^ ./tfloor.h:28:15: note: hidden overloaded virtual function 'tfloor::create' declared here: different number of parameters (2 vs 3) virtual int create(int x_size,int y_size); ^ 1 warning generated. g++ -DPREFIX="\"/usr/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/usr/pkg/var\"" -I/usr/pkg/include -I/usr/X11R7/include -O2 -march=i586 -I/usr/pkg/include -I/usr/X11R7/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/usr/X11R7/include -Wl,-R/usr/X11R7/lib -L/usr/X11R7/lib -lXpm -lX11 -DPREFIX="\"/usr/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/usr/pkg/var\"" -I/usr/pkg/include -I/usr/X11R7/include -O2 -march=i586 -I/usr/pkg/include -I/usr/X11R7/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c object.cc -o object.o In file included from object.cc:26: ./tedit_floor.h:13:7: warning: 'tedit_floor::create' hides overloaded virtual function [-Woverloaded-virtual] int create(char *fn,int x_size,int y_size); ^ ./tfloor.h:28:15: note: hidden overloaded virtual function 'tfloor::create' declared here: different number of parameters (2 vs 3) virtual int create(int x_size,int y_size); ^ In file included from object.cc:27: In file included from ./tparadroid.h:4: In file included from ./tdroid.h:5: ./tlaser.h:15:16: warning: 'tlaser::init' hides overloaded virtual function [-Woverloaded-virtual] virtual void init( ^ ./tentity.h:19:16: note: hidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 7) virtual void init( ^ In file included from object.cc:27: In file included from ./tparadroid.h:4: ./tdroid.h:16:8: warning: 'tdroid::init' hides overloaded virtual function [-Woverloaded-virtual] void init(tfloor *f,tentity **dp,float px,float py); ^ ./tentity.h:19:16: note: hidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 4) virtual void init( ^ object.cc:421:50: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] ((tparadroid *)droids[0])->add_message("buzzed!"); ^ object.cc:927:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_message("lost contact"); ^ object.cc:931:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_message("Forced detach"); ^ object.cc:948:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_message("Burn out!"); ^ object.cc:978:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_message("Transferred!!"); ^ object.cc:928:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ object.cc:1021:15: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_message("Empty Space"); ^ object.cc:1029:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *no_weapon_mess = "No weapon!"; ^ object.cc:1076:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ object.cc:1109:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_message("Transfer on"); ^ object.cc:1114:27: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_message("Transfer off"); ^ object.cc:1120:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_message("You're commited!"); ^ object.cc:1127:25: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] add_message("Can't trans."); ^ object.cc:1519:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ object.cc:1613:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ object.cc:1685:11: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 19 warnings generated. g++ -DPREFIX="\"/usr/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/usr/pkg/var\"" -I/usr/pkg/include -I/usr/X11R7/include -O2 -march=i586 -I/usr/pkg/include -I/usr/X11R7/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/usr/X11R7/include -Wl,-R/usr/X11R7/lib -L/usr/X11R7/lib -lXpm -lX11 -DPREFIX="\"/usr/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/usr/pkg/var\"" -I/usr/pkg/include -I/usr/X11R7/include -O2 -march=i586 -I/usr/pkg/include -I/usr/X11R7/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c ship.cc -o ship.o In file included from ship.cc:29: In file included from ./tship.h:5: In file included from ./tparadroid.h:4: In file included from ./tdroid.h:5: ./tlaser.h:15:16: warning: 'tlaser::init' hides overloaded virtual function [-Woverloaded-virtual] virtual void init( ^ ./tentity.h:19:16: note: hidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 7) virtual void init( ^ In file included from ship.cc:29: In file included from ./tship.h:5: In file included from ./tparadroid.h:4: ./tdroid.h:16:8: warning: 'tdroid::init' hides overloaded virtual function [-Woverloaded-virtual] void init(tfloor *f,tentity **dp,float px,float py); ^ ./tentity.h:19:16: note: hidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 4) virtual void init( ^ ship.cc:144:5: warning: delete called on 'tfloor' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] delete((*ptr)->curr); ^ ship.cc:457:23: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] char *header_mess = "Ship Computer- Droid Records"; ^ 4 warnings generated. g++ -DPREFIX="\"/usr/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/usr/pkg/var\"" -I/usr/pkg/include -I/usr/X11R7/include -O2 -march=i586 -I/usr/pkg/include -I/usr/X11R7/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/usr/X11R7/include -Wl,-R/usr/X11R7/lib -L/usr/X11R7/lib -lXpm -lX11 -DPREFIX="\"/usr/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/usr/pkg/var\"" -I/usr/pkg/include -I/usr/X11R7/include -O2 -march=i586 -I/usr/pkg/include -I/usr/X11R7/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -c nighthawk.cc -o nighthawk.o In file included from nighthawk.cc:36: In file included from ./tship.h:5: In file included from ./tparadroid.h:4: In file included from ./tdroid.h:5: ./tlaser.h:15:16: warning: 'tlaser::init' hides overloaded virtual function [-Woverloaded-virtual] virtual void init( ^ ./tentity.h:19:16: note: hidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 7) virtual void init( ^ In file included from nighthawk.cc:36: In file included from ./tship.h:5: In file included from ./tparadroid.h:4: ./tdroid.h:16:8: warning: 'tdroid::init' hides overloaded virtual function [-Woverloaded-virtual] void init(tfloor *f,tentity **dp,float px,float py); ^ ./tentity.h:19:16: note: hidden overloaded virtual function 'tentity::init' declared here: different number of parameters (6 vs 4) virtual void init( ^ nighthawk.cc:43:3: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Haldeck", ^ nighthawk.cc:44:3: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Seafarer", ^ nighthawk.cc:45:3: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Anoyle", ^ nighthawk.cc:46:3: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Esperence", ^ nighthawk.cc:47:3: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Ophukus", ^ nighthawk.cc:48:3: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Mearkat", ^ nighthawk.cc:49:3: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Friendship", ^ nighthawk.cc:50:3: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Discovery", ^ nighthawk.cc:51:3: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Zaxon", ^ nighthawk.cc:52:3: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "Tobruk", ^ nighthawk.cc:97:14: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] fp = lopen(SCORES_FILE,"r+b"); ^ ./../options.h:12:21: note: expanded from macro 'SCORES_FILE' #define SCORES_FILE VARBASE"/games/nighthawk.scores" ^ :7:17: note: expanded from here #define VARBASE "/usr/pkg/var" ^ nighthawk.cc:97:26: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] fp = lopen(SCORES_FILE,"r+b"); ^ nighthawk.cc:106:16: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] fp = lopen(SCORES_FILE,"w+b"); ^ ./../options.h:12:21: note: expanded from macro 'SCORES_FILE' #define SCORES_FILE VARBASE"/games/nighthawk.scores" ^ :7:17: note: expanded from here #define VARBASE "/usr/pkg/var" ^ nighthawk.cc:106:28: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] fp = lopen(SCORES_FILE,"w+b"); ^ nighthawk.cc:327:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "5(C) 1997,98, Jason Nunn (JsNO)\n" ^ nighthawk.cc:343:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "0Space to play, Q to Quit.\n" ^ In file included from nighthawk.cc:413: ./scroll.inc:2:1: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] " -= Paradroid =- " ^ nighthawk.cc:471:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "0GPL\n" ^ nighthawk.cc:487:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "0=Contacts=\n" ^ nighthawk.cc:505:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "0=Contacts=\n" ^ nighthawk.cc:521:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "4Thanks to the many people who have\n" ^ nighthawk.cc:653:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ nighthawk.cc:738:5: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] "1\n" ^ 25 warnings generated. g++ -DPREFIX="\"/usr/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/usr/pkg/var\"" -I/usr/pkg/include -I/usr/X11R7/include -O2 -march=i586 -I/usr/pkg/include -I/usr/X11R7/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/usr/X11R7/include -Wl,-R/usr/X11R7/lib -L/usr/X11R7/lib -lXpm -lX11 misc.o floor.o object.o ship.o nighthawk.o -DPREFIX="\"/usr/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/usr/pkg/var\"" -I/usr/pkg/include -I/usr/X11R7/include -O2 -march=i586 -I/usr/pkg/include -I/usr/X11R7/include -Wall -pipe -fomit-frame-pointer -DVERSION='"2.1"' -I/usr/X11R7/include -Wl,-R/usr/X11R7/lib -L/usr/X11R7/lib -lXpm -lX11 -o nighthawk strip nighthawk gmake[1]: Leaving directory '/usr/pkgsrc/work/games/nighthawk/work/nighthawk/src' => Unwrapping files-to-be-installed. cd /usr/pkgsrc/work/games/nighthawk/work/nighthawk/src_sound && /usr/bin/env OSTYPE=NetBSD USETOOLS=no CC=cc CFLAGS=-O2\ -march=i586\ -I/usr/pkg/include\ -I/usr/X11R7/include CPPFLAGS=-DPREFIX=\"\\\"/usr/pkg\\\"\"\ -DDEVOSSAUDIO=\"\\\"\\\"\"\ -DVARBASE=\"\\\"/usr/pkg/var\\\"\"\ -I/usr/pkg/include\ -I/usr/X11R7/include CXX=c++ CXXFLAGS=-O2\ -march=i586\ -I/usr/pkg/include\ -I/usr/X11R7/include COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -L/usr/X11R7/lib\ -Wl,-R/usr/X11R7/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/usr/pkgsrc/work/games/nighthawk/work/.wrapper/bin:/usr/pkgsrc/work/games/nighthawk/work/.buildlink/bin:/usr/pkgsrc/work/games/nighthawk/work/.tools/bin:/usr/pkg/bin::/usr/pbulk/bin:/usr/pbulk/sbin:/usr/pkg/bin:/usr/pkg/sbin:/usr/X11R7/bin:/usr/X11R7/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/games:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 PKG_SYSCONFDIR=/usr/pkg/etc HOME=/usr/pkgsrc/work/games/nighthawk/work/.home CPP=cpp LINK_ALL_LIBGCC_HACK= LOCALBASE=/usr/pkg NO_WHOLE_ARCHIVE_FLAG=-Wl,--no-whole-archive WHOLE_ARCHIVE_FLAG=-Wl,--whole-archive X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ operator\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ root\ -g\ operator\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ operator\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ operator\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ operator\ -m\ 775 INSTALL_INFO= MAKEINFO=/usr/pkgsrc/work/games/nighthawk/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/usr/pkgsrc/work/games/nighthawk/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/work/games/nighthawk/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/work/games/nighthawk/work/.pkg-config.log PKG_CONFIG_PATH= WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes /usr/pkg/bin/gmake nighthawk_sound cc -DPREFIX="\"/usr/pkg\"" -DDEVOSSAUDIO="\"\"" -DVARBASE="\"/usr/pkg/var\"" -I/usr/pkg/include -I/usr/X11R7/include -O2 -march=i586 -I/usr/pkg/include -I/usr/X11R7/include -Wall -pipe -fomit-frame-pointer -DNetBSD -c dsp_mixxer.c -o dsp_mixxer.o dsp_mixxer.c:94:16: error: use of undeclared identifier 'SNDCTL_DSP_RESET' ioctl(dsp_fp,SNDCTL_DSP_RESET, 0); ^ dsp_mixxer.c:190:18: error: use of undeclared identifier 'SNDCTL_DSP_RESET' ioctl(dsp_fp,SNDCTL_DSP_RESET, 0); ^ dsp_mixxer.c:261:20: error: use of undeclared identifier 'SNDCTL_DSP_SAMPLESIZE' ioctl(dsp_fp,SNDCTL_DSP_SAMPLESIZE,&(funk_info.precision)); ^ dsp_mixxer.c:262:20: error: use of undeclared identifier 'SNDCTL_DSP_STEREO' ioctl(dsp_fp,SNDCTL_DSP_STEREO,&(funk_info.stereo)); ^ dsp_mixxer.c:263:20: error: use of undeclared identifier 'SNDCTL_DSP_SPEED' ioctl(dsp_fp,SNDCTL_DSP_SPEED,&(funk_info.sampling_rate)); ^ dsp_mixxer.c:264:20: error: use of undeclared identifier 'SNDCTL_DSP_SETFRAGMENT' ioctl(dsp_fp,SNDCTL_DSP_SETFRAGMENT,&frag); ^ 6 errors generated. Makefile:66: recipe for target 'dsp_mixxer.o' failed gmake: *** [dsp_mixxer.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/games/nighthawk *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/games/nighthawk