=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for raine-0.96.7nb3 Building Raine, Fully optimized version with gcc for linux-gnu CPU= dependencies : if you get an error here, install the required dev package libpng:1.6.44 SDL:Compiling source/neocd/pd4990a.c... 2.30.7 lua: lua cflags -I/usr/pkg/include/lua-5.4 libs -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -llua5.4 -lm Compiling source/neocd/cdrom.c... Compiling source/neocd/cache.c... Compiling source/neocd/cdda.c... Compiling source/neocd/iso.c... Compiling source/neocd/neocd.c... Compiling source/games/ainferno.c... Compiling source/games/aquajack.c... Compiling source/games/arabianm.c... Compiling source/games/arkanoid.c... Compiling source/games/arkretrn.c... Compiling source/games/armedf.c... Compiling source/games/ashura.c... Compiling source/games/asuka.c... Compiling source/games/biomtoy.c... Compiling source/games/bloodbro.c... Compiling source/games/bonzeadv.c... Compiling source/games/bshark.c... Compiling source/games/bsystem.c... Compiling source/games/bubblem.c... Compiling source/games/bublbobl.c... Compiling source/games/bubl_mcu.c... Compiling source/games/bubsymph.c... Compiling source/games/cabal.c... Compiling source/games/cadash.c... Compiling source/games/cave.c... Compiling source/games/chaknpop.c... Compiling source/games/chasehq2.c... Compiling source/games/chasehq.c... Compiling source/games/cleofort.c... Compiling source/games/contcirc.c... Compiling source/games/cookbib.c... Compiling source/games/cps1drv.c... Compiling source/games/cps2drv.c... Compiling source/games/crimec.c... Compiling source/games/crospang.c... Compiling source/games/ctribebl.c... Compiling source/games/cupfinal.c... Compiling source/games/dangarb.c... Compiling source/games/darius2d.c... Compiling source/games/darius.c... Compiling source/games/dariusg.c... Compiling source/games/deadconx.c... Compiling source/games/diverboy.c... Compiling source/games/dkong.c... Compiling source/games/dleague.c... Compiling source/games/doubled3.c... Compiling source/games/eaction2.c... Compiling source/games/earthjkr.c... Compiling source/games/esd16.c... Compiling source/games/exzisus.c... Compiling source/games/f3demo.c... Compiling source/games/fchamp.c... Compiling source/games/flstory.c... Compiling source/games/frogger.c... Compiling source/games/galaga.c... Compiling source/games/galpanic.c... Compiling source/games/gauntlet.c... Compiling source/games/gcpball.c... Compiling source/games/gekridan.c... Compiling source/games/gridseek.c... Compiling source/games/gunbird.c... Compiling source/games/gunlock.c... Compiling source/games/hitice.c... Compiling source/games/hthero95.c... Compiling source/games/hvyunit.c... Compiling source/games/hyperpcb.c... Compiling source/games/intcup94.c... Compiling source/games/kaiserkn.c... Compiling source/games/koshien.c... Compiling source/games/ksystem.c... Compiling source/games/ktiger2.c... Compiling source/games/landmakr.c... Compiling source/games/lightbr.c... Compiling source/games/lsystem.c... Compiling source/games/macrossp.c... Compiling source/games/masterw.c... Compiling source/games/matmania.c... Compiling source/games/mcatadv.c... Compiling source/games/megasys1.c... Compiling source/games/metalb.c... Compiling source/games/mitchell.c... Compiling source/games/mugsmash.c... Compiling source/games/neogeo.c... Compiling source/games/ninjak.c... Compiling source/games/ninjaw.c... Compiling source/games/nmk.c... Compiling source/games/nmk004.c... Compiling source/games/opwolf3.c... Compiling source/games/opwolf.c... Compiling source/games/othunder.c... Compiling source/games/pbobble2.c... Compiling source/games/pbobble3.c... Compiling source/games/pbobble4.c... Compiling source/games/pengo.c... Compiling source/games/pirates.c... Compiling source/games/popnpop.c... Compiling source/games/psyforce.c... Compiling source/games/puchicar.c... Compiling source/games/quizgame.c... Compiling source/games/rainbow.c... Compiling source/games/rambo3.c... Compiling source/games/rastan2.c... Compiling source/games/rastan.c... Compiling source/games/recordbr.c... Compiling source/games/ridefght.c... Compiling source/games/ringrage.c... Compiling source/games/robokid.c... Compiling source/games/seta.c... Compiling source/games/silentd.c... Compiling source/games/silkworm.c... Compiling source/games/spacegun.c... Compiling source/games/spcinv95.c... Compiling source/games/superchs.c... Compiling source/games/syvalion.c... Compiling source/games/taito_f2.c... Compiling source/games/tecmosys.c... Compiling source/games/terrac.c... Compiling source/games/terraf.c... Compiling source/games/tetrisp2.c... Compiling source/games/tetrist.c... Compiling source/games/toaplan1.c... Compiling source/games/toaplan2.c... Compiling source/games/toki.c... Compiling source/games/topland.c... Compiling source/games/topspeed.c... Compiling source/games/trstars.c... Compiling source/games/twinqix.c... Compiling source/games/undrfire.c... Compiling source/games/upl.c... Compiling source/games/viofight.c... Compiling source/games/volfied.c... Compiling source/games/warriorb.c... Compiling source/games/wgp.c... Compiling source/games/wrestlef.c... Compiling source/games/wwfsstar.c... Compiling source/games/xsystem1.c... Compiling source/games/xsystem2.c... Compiling source/games/zerozone.c... Compiling source/games/f3system.c... Compiling source/games/nichisnd.c... Compiling source/games/taitosnd.c... Compiling source/games/tchnosnd.c... Compiling source/games/cps1.c... Compiling source/games/tc002obj.c... Compiling source/games/tc140syt.c... Compiling source/games/taito_z.c... Compiling source/games/tc005rot.c... Compiling source/games/fl_mcu.c... Compiling source/games/tc220ioc.c... Compiling source/games/setax1.c... Compiling source/games/tc200obj.c... Compiling source/games/tc180vcu.c... Compiling source/games/kiki_mcu.c... Compiling source/games/tc110pcr.c... Compiling source/games/tc150rod.c... Compiling source/games/tc100scn.c... Compiling source/games/tc003vcu.c... Compiling source/games/kick_mcu.c... Compiling source/games/tc006vcu.c... Compiling source/games/tc101scn.c... Compiling source/games/tc004vcu.c... Compiling source/games/gun.c... Compiling source/68000/starhelp.c... gcc -c -o linux-gnu-sdl2/object/Musashi/m68kmake.o source/Musashi/m68kmake.c Compiling source/68020/newcpu.c... Compiling source/z80/mz80help.c... Compiling source/mame/z80/z80.c... Compiling source/6502/m6502hlp.c... Compiling source/mame/6502/m6502.c... Compiling source/m68705/m68705.c... Compiling source/sound/assoc.c... Compiling c++ source/sdl/dialogs/sound_commands.cpp... Compiling c++ source/sdl/dialogs/neocd_options.cpp... Compiling c++ source/sdl/dialogs/neo_softdips.cpp... Compiling c++ source/sdl/dialogs/neo_debug_dips.cpp... Compiling source/sound/ym2151.c... Compiling source/sound/2151intf.c... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/neo_softdips.cpp:1: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ Compiling source/sound/2203intf.c... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/dlg_dsw.h:1, from source/sdl/dialogs/neo_debug_dips.cpp:11: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ source/sdl/dialogs/neo_debug_dips.cpp: In function 'void init_debug_dips()': source/sdl/dialogs/neo_debug_dips.cpp:65:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] FILE *f = fopen(get_shared("debug_dips.txt"),"r"); ^ In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/sound_commands.cpp:2: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ source/sdl/dialogs/sound_commands.cpp: In function 'int associate(int)': source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] NULL }; ^ source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:118:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:124:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = strrstr(path,SLASH); ^ source/sdl/dialogs/sound_commands.cpp:128:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fsel(path,exts,res,"Choose audio track"); ^ source/sdl/dialogs/sound_commands.cpp:130:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] assoc(command,""); ^ source/sdl/dialogs/sound_commands.cpp:134:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = strrstr(path,SLASH); ^ source/sdl/dialogs/sound_commands.cpp: In function 'int menu_asso(int)': source/sdl/dialogs/sound_commands.cpp:171:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] assoc(cmd,""); ^ source/sdl/dialogs/sound_commands.cpp: In function 'int associations(int)': source/sdl/dialogs/sound_commands.cpp:228:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *s2 = strrstr(s,SLASH); ^ source/sdl/dialogs/sound_commands.cpp: At global scope: source/sdl/dialogs/sound_commands.cpp:275:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ source/sdl/dialogs/sound_commands.cpp:275:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp:275:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/sound_commands.cpp: In function 'int do_sound_cmd(int)': source/sdl/dialogs/sound_commands.cpp:311:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (is_current_game("pulstar")) ^ In file included from source/compat_sdl.h:5:0, from source/sdl2/gui/menu.h:4, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/sound_commands.cpp:2: source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl/dialogs/sound_commands.cpp:359:2: note: in expansion of macro 'fatal_error' fatal_error("too many values : %d",sound_menu[0].values_list_size); ^~~~~~~~~~~ Compiling source/sound/2413intf.c... Compiling source/sound/ym2413.c... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/neocd_options.cpp:1: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:48:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp: In function 'int choose_bios(int)': source/sdl/dialogs/neocd_options.cpp:72:128: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("Error","Can't find any Neo-Geo BIOS in your ROMs.\nSetup your ROM directories so that neogeo.zip is loadable","OK"); ^ source/sdl/dialogs/neocd_options.cpp:72:128: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp:72:128: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/neocd_options.cpp: In function 'int do_update_block(int)': source/sdl/dialogs/neocd_options.cpp:89:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *exts[] = { "block*png", NULL }; ^ source/sdl/dialogs/neocd_options.cpp:90:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fsel(fdir,exts,picture,"Update block"); ^ source/sdl/dialogs/neocd_options.cpp: In function 'int select_neocd_bios(int)': source/sdl/dialogs/neocd_options.cpp:161:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *exts[] = { "bin", "zip", NULL }; ^ source/sdl/dialogs/neocd_options.cpp:161:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Compiling source/sound/2610intf.c... Compiling source/emudx.c... Compiling source/cat93c46.c... Compiling source/decode.c... Compiling source/cps2crpt.c... Compiling source/slapstic.c... Compiling source/sound/3812intf.c... Compiling less optimized source/sound/adpcm.c... Compiling source/sound/ay8910.c... Compiling source/sound/dac.c... Compiling source/sound/dxsmp.c... Compiling source/sound/es5506.c... Compiling source/sound/m6585.c... Compiling source/sound/msm5205.c... Compiling source/sound/msm5232.c... Compiling source/sound/namco.c... Compiling source/sound/qsound.c... Compiling source/sound/smp16bit.c... Compiling source/sound/ymz280b.c... Compiling source/sound/ymf278b.c... Compiling source/sound/x1_010.c... Compiling source/sound/toaplan2.c... Compiling source/sound/galaxian.c... Compiling source/sound/tms5220.c... Compiling source/sound/5220intf.c... Compiling source/sound/pokey.c... Compiling source/video/tilemod.c... Compiling source/video/palette.c... Compiling source/video/priorities.c... Compiling source/video/newspr.c... Compiling source/video/spr64.c... Compiling source/video/cache.c... Compiling source/video/c/str/6x8_8.c... Compiling source/video/c/str/6x8_16.c... Compiling source/video/c/str/6x8_32.c... Compiling source/video/c/16x8_8.c... Compiling source/video/c/16x8_16.c... Compiling source/video/c/16x8_32.c... Compiling source/video/zoom/16x16.c... Compiling source/video/zoom/16x16_16.c... Compiling source/video/zoom/16x16_32.c... Compiling source/video/zoom/16x8.c... Compiling source/video/c/lscroll.c... Compiling source/video/alpha.c... Compiling source/video/c/str_opaque.c... Compiling source/video/c/common.c... Compiling source/video/c/pdraw.c... Compiling source/video/c/mask.c... Compiling source/video/c/sprites.c... Compiling source/video/c/sprites32_a50.c... Compiling source/video/c/mapped_alpha.c... Compiling source/sound/ymdeltat.c... Compiling source/sound/fmopl.c... Compiling source/sound/fm.c... Compiling source/sound/emulator.c... Compiling source/raine.c... Compiling source/romdir.c... Compiling source/hiscore.c... Compiling source/history.c... Compiling source/ingame.c... Compiling source/savegame.c... Compiling source/arpro.c... Compiling source/bld.c... Compiling source/debug.c... Compiling source/config.c... Compiling source/confile.c... Compiling source/files.c... Compiling source/newmem.c... Compiling source/raine_cpuid.c... Compiling source/cpumain.c... Compiling source/emumain.c... source/config.c: In function 'load_neo_from_name': source/config.c:301:7: warning: implicit declaration of function 'getcwd'; did you mean 'getwc'? [-Wimplicit-function-declaration] getcwd(neocd_dir,FILENAME_MAX); ^~~~~~ getwc Compiling source/demos.c... Compiling source/timer.c... Compiling source/soundcfg.c... Compiling source/speed_hack.c... Compiling source/savepng.c... Compiling source/loadroms.c... Compiling source/ips.c... Compiling source/sdl/dsw.c... Compiling source/sdl/png.c... Compiling source/sdl/SDL_gfx/SDL_framerate.c... source/loadroms.c: In function 'load_rom': source/loadroms.c:1223:6: warning: implicit declaration of function 'unlink'; did you mean 'uint'? [-Wimplicit-function-declaration] unlink(path); ^~~~~~ uint Compiling source/sdl2/SDL_gfx/SDL_gfxPrimitives.c... Compiling source/sdl2/SDL_gfx/SDL_rotozoom.c... Compiling source/mini-unzip/unzip.c... Compiling source/mini-unzip/ioapi.c... Compiling source/mame/memory.c... Compiling source/mame/eeprom.c... Compiling 7z source/7z/7zAlloc.c... Compiling 7z source/7z/7zBuf2.c... Compiling 7z source/7z/7zBuf.c... Compiling 7z source/7z/7zCrc.c... Compiling 7z source/7z/7zCrcOpt.c... Compiling 7z source/7z/7zDec.c... Compiling 7z source/7z/7zFile.c... Compiling 7z source/7z/7zArcIn.c... Compiling 7z source/7z/7zStream.c... Compiling 7z source/7z/Bcj2.c... Compiling 7z source/7z/Bra86.c... Compiling 7z source/7z/Bra.c... Compiling 7z source/7z/CpuArch.c... Compiling 7z source/7z/LzmaDec.c... Compiling 7z source/7z/Ppmd7.c... Compiling 7z source/7z/Ppmd7Dec.c... Compiling 7z source/7z/Lzma2Dec.c... Compiling 7z source/7z/Delta.c... Compiling 7z source/7z/BraIA64.c... Compiling 7z source/7z/7zMain.c... Compiling c++ source/sdl/gui.cpp... Compiling c++ source/sdl/dialogs/video_info.cpp... Compiling c++ source/sdl/dialogs/fsel.cpp... Compiling c++ source/sdl/dialogs/video_options.cpp... Compiling c++ source/sdl/dialogs/sound_options.cpp... Compiling c++ source/sdl/dialogs/gui_options.cpp... Compiling c++ source/sdl/dialogs/dirs.cpp... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/fsel.cpp:5: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ source/sdl/dialogs/fsel.cpp: In function 'int do_paths(int)': source/sdl/dialogs/fsel.cpp:149:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TMenu *menu = new TPathDlg("",paths->get_menu()); ^ source/sdl/dialogs/fsel.cpp: In member function 'virtual void TFileSel::compute_nb_items()': source/sdl/dialogs/fsel.cpp:237:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu[0].label = ".."; ^~~~ In file included from source/raine.h:35:0, from source/sdl/dialogs/fsel.cpp:4: source/sdl/dialogs/fsel.cpp: In member function 'virtual void TFileSel::add_files()': source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl/dialogs/fsel.cpp:382:4: note: in expansion of macro 'fatal_error' fatal_error("Failed to reallocate files buffer (%d entries)",nb_menu); ^~~~~~~~~~~ source/sdl/dialogs/fsel.cpp:408:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *myexts[] = { ".iso", "iso.gz", "zip", "7z", NULL }; ^ source/sdl/dialogs/fsel.cpp:408:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/fsel.cpp:408:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/fsel.cpp:408:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/fsel.cpp: In member function 'virtual int TMultiFileSel::myexec_file(int)': source/sdl/dialogs/fsel.cpp:567:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("Error","Already have max selections","ok"); ^ source/sdl/dialogs/fsel.cpp:567:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/fsel.cpp:567:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/video_info.cpp:1: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ In file included from source/compat_sdl.h:5:0, from source/sdl2/gui/menu.h:4, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/video_info.cpp:1: source/sdl/dialogs/video_info.cpp: In function 'void print_tf_state(int, char*, int)': source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl/dialogs/video_info.cpp:19:5: note: in expansion of macro 'fatal_error' fatal_error("Received test %d for %s",test,label); ^~~~~~~~~~~ source/sdl/dialogs/video_info.cpp: In constructor 'TVideo_menu::TVideo_menu(char*)': source/sdl/dialogs/video_info.cpp:63:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] print_menu_string(1,_("No OpenGL information yet, run something first."),""); ^ source/sdl/dialogs/video_info.cpp: In function 'int do_video(int)': source/sdl/dialogs/video_info.cpp:110:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TVideo_menu *video_menu = new TVideo_menu(""); ^ In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/gui/menu.h:2, from source/sdl/gui.h:5, from source/sdl/gui.cpp:21: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ Compiling c++ source/sdl/dialogs/about.cpp... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/video_options.cpp:9: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ source/sdl/dialogs/video_options.cpp: In function 'int my_toggle_border(int)': source/sdl/dialogs/video_options.cpp:76:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!s) s = ""; ^~ source/sdl/dialogs/video_options.cpp:79:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] putenv("SDL_VIDEO_WINDOW_POS=0,0"); ^ source/sdl/dialogs/video_options.cpp: In function 'int choose_shader(int)': source/sdl/dialogs/video_options.cpp:136:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *exts[] = { "*.shader","*.glsl", NULL }; ^ source/sdl/dialogs/video_options.cpp:136:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/video_options.cpp:138:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dir = get_shared("shaders"); ^ source/sdl/dialogs/video_options.cpp:150:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fsel(dir,exts,ogl.shader,"Select shader"); ^ source/sdl/dialogs/video_options.cpp: At global scope: source/sdl/dialogs/video_options.cpp:238:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ source/sdl/dialogs/video_options.cpp:238:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/video_options.cpp:297:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ source/sdl/dialogs/video_options.cpp:297:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/video_options.cpp:297:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/video_options.cpp:297:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/video_options.cpp:297:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/video_options.cpp:297:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/video_options.cpp:297:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/video_options.cpp:297:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/video_options.cpp:297:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/video_options.cpp:297:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/video_options.cpp:297:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/video_options.cpp:297:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/video_options.cpp:297:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/video_options.cpp:297:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/video_options.cpp:297:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/video_options.cpp: In function 'int do_video_options(int)': source/sdl/dialogs/video_options.cpp:309:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] video_options = new TVideo("", video_items); ^ source/sdl/gui.cpp: In function 'void save_menu_config()': source/sdl/gui.cpp:192:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] raine_set_config_32bit_hex("GUI", "fg_color", fg_color); ^ source/sdl/gui.cpp:192:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:193:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] raine_set_config_32bit_hex("GUI", "bg_color", bg_color); ^ source/sdl/gui.cpp:193:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:194:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] raine_set_config_32bit_hex("GUI", "fgframe_color", fgframe_color); ^ source/sdl/gui.cpp:194:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:195:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] raine_set_config_32bit_hex("GUI", "bgframe_color", bgframe_color); ^ source/sdl/gui.cpp:195:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:197:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] raine_set_config_32bit_hex("GUI", "slider_border", cslider_border); ^ source/sdl/gui.cpp:197:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:198:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] raine_set_config_32bit_hex("GUI", "slider_bar", cslider_bar); ^ source/sdl/gui.cpp:198:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:199:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] raine_set_config_32bit_hex("GUI", "slider_lift", cslider_lift); ^ source/sdl/gui.cpp:199:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:201:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] raine_set_config_32bit_hex("GUI", "bg_dialog_bar", bg_dialog_bar); ^ source/sdl/gui.cpp:201:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp: In function 'void read_menu_config()': source/sdl/gui.cpp:211:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fg_color = raine_get_config_hex("GUI", "fg_color", mymakecol(255,255,255)); ^ source/sdl/gui.cpp:211:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:212:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] bg_color = raine_get_config_hex("GUI", "bg_color", makecol_alpha(0x11,0x07,0x78,0xc0)); ^ source/sdl/gui.cpp:212:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:213:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fgframe_color = raine_get_config_hex("GUI", "fgframe_color", mymakecol(255,255,255)); ^ source/sdl/gui.cpp:213:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:214:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] bgframe_color = raine_get_config_hex("GUI", "bgframe_color", mymakecol(0,0,128)); ^ source/sdl/gui.cpp:214:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:215:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cslider_border = raine_get_config_hex("GUI", "slider_border", mymakecol(0,0,0)); ^ source/sdl/gui.cpp:215:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:216:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cslider_bar = raine_get_config_hex("GUI", "slider_bar", mymakecol(0xc0,0xc0,0xc0)); ^ source/sdl/gui.cpp:216:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:217:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cslider_lift = raine_get_config_hex("GUI", "slider_lift", mymakecol(0xff,0xff,0xff)); ^ source/sdl/gui.cpp:217:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:218:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] bg_dialog_bar = raine_get_config_hex("GUI", "bg_dialog_bar", mymakecol(0,0,0)); ^ source/sdl/gui.cpp:218:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp: At global scope: source/sdl/gui.cpp:288:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ source/sdl/gui.cpp:288:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:310:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ source/sdl/gui.cpp:310:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp: In function 'void load_message(char*)': source/sdl/gui.cpp:347:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_items[2].label = " "; ^~~ source/sdl/gui.cpp:350:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] loading_dialog->update_label(2," "); ^ source/sdl/gui.cpp: In function 'void do_load_game()': source/sdl/gui.cpp:515:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox(_("IPS error"),error,"OK"); ^ source/sdl/gui.cpp: In function 'int load_neo_game(int)': source/sdl/gui.cpp:543:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ".cue", "ipl.txt", "7z", NULL }; ^ source/sdl/gui.cpp:543:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:543:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:543:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp: In destructor 'virtual TMyMultiFileSel::~TMyMultiFileSel()': source/sdl/gui.cpp:601:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *shared = get_shared("ips"); ^ source/sdl/gui.cpp: In function 'void save_ips_ini(char**)': source/sdl/gui.cpp:640:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("Error","Can't create ini file","ok"); ^ source/sdl/gui.cpp:640:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:640:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp: In member function 'virtual void TMyMultiFileSel::compute_nb_items()': source/sdl/gui.cpp:726:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!strcmp(path,get_shared("ips")) && !strcmp(menu[0].label,"..")) { ^ source/sdl/gui.cpp: At global scope: source/sdl/gui.cpp:849:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ source/sdl/gui.cpp:849:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp:849:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui.cpp: In function 'void my_multi_fsel(char*, char**, char**, int, char*)': source/sdl/gui.cpp:858:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox(_("Error"),(char*)msg,"Ok"); ^ source/sdl/gui.cpp: In function 'int do_preload_ips(int)': source/sdl/gui.cpp:866:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *exts[] = { ".dat", NULL }; ^ source/sdl/gui.cpp: In function 'int do_ips(int)': source/sdl/gui.cpp:882:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *exts[] = { ".ips", NULL }; ^ source/sdl/gui.cpp:883:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fsel(get_shared("ips"),exts,res,_("Select IPS file")); ^ source/sdl/gui.cpp:890:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] load_ips(res,ROM,get_region_size(REGION_CPU1),0,""); ^ In file included from source/sdl/gui.cpp:55:0: source/sdl/gui.cpp: In member function 'virtual char* TMain_menu::get_top_string()': source/version.h:1:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define VERSION "0.96.7" ^ source/sdl/gui.cpp:947:24: note: in expansion of macro 'VERSION' return EMUNAME " " VERSION; ^~~~~~~ source/sdl/gui.cpp: In function 'void setup_font()': source/sdl/gui.cpp:974:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] FILE *f = fopen (get_shared("font6x8.bin"), "rb"); ^ source/sdl/gui.cpp:976:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] f = fopen(get_shared("fonts" SLASH "font6x8.bin"),"rb"); ^ In file included from source/raine.h:35:0, from source/sdl/gui.cpp:1: source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl/gui.cpp:981:5: note: in expansion of macro 'fatal_error' fatal_error("No font, byebye!"); ^~~~~~~~~~~ Compiling c++ source/sdl/dialogs/messagebox.cpp... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/sound_options.cpp:1: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ source/sdl/dialogs/sound_options.cpp: In function 'int choose_driver(int)': source/sdl/dialogs/sound_options.cpp:38:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] int ret = MessageBox("Sound driver",_("Choose one of the available drivers:"),buf); ^ source/sdl/dialogs/sound_options.cpp:48:108: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("Error",_("Could not even initialize the audio subsystem with this driver\nForget it"),"Ok"); ^ source/sdl/dialogs/sound_options.cpp:48:108: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] In file included from source/compat_sdl.h:5:0, from source/sdl2/gui/menu.h:4, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/sound_options.cpp:1: source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl/dialogs/sound_options.cpp:53:3: note: in expansion of macro 'fatal_error' fatal_error("We lost the audio subsystem, bye!"); ^~~~~~~~~~~ source/sdl/dialogs/sound_options.cpp: In function 'void init_sound_driver(int)': source/sdl/dialogs/sound_options.cpp:111:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] sound_menu[1].values_list_label[0] = "None"; ^~~~~~ source/sdl/dialogs/sound_options.cpp: In function 'int do_sound_options(int)': source/sdl/dialogs/sound_options.cpp:155:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu = new TSoundDlg("", sound_menu); ^ Compiling c++ source/sdl/dialogs/controls.cpp... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/gui_options.cpp:1: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ source/sdl/dialogs/gui_options.cpp: In function 'int set_lang(int)': source/sdl/dialogs/gui_options.cpp:22:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 1: locale = "fr"; break; ^~~~ source/sdl/dialogs/gui_options.cpp:23:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 2: locale = "es"; break; ^~~~ source/sdl/dialogs/gui_options.cpp:24:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 3: locale = "it"; break; ^~~~ source/sdl/dialogs/gui_options.cpp:25:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] case 4: locale = "pt"; break; ^~~~ source/sdl/dialogs/gui_options.cpp:26:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] default: locale = "C"; break; ^~~ In file included from source/compat_sdl.h:5:0, from source/sdl2/gui/menu.h:4, from source/sdl/dialogs/gui_options.cpp:1: source/sdl/dialogs/gui_options.cpp: In function 'int do_led_paths(int)': source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl/dialogs/gui_options.cpp:88:3: note: in expansion of macro 'fatal_error' fatal_error("Failed to reallocate files buffer (%d entries)",nb_menu); ^~~~~~~~~~~ source/sdl/dialogs/gui_options.cpp:93:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("Error","No write permission to any brightness file\nin /sys/class/leds","ok"); ^ source/sdl/dialogs/gui_options.cpp:93:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/gui_options.cpp:93:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/gui_options.cpp:98:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TMenu *dlg = new TMenu("LEDs",menu); ^ In file included from source/compat_sdl.h:5:0, from source/sdl2/gui/menu.h:4, from source/sdl/dialogs/gui_options.cpp:1: source/sdl/dialogs/gui_options.cpp: In function 'int do_gui_options(int)': source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl/dialogs/gui_options.cpp:168:7: note: in expansion of macro 'fatal_error' fatal_error("Too many GUI options!"); ^~~~~~~~~~~ source/sdl/dialogs/gui_options.cpp:170:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] gui_options = new TMenu("", gui_menu); ^ In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/dirs.cpp:2: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ source/sdl/dialogs/dirs.cpp: In function 'int do_m68kdis(int)': source/sdl/dialogs/dirs.cpp:17:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *exts[] = { "m68kdis", NULL }; ^ source/sdl/dialogs/dirs.cpp:18:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fsel(dir_cfg.share_path,exts,dir_cfg.m68kdis,"Find m68kdis command"); ^ source/sdl/dialogs/dirs.cpp: In function 'int do_sh2d(int)': source/sdl/dialogs/dirs.cpp:24:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *exts[] = { "sh2d", NULL }; ^ source/sdl/dialogs/dirs.cpp:25:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fsel(dir_cfg.share_path,exts,dir_cfg.sh2d,"Find sh2d command"); ^ source/sdl/dialogs/dirs.cpp: In function 'int do_dz80(int)': source/sdl/dialogs/dirs.cpp:31:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *exts[] = { "dz80", NULL }; ^ source/sdl/dialogs/dirs.cpp:32:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fsel(dir_cfg.share_path,exts,dir_cfg.dz80,"Find dz80 command"); ^ source/sdl/dialogs/dirs.cpp: In function 'int do_d6502(int)': source/sdl/dialogs/dirs.cpp:38:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *exts[] = { "disa_6502.pl", NULL }; ^ source/sdl/dialogs/dirs.cpp:39:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fsel(dir_cfg.share_path,exts,dir_cfg.d6502,"Find 6502 disasm command"); ^ source/sdl/dialogs/dirs.cpp: In function 'int do_dirs(int)': source/sdl/dialogs/dirs.cpp:82:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TMenu *mbox = new TMenu("",menu); ^ Compiling c++ source/sdl/dialogs/cheats.cpp... Compiling c++ source/sdl/dialogs/game_options.cpp... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/about.cpp:3: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ In file included from source/compat_sdl.h:5:0, from source/sdl2/gui/menu.h:4, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/about.cpp:3: source/sdl/dialogs/about.cpp: In member function 'void TSketcher::poly(int, ...)': source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl/dialogs/about.cpp:112:3: note: in expansion of macro 'fatal_error' fatal_error("poly overflow !"); ^~~~~~~~~~~ source/sdl/dialogs/about.cpp: In member function 'virtual void TMoveStatic::disp(SDL_Surface*, TFont*, int, int, int, int, int, int, int)': source/sdl/dialogs/about.cpp:239:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (has_input(KB_DEF_P1_B6) && !is_current_game("daioh")) { ^ source/sdl/dialogs/about.cpp:241:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *keys[] = { "lp","mp","sp","lk","mk","sk" }; ^ source/sdl/dialogs/about.cpp:241:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/about.cpp:241:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/about.cpp:241:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/about.cpp:241:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/about.cpp:241:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/about.cpp:277:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font = new TFont_ttf(h,"VeraMono.ttf"); ^ source/sdl/dialogs/about.cpp: In constructor 'TMoves_menu::TMoves_menu(char*, menu_item_t*)': source/sdl/dialogs/about.cpp:534:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font_name = "VeraMono.ttf"; ^~~~~~~~~~~~~~ In file included from source/compat_sdl.h:5:0, from source/sdl2/gui/menu.h:4, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/about.cpp:3: source/sdl/dialogs/about.cpp: In member function 'virtual void TAbout_menu::update_fg_layer(int)': source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl/dialogs/about.cpp:644:3: note: in expansion of macro 'fatal_error' fatal_error("SDL_SetRenderTarget %d : %s",ret,SDL_GetError()); ^~~~~~~~~~~ source/sdl/dialogs/about.cpp: At global scope: source/sdl/dialogs/about.cpp:734:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ source/sdl/dialogs/about.cpp:734:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/about.cpp:734:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/about.cpp:734:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/about.cpp:734:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/about.cpp:734:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/about.cpp:734:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/about.cpp:734:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/about.cpp:734:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/about.cpp: In function 'int about_game(int)': source/sdl/dialogs/about.cpp:852:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf *font = new TFont_ttf(min_font_size); ^ source/sdl/dialogs/about.cpp:856:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *hist = get_shared("history.dat"); ^ source/sdl/dialogs/about.cpp:862:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] goto_url("http://www.arcade-history.com/index.php?page=download"); ^ source/sdl/dialogs/about.cpp:871:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] about_menu = new TAbout("",menu, NULL,-1, -1,-1,-1, /* to_translate */ 0); ^ source/sdl/dialogs/about.cpp: In function 'int show_moves(int)': source/sdl/dialogs/about.cpp:894:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] NULL,-1, -1,-1,-1, /* to_translate */ 0); ^ source/sdl/dialogs/about.cpp: In function 'int do_about(int)': source/sdl/dialogs/about.cpp:936:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] path = get_shared("bitmaps" SLASH "raine_logo.png"); ^ source/sdl/dialogs/about.cpp:977:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] about_menu = new TAbout_menu("",about_items, path); ^ Compiling c++ source/sdl/dialogs/colors.cpp... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/messagebox.cpp:1: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ Compiling c++ source/sdl/gui/tfont.cpp... Compiling c++ source/sdl/gui/widget.cpp... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/cheats.cpp:1: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ source/sdl/dialogs/cheats.cpp: In member function 'virtual void TCheatDlg::handle_mouse(SDL_Event*)': source/sdl/dialogs/cheats.cpp:46:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("info",cheat_info,"OK"); ^ source/sdl/dialogs/cheats.cpp:46:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/cheats.cpp: In function 'int do_cheats(int)': source/sdl/dialogs/cheats.cpp:167:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TCheatDlg *cheats = new TCheatDlg("",menu); ^ Compiling c++ source/sdl/gui/tslider.cpp... Compiling c++ source/sdl/gui/tlift.cpp... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/controls.cpp:2: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/colors.cpp:1: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ source/sdl/dialogs/colors.cpp: In function 'int do_colors(int)': source/sdl/dialogs/colors.cpp:159:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dlg2 = (TColorDlg*)new TMenu("",colors_menu); ^ source/sdl/dialogs/controls.cpp: In function 'char* my_get_joy_name(int)': source/sdl/dialogs/controls.cpp:83:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] direction = "-"; ^~~ source/sdl/dialogs/controls.cpp:85:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] direction = "+"; ^~~ source/sdl/dialogs/controls.cpp:88:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] direction = "+"; ^~~ source/sdl/dialogs/controls.cpp:90:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] direction = "-"; ^~~ In file included from source/compat_sdl.h:5:0, from source/sdl2/gui/menu.h:4, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/controls.cpp:2: source/sdl/dialogs/controls.cpp: In function 'int get_def_indice(const char*)': source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl/dialogs/controls.cpp:348:5: note: in expansion of macro 'fatal_error' fatal_error("Not found def_input_emu name : %s",name); ^~~~~~~~~~~ source/sdl/dialogs/controls.cpp: In function 'int do_input(int)': source/sdl/dialogs/controls.cpp:355:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TInput *input = new TInput("",menu_input,0,1); ^ source/sdl/dialogs/controls.cpp: In function 'int do_kb_input(int)': source/sdl/dialogs/controls.cpp:399:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TInput *input = new TInput("",kb_only,0,1,0); ^ source/sdl/dialogs/controls.cpp: In function 'int do_input_ingame(int)': source/sdl/dialogs/controls.cpp:427:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TInput *input = new TInput("",menu_input,1,0); ^ source/sdl/dialogs/controls.cpp: In function 'int do_emu_controls(int)': source/sdl/dialogs/controls.cpp:514:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] controls = new TMyMenuMultiCol("",menu,2,cols); ^ source/sdl/dialogs/controls.cpp: In function 'int do_layers_controls(int)': source/sdl/dialogs/controls.cpp:537:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] controls = new TMyMenuMultiCol("",menu,1,cols); ^ source/sdl/dialogs/controls.cpp: In function 'int do_ingame_controls(int)': source/sdl/dialogs/controls.cpp:660:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] controls = new TMyMenuMultiCol("",menu,3,cols); ^ source/sdl/dialogs/controls.cpp: In function 'int setup_autofire(int)': source/sdl/dialogs/controls.cpp:739:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TMenu *controls = new TMenu("",menu); ^ source/sdl/dialogs/controls.cpp: In constructor 'TCalibrate::TCalibrate(char*, menu_item_t*)': source/sdl/dialogs/controls.cpp:803:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TBitmap_menu(my_title,mymenu," ") { cx = cy = 0; } ^ source/sdl/dialogs/controls.cpp: In member function 'virtual void TCalibrate::setup_font(unsigned int)': source/sdl/dialogs/controls.cpp:817:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font = new TFont_ttf(h); ^ source/sdl/dialogs/controls.cpp: In function 'int do_save(int)': source/sdl/dialogs/controls.cpp:967:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] EditDlg("Save as ",dest,20); ^ source/sdl/dialogs/controls.cpp: In function 'int do_joy_index(int)': source/sdl/dialogs/controls.cpp:1070:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("Info","You need at least 2 joysticks for that","OK"); ^ source/sdl/dialogs/controls.cpp:1070:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/controls.cpp:1070:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/controls.cpp:1080:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TJoy *menu = new TJoy("Which index to change?",my_menu); ^ source/sdl/dialogs/controls.cpp:1087:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menu = new TJoy("With which one?",my_menu); ^ source/sdl/dialogs/controls.cpp: In function 'int do_mapping(int)': source/sdl/dialogs/controls.cpp:1106:101: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("Error", "This command is to map the controls of a\njoystick, and none is detected","Ok"); ^ source/sdl/dialogs/controls.cpp:1106:101: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/controls.cpp:1106:101: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/controls.cpp:1132:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "To exit, press ESC"),"Ok"); ^ source/sdl/dialogs/controls.cpp:1132:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/controls.cpp:1142:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] FILE *f = fopen(get_shared("config" SLASH "userdb.txt"),"r"); ^ source/sdl/dialogs/controls.cpp:1150:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] FILE *g = fopen(get_shared("config" SLASH "userdb2.txt"),"w"); ^ source/sdl/dialogs/controls.cpp:1170:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] strcpy(userdb,get_shared("config" SLASH "userdb.txt")); ^ source/sdl/dialogs/controls.cpp:1174:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("Error",err,"ok"); ^ source/sdl/dialogs/controls.cpp:1174:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/controls.cpp:1177:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (rename(get_shared("config" SLASH "userdb2.txt"),get_shared("config" SLASH "userdb.txt"))) { ^ source/sdl/dialogs/controls.cpp:1177:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (rename(get_shared("config" SLASH "userdb2.txt"),get_shared("config" SLASH "userdb.txt"))) { ^ source/sdl/dialogs/controls.cpp:1179:106: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] snprintf(err,FILENAME_MAX,"could not rename mapping file to\n%s",get_shared("config" SLASH "userdb.txt")); ^ source/sdl/dialogs/controls.cpp:1180:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("Error",err,"ok"); ^ source/sdl/dialogs/controls.cpp:1180:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/controls.cpp:1184:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] f = fopen(get_shared("config" SLASH "userdb.txt"),"w"); ^ In file included from /pbulk/work/emulators/raine/work/.buildlink/include/SDL2/SDL_events.h:37:0, from /pbulk/work/emulators/raine/work/.buildlink/include/SDL2/SDL.h:41, from source/compat_sdl.h:4, from source/sdl2/gui/menu.h:4, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/controls.cpp:2: source/sdl/dialogs/controls.cpp:1188:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] int ret = SDL_GameControllerAddMappingsFromFile(get_shared("config" SLASH "userdb.txt")); ^ /pbulk/work/emulators/raine/work/.buildlink/include/SDL2/SDL_gamecontroller.h:173:106: note: in definition of macro 'SDL_GameControllerAddMappingsFromFile' #define SDL_GameControllerAddMappingsFromFile(file) SDL_GameControllerAddMappingsFromRW(SDL_RWFromFile(file, "rb"), 1) ^~~~ source/sdl/dialogs/controls.cpp: At global scope: source/sdl/dialogs/controls.cpp:1210:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ source/sdl/dialogs/controls.cpp: In function 'int do_controls(int)': source/sdl/dialogs/controls.cpp:1252:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ctrl = new TControl("", controls_menu); ^ Compiling c++ source/sdl/console/console.cpp... In file included from source/sdl/gui/widget.h:4:0, from source/sdl/gui/widget.cpp:1: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ source/sdl/gui/widget.cpp: In member function 'virtual int TStatic::get_height(TFont*)': source/sdl/gui/widget.cpp:146:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ansi_font_dim(font," ",&w,&h); ^ In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/gui/menu.h:2, from source/sdl/gui/tslider.cpp:1: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ Compiling c++ source/sdl/console/parser.cpp... Compiling c++ source/sdl/console/scripts.cpp... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/game_options.cpp:5: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ In file included from source/sdl/gui/tfont.cpp:12:0: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ In file included from source/raine.h:35:0, from source/sdl/dialogs/game_options.cpp:1: source/sdl/dialogs/game_options.cpp: In function 'menu_item_t* get_savegames(int)': source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl/dialogs/game_options.cpp:103:6: note: in expansion of macro 'fatal_error' fatal_error("Couldn't store date"); ^~~~~~~~~~~ source/sdl/dialogs/game_options.cpp: At global scope: source/sdl/dialogs/game_options.cpp:252:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ source/sdl/dialogs/game_options.cpp:252:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/game_options.cpp:252:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/game_options.cpp: In member function 'virtual int TGame_options::can_be_displayed(int)': source/sdl/dialogs/game_options.cpp:264:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (is_current_game("ssrpg")) { ^ source/sdl/gui/tfont.cpp: In function 'int do_font(int)': source/sdl/gui/tfont.cpp:30:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *exts[] = { "ttf", NULL }; ^ source/sdl/dialogs/game_options.cpp:268:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return find_spec("f_bg",name,&offset,&len); ^ source/sdl/dialogs/game_options.cpp:272:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return current_game && is_current_game("ssrpg"); ^ source/sdl/dialogs/game_options.cpp: In function 'int do_game_options(int)': source/sdl/dialogs/game_options.cpp:282:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TGame_options *menu = new TGame_options("",game_options); ^ source/sdl/gui/tfont.cpp: In member function 'void TFont::select_ideal_font(int, int)': source/sdl/gui/tfont.cpp:88:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *fdir = (*get_shared_hook)("fonts"); ^ source/sdl/gui/tfont.cpp: In member function 'virtual void TFont_ttf::load_font(char*)': source/sdl/gui/tfont.cpp:369:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] myfont = "Vera.ttf"; ^~~~~~~~~~ Compiling c++ source/sdl/console/if.cpp... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/gui/menu.h:2, from source/sdl/gui/tlift.cpp:4: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ Compiling c++ source/sdl/gui/tconsole.cpp... Compiling c++ source/sdl/console/exec.cpp... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/gui/tconsole.h:5, from source/sdl/console/console.h:6, from source/sdl/console/console.cpp:4: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ Compiling c++ source/sdl/console/muParser.cpp... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/gui/tconsole.h:5, from source/sdl/console/console.h:6, from source/sdl/console/scripts.cpp:5: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ source/sdl/console/console.cpp: In member function 'virtual void TRaineConsole::unknown_command(int, char**)': source/sdl/console/console.cpp:511:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw(ConsExcept("token unknown %s",err)); ^ source/sdl/console/console.cpp: In function 'void do_poke(int, char**)': source/sdl/console/console.cpp:739:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw(ConsExcept("%s: %x not in ram (allowed only for poke)",argv[0],adr)); ^ source/sdl/console/console.cpp: At global scope: source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp:1526:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/console.cpp: In function 'int do_console(int)': source/sdl/console/console.cpp:1558:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cons = new TRaineConsole(_("Console"),"", sdl_screen->w/min_font_size-4,1000, commands); ^ source/sdl/console/console.cpp: In function 'void run_console_command(char*)': source/sdl/console/console.cpp:1658:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] cons = new TRaineConsole(_("Console"),"", sdl_screen->w/min_font_size-4,1000, commands,0); ^ source/sdl/console/console.cpp: In function 'void do_lua(int, char**)': source/sdl/console/console.cpp:1862:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw ConsExcept("lua error: %s",lua_tostring(L,-1)); ^ source/sdl/console/scripts.cpp: In function 'char* get_script_comment(int)': source/sdl/console/scripts.cpp:77:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return ""; ^~ In file included from source/raine.h:35:0, from source/sdl/console/scripts.cpp:1: source/sdl/console/scripts.cpp: In function 'void init_scripts()': source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl/console/scripts.cpp:229:4: note: in expansion of macro 'fatal_error' fatal_error("too many arguments for %s (%d)",buff,argc-2); ^~~~~~~~~~~ source/sdl/console/scripts.cpp:363:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("alert","cheats file in the wrong format, please update ! (luascript)","ok"); ^ source/sdl/console/scripts.cpp:363:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/scripts.cpp:363:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/scripts.cpp:388:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("alert","cheats file in the wrong format, please update !","ok"); ^ source/sdl/console/scripts.cpp:388:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/scripts.cpp:388:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/scripts.cpp: In function 'void run_script(int)': source/sdl/console/scripts.cpp:423:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] run_console_command(""); ^ source/sdl/console/scripts.cpp:426:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] section = "change"; ^~~~~~~~ source/sdl/console/scripts.cpp:433:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] section = "change"; ^~~~~~~~ source/sdl/console/scripts.cpp:435:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] argv[0] = "luascript"; ^~~~~~~~~~~ source/sdl/console/scripts.cpp:446:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] section = "on"; ^~~~ source/sdl/console/scripts.cpp:452:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] section = "on"; ^~~~ source/sdl/console/scripts.cpp:454:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] argv[0] = "luascript"; ^~~~~~~~~~~ source/sdl/console/scripts.cpp:463:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] section = "off"; ^~~~~ source/sdl/console/scripts.cpp:469:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] section = "off"; ^~~~~ source/sdl/console/scripts.cpp:470:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] argv[0] = "luascript"; ^~~~~~~~~~~ source/sdl/console/scripts.cpp:478:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] section = "on"; ^~~~ source/sdl/console/scripts.cpp:484:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] section = "on"; ^~~~ source/sdl/console/scripts.cpp:486:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] argv[0] = "luascript"; ^~~~~~~~~~~ source/sdl/console/scripts.cpp:512:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("script error",msg,"ok"); ^ source/sdl/console/scripts.cpp:512:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/scripts.cpp:514:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("script error",e.what(),"ok"); ^ source/sdl/console/scripts.cpp:514:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/scripts.cpp:522:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("script error",(char *)msg,"ok"); ^ source/sdl/console/scripts.cpp:522:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/scripts.cpp: In function 'int activate_cheat(int)': source/sdl/console/scripts.cpp:548:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TDialog *dlg = new TDialog("script parameter",menu); ^ source/sdl/console/scripts.cpp:561:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] int ret = MessageBox("script parameter",script[n].title,btn); ^ source/sdl/console/scripts.cpp: In function 'void update_scripts()': source/sdl/console/scripts.cpp:624:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] run_console_command(""); ^ source/sdl/console/scripts.cpp:633:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] section = "run"; ^~~~~ source/sdl/console/scripts.cpp:645:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] argv[0] = "luascript"; ^~~~~~~~~~~ source/sdl/console/scripts.cpp:707:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("script error",msg,"ok"); ^ source/sdl/console/scripts.cpp:707:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/scripts.cpp:709:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("script error",e.what(),"ok"); ^ source/sdl/console/scripts.cpp:709:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/scripts.cpp:716:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("script error",(char *)msg,"ok"); ^ source/sdl/console/scripts.cpp:716:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/console/scripts.cpp: In function 'void do_start_script(int, char**)': source/sdl/console/scripts.cpp:770:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw ConsExcept("Didn't find script %s",argv[1]); ^ source/sdl/console/scripts.cpp: In function 'void do_script(int, char**)': source/sdl/console/scripts.cpp:788:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] get_script_mode(""); ^ source/sdl/console/scripts.cpp: In function 'char* get_script_title(int)': source/sdl/console/scripts.cpp:803:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return ""; ^~ In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/gui/tconsole.h:5, from source/sdl/console/console.h:6, from source/sdl/console/if.cpp:2: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/gui/tconsole.h:5, from source/sdl/console/console.h:6, from source/sdl/console/parser.cpp:9: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ source/sdl/console/parser.cpp: In function 'mu::value_type alert(const char_type*)': source/sdl/console/parser.cpp:239:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return MessageBox("alert",cmsg,btn); ^ source/sdl/console/parser.cpp:242:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return MessageBox("alert",cmsg); ^ source/sdl/console/console.cpp: In function 'void do_cpu(int, char**)': source/sdl/console/console.cpp:1374:29: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] if (M6502_context[n].m6502Base) { ~~~~~~~~~~~~~~~~~^~~~~~~~~ source/sdl/console/console.cpp:1373:19: note: within this loop for (int n=0; n<4; n++) { ~^~ In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/gui/tconsole.h:5, from source/sdl/console/console.h:6, from source/sdl/console/exec.cpp:3: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ Compiling c++ source/sdl/console/muParserBase.cpp... Compiling c++ source/sdl/console/muParserBytecode.cpp... Compiling c++ source/sdl/console/muParserCallback.cpp... source/sdl/console/exec.cpp: In function 'void get_asm_file(char*, unsigned int)': source/sdl/console/exec.cpp:553:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] sprintf(str,"%s/prg_%02x.s",get_shared("debug"),target/0x10000); ^ source/sdl/console/exec.cpp:556:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] sprintf(str,"%s/prg.z80",get_shared("debug")); ^ source/sdl/console/exec.cpp:559:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] sprintf(str,"%s/prg.6502",get_shared("debug")); ^ source/sdl/console/exec.cpp:562:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] sprintf(str,"%s/prg020_%02x.s",get_shared("debug"),target/0x10000); ^ source/sdl/console/exec.cpp:565:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] sprintf(str,"%s/prgsh2_%02x.s",get_shared("debug"),target/0x10000); ^ Compiling c++ source/sdl/console/muParserError.cpp... Compiling c++ source/sdl/console/muParserTokenReader.cpp... Compiling c++ source/sdl/dialogs/game_selection.cpp... Compiling c++ source/sdl/dialogs/romdirs.cpp... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/game_selection.cpp:1: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ source/sdl/dialogs/game_selection.cpp:37:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "taito_f2.c", "lsystem.c", "xsystem2.c", "toaplan1.c", "toaplan2.c" }; ^ source/sdl/dialogs/game_selection.cpp:37:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/game_selection.cpp:37:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/game_selection.cpp:37:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/game_selection.cpp:37:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/game_selection.cpp:37:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/game_selection.cpp:37:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/game_selection.cpp:37:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/game_selection.cpp:37:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/game_selection.cpp:37:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/game_selection.cpp:37:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/game_selection.cpp:37:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/game_selection.cpp: In function 'int do_options(int)': source/sdl/dialogs/game_selection.cpp:70:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TMenu *mymenu = new TMenu("",options); ^ source/sdl/dialogs/game_selection.cpp: In function 'int do_recent(int)': source/sdl/dialogs/game_selection.cpp:109:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("Error","No most played games yet","OK"); ^ source/sdl/dialogs/game_selection.cpp:109:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/game_selection.cpp:109:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/game_selection.cpp:116:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("Error","No recent games yet","OK"); ^ source/sdl/dialogs/game_selection.cpp:116:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/dialogs/game_selection.cpp:116:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] In file included from source/sdl/gui/tconsole.cpp:6:0: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ Compiling c++ source/sdl/dialogs/dlg_dsw.cpp... In file included from source/raine.h:35:0, from source/sdl/gui/tconsole.cpp:4: source/sdl/gui/tconsole.cpp: In function 'void split_command(char*, char**, int*, int, int)': source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl/gui/tconsole.cpp:72:5: note: in expansion of macro 'fatal_error' fatal_error("split_command: max arguments : %d for command %s !",max,copie); ^~~~~~~~~~~ source/sdl/gui/tconsole.cpp: In constructor 'TConsole::TConsole(char*, char*, int, int, commands_t*, int)': source/sdl/gui/tconsole.cpp:95:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font_name = "VeraMono.ttf"; ^~~~~~~~~~~~~~ In file included from source/raine.h:35:0, from source/sdl/gui/tconsole.cpp:4: source/sdl/gui/tconsole.cpp: In member function 'virtual void TConsole::fglayer_footer_update()': source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl/gui/tconsole.cpp:322:7: note: in expansion of macro 'fatal_error' fatal_error("rendertarget error"); ^~~~~~~~~~~ source/sdl/gui/tconsole.cpp: In member function 'virtual int TConsole::run_cmd(char*, int)': source/sdl/gui/tconsole.cpp:514:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("script error",msg,"ok"); ^ source/sdl/gui/tconsole.cpp:514:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui/tconsole.cpp:516:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("script error",e.what(),"ok"); ^ source/sdl/gui/tconsole.cpp:516:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl/gui/tconsole.cpp:522:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] MessageBox("script error",(char *)msg,"ok"); ^ source/sdl/gui/tconsole.cpp:522:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Compiling c++ source/sdl2/gui/menu.cpp... Compiling c++ source/sdl2/gui/tedit.cpp... Compiling source/games/games.c... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/dlg_dsw.cpp:1: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ source/sdl/dialogs/dlg_dsw.cpp: In function 'int do_dlg_dsw(int)': source/sdl/dialogs/dlg_dsw.cpp:41:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Tdlg_dsw *dlg = new Tdlg_dsw("",dsw_items); ^ In file included from source/sdl2/gui/menu.h:9:0, from source/sdl/dialogs/../gui/menu.h:2, from source/sdl/dialogs/romdirs.cpp:2: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ source/sdl/dialogs/romdirs.cpp: In function 'int do_dir(int)': source/sdl/dialogs/romdirs.cpp:16:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dsel(dir_cfg.rom_dir[sel],NULL,res,"ROM directories"); ^ source/sdl/dialogs/romdirs.cpp: In function 'int add_dir(int)': source/sdl/dialogs/romdirs.cpp:32:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dsel(res,NULL,res,"ROM directories"); ^ Compiling source/games/default.c... Compiling source/leds.c... Compiling source/sdl/control.c... In file included from source/sdl/gui/widget.h:4:0, from source/sdl2/gui/tedit.h:4, from source/sdl2/gui/tedit.cpp:1: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ Compiling source/sdl/opengl.c... Compiling source/math/matrix.c... Compiling source/sdl/glsl.c... In file included from source/sdl2/gui/menu.h:9:0, from source/sdl2/gui/menu.cpp:90: source/sdl/gui/tfont.h:35:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TFont_ttf(int size=12,char *font="Vera.ttf"); ^~~~~~~~~~ source/sdl2/gui/menu.cpp:117:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *jap_font = ""; ^~ source/sdl2/gui/menu.cpp:137:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ source/sdl2/gui/menu.cpp:137:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] source/sdl2/gui/menu.cpp: In constructor 'TMenu::TMenu(char*, menu_item_t*, char*, int, int, int, int, int)': source/sdl2/gui/menu.cpp:349:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font_name = "Vera.ttf"; ^~~~~~~~~~ In file included from source/video/palette.h:20:0, from source/sdl2/gui/menu.cpp:87: source/sdl2/gui/menu.cpp: In member function 'virtual void TMenu::create_child(int)': source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl2/gui/menu.cpp:434:5: note: in expansion of macro 'fatal_error' fatal_error("unknown extension %d",menu[n].values_list_size); ^~~~~~~~~~~ source/sdl2/gui/menu.cpp: In member function 'virtual char* TMenu::get_bot_frame_text()': source/sdl2/gui/menu.cpp:512:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return ""; ^~ In file included from source/video/palette.h:20:0, from source/sdl2/gui/menu.cpp:87: source/sdl2/gui/menu.cpp: In member function 'virtual void TMenu::setup_fg_layer()': source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl2/gui/menu.cpp:738:7: note: in expansion of macro 'fatal_error' fatal_error("fg_layer creation problem (%d,%d) : %s",w,h,SDL_GetError()); ^~~~~~~~~~~ source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl2/gui/menu.cpp:746:5: note: in expansion of macro 'fatal_error' fatal_error("fg layer creation failed: %s",SDL_GetError()); ^~~~~~~~~~~ source/sdl2/gui/menu.cpp: In member function 'virtual void TMenu::update_header_entry(int)': source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl2/gui/menu.cpp:822:6: note: in expansion of macro 'fatal_error' fatal_error("update_header_entry: RenderTarget failed ?"); ^~~~~~~~~~~ source/sdl2/gui/menu.cpp: In member function 'virtual void TMenu::update_fg_layer(int)': source/sdl2/compat.h:31:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define fatal_error(format, ...) sdl_fatal_error(__FILE__,__func__,__LINE__, format, ## __VA_ARGS__) ^ source/sdl2/gui/menu.cpp:892:7: note: in expansion of macro 'fatal_error' fatal_error("SDL_SetRenderTarget %d : %s",ret,SDL_GetError()); ^~~~~~~~~~~ source/sdl2/gui/menu.cpp: In member function 'virtual void TBitmap_menu::setup_font(unsigned int)': source/sdl2/gui/menu.cpp:1965:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] font = new TFont_ttf(h2); ^ Compiling source/sdl2/blit.c... Compiling source/sdl2/display.c... Compiling source/sdl2/controllermap.c... Compiling source/sdl2/compat.c... Compiling source/sdl2/profile.c... Compiling source/sdl2/gui/IMG_png.c... Compiling source/curl.c... Compiling source/sdl/sasound.c... Compiling source/sdl2/sdl_sound/SDL_sound.c... Compiling source/sdl2/sdl_sound/SDL_sound_mp3.c... Compiling source/sdl2/sdl_sound/SDL_sound_wav.c... Compiling source/sdl2/sdl_sound/SDL_sound_vorbis.c... Compiling source/sdl2/sdl_sound/SDL_sound_raw.c... xgettext --omit-header -C -k_ -kgettext -d raine -s -o locale/tmp `find source -name '*.c*'|grep -v source/Musashi` Compiling source/sdl2/sdl_sound/SDL_sound_flac.c... msgfmt -c -v -o locale/fr/LC_MESSAGES/raine.mo locale/french.po msgfmt -c -v -o locale/es/LC_MESSAGES/raine.mo locale/es.po 947 translated messages, 20 fuzzy translations, 640 untranslated messages. msgfmt -c -v -o locale/pt_BR/LC_MESSAGES/raine.mo locale/pt_br.po locale/es.po:7: headerfield `Last-Translator' missing in header 1146 translated messages, 100 fuzzy translations, 352 untranslated messages. msgfmt -c -v -o locale/it/LC_MESSAGES/raine.mo locale/it.po 1622 translated messages. g++ -o linux-gnu-sdl2/object/Musashi/m68kmake linux-gnu-sdl2/object/Musashi/m68kmake.o 1210 translated messages, 103 fuzzy translations, 285 untranslated messages. cd source/Musashi && ../../linux-gnu-sdl2/object/Musashi/m68kmake cd source/Musashi && ../../linux-gnu-sdl2/object/Musashi/m68kmake Musashi v3.32 68000, 68008, 68010, 68EC020, 68020, 68040 emulator Copyright Karl Stenerud (kstenerud@gmail.com) Generated 1966 opcode handlers from 517 primitives Musashi v3.32 68000, 68008, 68010, 68EC020, 68020, 68040 emulator Copyright Karl Stenerud (kstenerud@gmail.com) Generated 1966 opcode handlers from 517 primitives Compiling source/Musashi/m68kcpu.c... cat locale/header locale/tmp > locale/raine.pot Compiling source/Musashi/m68kops.c... rm -f locale/tmp Linking Raine... ld: linux-gnu-sdl2/object/sdl/sasound.o: in function `my_callback.part.2': sasound.c:(.text+0x986): undefined reference to `ProfileStop' ld: linux-gnu-sdl2/object/sdl/sasound.o: in function `my_callback': sasound.c:(.text+0x1354): undefined reference to `ProfileStart' ld: sasound.c:(.text+0x1362): undefined reference to `ProfileStop' gmake: *** [makefile:1466: raine] Error 1 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/emulators/raine *** Error code 1 Stop. make: stopped in /usr/pkgsrc/emulators/raine