=> Building games/goonies build started at Wed Oct 5 10:00:17 PDT 2016 port directory: /usr/ports/games/goonies building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: amdmi3@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../10//usr/ports/games/goonies/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=goonies-1.0.1_10 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for goonies-1.0.1_10: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config MAKE=gmake XDG_DATA_HOME=/wrkdirs/games/goonies XDG_CONFIG_HOME=/wrkdirs/games/goonies HOME=/wrkdirs/games/goonies TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- DATADIR="/usr/local/share/goonies" SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/games/goonies XDG_CONFIG_HOME=/wrkdirs/games/goonies HOME=/wrkdirs/games/goonies TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/goonies" EXAMPLESDIR="share/examples/goonies" DATADIR="share/goonies" WWWDIR="www/goonies" ETCDIR="etc/goonies" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/goonies DOCSDIR=/usr/local/share/doc/goonies EXAMPLESDIR=/usr/local/share/examples/goonies WWWDIR=/usr/local/www/goonies ETCDIR=/usr/local/etc/goonies --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== =========================================================================== =================================================== ===> goonies-1.0.1_10 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> goonies-1.0.1_10 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of goonies-1.0.1_10 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by goonies-1.0.1_10 for building =========================================================================== =================================================== ===> Fetching all distfiles required by goonies-1.0.1_10 for building => SHA256 Checksum OK for goonies_r1-0-1.tgz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by goonies-1.0.1_10 for building ===> Extracting for goonies-1.0.1_10 => SHA256 Checksum OK for goonies_r1-0-1.tgz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for goonies-1.0.1_10 ===> Applying ports patches for goonies-1.0.1_10 =========================================================================== =================================================== ===> goonies-1.0.1_10 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_7,2.txz Installing sdl-1.2.15_7,2... `-- Installing libXrender-0.9.9... | `-- Installing xproto-7.0.28... | `-- Extracting xproto-7.0.28: .......... done | `-- Installing renderproto-0.11.1... | `-- Extracting renderproto-0.11.1: .... done | `-- Installing libX11-1.6.3,1... | | `-- Installing kbproto-1.0.7... | | `-- Extracting kbproto-1.0.7: .......... done | | `-- Installing libXdmcp-1.1.2... | | `-- Extracting libXdmcp-1.1.2: ......... done | | `-- Installing libxcb-1.11.1... | | `-- Installing libxml2-2.9.4... | | `-- Extracting libxml2-2.9.4: .......... done | | `-- Installing libpthread-stubs-0.3_6... | | `-- Extracting libpthread-stubs-0.3_6: ..... done | | `-- Installing libXau-1.0.8_3... | | `-- Extracting libXau-1.0.8_3: .......... done | | `-- Extracting libxcb-1.11.1: .......... done | `-- Extracting libX11-1.6.3,1: .......... done `-- Extracting libXrender-0.9.9: .......... done `-- Installing libXrandr-1.5.0... | `-- Installing randrproto-1.5.0... | `-- Extracting randrproto-1.5.0: .... done | `-- Installing libXext-1.3.3_1,1... | | `-- Installing xextproto-7.3.0... | | `-- Extracting xextproto-7.3.0: .......... done | `-- Extracting libXext-1.3.3_1,1: .......... done `-- Extracting libXrandr-1.5.0: .......... done `-- Installing libGLU-9.0.0_2... | `-- Installing libGL-11.2.2... | | `-- Installing expat-2.2.0... | | `-- Extracting expat-2.2.0: .......... done | | `-- Installing dri2proto-2.8... | | `-- Extracting dri2proto-2.8: .... done | | `-- Installing libXdamage-1.1.4_3... | | `-- Installing libXfixes-5.0.1_3... | | | `-- Installing fixesproto-5.0... | | | `-- Extracting fixesproto-5.0: .... done | | `-- Extracting libXfixes-5.0.1_3: .......... done | | `-- Installing damageproto-1.2.1... | | `-- Extracting damageproto-1.2.1: .... done | | `-- Extracting libXdamage-1.1.4_3: ...... done | | `-- Installing libdevq-0.0.2_1... | | `-- Extracting libdevq-0.0.2_1: ....... done | | `-- Installing libXxf86vm-1.1.4_1... | | `-- Installing xf86vidmodeproto-2.3.1... | | `-- Extracting xf86vidmodeproto-2.3.1: .... done | | `-- Extracting libXxf86vm-1.1.4_1: .......... done | | `-- Installing libdrm-2.4.66,1... | | `-- Installing libpciaccess-0.13.4... | | | `-- Installing pciids-20160621... | | | `-- Extracting pciids-20160621: ..... done | | `-- Extracting libpciaccess-0.13.4: ...... done | | `-- Extracting libdrm-2.4.66,1: .......... done | | `-- Installing libelf-0.8.13_1... | | `-- Installing gettext-runtime-0.19.8.1... | | | `-- Installing indexinfo-0.2.5... | | | `-- Extracting indexinfo-0.2.5: .... done | | `-- Extracting gettext-runtime-0.19.8.1: .......... done | | `-- Extracting libelf-0.8.13_1: .......... done | | `-- Installing libxshmfence-1.2... | | `-- Extracting libxshmfence-1.2: ......... done | | `-- Installing libglapi-11.2.2... | | `-- Installing libXvMC-1.0.9... | | | `-- Installing libXv-1.0.10_3,1... | | | `-- Installing videoproto-2.3.2... | | | `-- Extracting videoproto-2.3.2: ...... done | | | `-- Extracting libXv-1.0.10_3,1: .......... done | | `-- Extracting libXvMC-1.0.9: .......... done | | `-- Extracting libglapi-11.2.2: ... done | `-- Extracting libGL-11.2.2: .......... done `-- Extracting libGLU-9.0.0_2: ...... done `-- Installing aalib-1.4.r5_11... | `-- Installing ncurses-6.0_5... | `-- Extracting ncurses-6.0_5: .......... done `-- Extracting aalib-1.4.r5_11: .......... done Extracting sdl-1.2.15_7,2: .......... done Message from ncurses-6.0_5: ===> NOTICE: The ncurses port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Message from aalib-1.4.r5_11: ===> NOTICE: The aalib port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Message from sdl-1.2.15_7,2: ------------------------------------------------------------------------------ Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". ------------------------------------------------------------------------------ ===> goonies-1.0.1_10 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of goonies-1.0.1_10 ===> goonies-1.0.1_10 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... Extracting gmake-4.2.1_1: .......... done ===> goonies-1.0.1_10 depends on executable: gmake - found ===> Returning to build of goonies-1.0.1_10 ===> goonies-1.0.1_10 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - not found ===> Installing existing package /packages/All/glproto-1.4.17.txz Installing glproto-1.4.17... Extracting glproto-1.4.17: ...... done ===> goonies-1.0.1_10 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found ===> Returning to build of goonies-1.0.1_10 ===> goonies-1.0.1_10 depends on file: /usr/local/libdata/pkgconfig/dri2proto.pc - found =========================================================================== =================================================== ===> goonies-1.0.1_10 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> goonies-1.0.1_10 depends on shared library: libSDL_mixer.so - not found ===> Installing existing package /packages/All/sdl_mixer-1.2.12_12.txz Installing sdl_mixer-1.2.12_12... `-- Installing flac-1.3.1_2... | `-- Installing libogg-1.3.2_1,4... | `-- Extracting libogg-1.3.2_1,4: .......... done `-- Extracting flac-1.3.1_2: .......... done `-- Installing libmikmod-3.3.8... `-- Extracting libmikmod-3.3.8: .......... done `-- Installing smpeg-0.4.4_14... `-- Extracting smpeg-0.4.4_14: .......... done `-- Installing libvorbis-1.3.5,3... `-- Extracting libvorbis-1.3.5,3: .......... done `-- Installing timidity-0.2i_1... `-- Extracting timidity-0.2i_1: .......... done Extracting sdl_mixer-1.2.12_12: ......... done Message from timidity-0.2i_1: ===> NOTICE: The timidity port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> goonies-1.0.1_10 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so) ===> Returning to build of goonies-1.0.1_10 ===> goonies-1.0.1_10 depends on shared library: libSDL_image.so - not found ===> Installing existing package /packages/All/sdl_image-1.2.12_9.txz Installing sdl_image-1.2.12_9... `-- Installing jpeg-turbo-1.4.2... `-- Extracting jpeg-turbo-1.4.2: .......... done `-- Installing png-1.6.23... `-- Extracting png-1.6.23: .......... done `-- Installing webp-0.5.0... | `-- Installing giflib-5.1.3... | `-- Extracting giflib-5.1.3: .......... done | `-- Installing tiff-4.0.6_2... | | `-- Installing jbigkit-2.1_1... | | `-- Extracting jbigkit-2.1_1: .......... done | `-- Extracting tiff-4.0.6_2: .......... done `-- Extracting webp-0.5.0: .......... done Extracting sdl_image-1.2.12_9: .......... done ===> goonies-1.0.1_10 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> Returning to build of goonies-1.0.1_10 ===> goonies-1.0.1_10 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) =========================================================================== =================================================== ===> Configuring for goonies-1.0.1_10 =========================================================================== =================================================== ===> Building for goonies-1.0.1_10 gmake[1]: Entering directory '/wrkdirs/games/goonies/goonies_r1-0-1/src' c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c debug.cpp -o debug.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c 2DCMC.cpp -o 2DCMC.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c ranrotb.cpp -o ranrotb.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c geometrics.cpp -o geometrics.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c auxiliar.cpp -o auxiliar.o geometrics.cpp: In function 'void DistributeVector(Vector, Vector, Vector*, Vector*)': geometrics.cpp:124:9: warning: variable 'norma' set but not used [-Wunused-but-set-variable] double norma; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c font_extractor.cpp -o font_extractor.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c keyboardstate.cpp -o keyboardstate.o auxiliar.cpp: In function 'SDL_Surface* load_maskedimage(char*, char*, char*)': auxiliar.cpp:94:19: warning: converting 'false' to pointer type 'SDL_Surface*' [-Wconversion-null] mask==0) return false; ^ auxiliar.cpp: In function 'void draw_line(SDL_Surface*, int, int, int, int, Uint32)': auxiliar.cpp:625:12: warning: variable 'rincy' set but not used [-Wunused-but-set-variable] long incy,rincy,incx,errterm,a; ^ auxiliar.cpp: In function 'void draw_thick_line(SDL_Surface*, int, int, int, int, Uint32, int)': auxiliar.cpp:682:12: warning: variable 'rincy' set but not used [-Wunused-but-set-variable] long incy,rincy,incx,errterm,a; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c sound.cpp -o sound.o sound.cpp: In function 'Mix_Chunk* Sound_create_sound(char*)': sound.cpp:184:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; ^ sound.cpp:184:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sound.cpp:184:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sound.cpp:184:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sound.cpp:184:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sound.cpp:184:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sound.cpp: In function 'Mix_Music* Sound_create_stream(char*)': sound.cpp:274:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; ^ sound.cpp:274:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sound.cpp:274:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sound.cpp:274:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sound.cpp:274:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sound.cpp:274:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sound.cpp: In function 'bool Sound_file_test(char*)': sound.cpp:313:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; ^ sound.cpp:313:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sound.cpp:313:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sound.cpp:313:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sound.cpp:313:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] sound.cpp:313:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c SFXManager.cpp -o SFXManager.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c SDL_glutaux.cpp -o SDL_glutaux.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c Symbol.cpp -o Symbol.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c Vector.cpp -o Vector.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GObject.cpp -o GObject.o GObject.cpp: In constructor 'GObject::GObject(int, int, int)': GObject.cpp:35:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GObject"); ^ GObject.cpp: In member function 'virtual bool GObject::is_a(Symbol*)': GObject.cpp:64:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] return c->cmp("GObject"); ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GLTile.cpp -o GLTile.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GLTManager.cpp -o GLTManager.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c PlacedGLTile.cpp -o PlacedGLTile.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GMap.cpp -o GMap.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GMapLayer.cpp -o GMapLayer.o GMap.cpp: In constructor 'GMap::GMap(FILE*)': GMap.cpp:67:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (tp->m_tile_name->cmp("gr_tile-ground-m")) background_type=0; ^ GMap.cpp:68:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (tp->m_tile_name->cmp("gr_tilegreen-ground-m")) background_type=1; ^ GMap.cpp:69:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (tp->m_tile_name->cmp("gr_tileblue-ground-m")) background_type=2; ^ GMap.cpp:70:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (tp->m_tile_name->cmp("gr_tileyellow-ground-m")) background_type=3; ^ GMap.cpp:75:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 0: tp->m_tile_name=new Symbol("bg_background"); ^ GMap.cpp:77:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 1: tp->m_tile_name=new Symbol("bg_background_green"); ^ GMap.cpp:79:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 2: tp->m_tile_name=new Symbol("bg_background_blue"); ^ GMap.cpp:81:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 3: tp->m_tile_name=new Symbol("bg_background_yellow"); ^ GMap.cpp:101:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (op->m_object_name->cmp("GO_water") || ^ GMap.cpp:102:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] op->m_object_name->cmp("GO_lava")) { ^ GMap.cpp: In member function 'void GMap::search_for_bridges(GLTManager*)': GMap.cpp:203:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (pt->m_tile_name->cmp("gr_tilegreen-bridge-l") || ^ GMap.cpp:204:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tilegreen-bridge-m") || ^ GMap.cpp:205:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tilegreen-bridge-r") || ^ GMap.cpp:206:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tileblue-bridge-l") || ^ GMap.cpp:207:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tileblue-bridge-m") || ^ GMap.cpp:208:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tileblue-bridge-r") || ^ GMap.cpp:209:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tileyellow-bridge-l") || ^ GMap.cpp:210:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tileyellow-bridge-m") || ^ GMap.cpp:211:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tileyellow-bridge-r") || ^ GMap.cpp:212:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tile-bridge-l") || ^ GMap.cpp:213:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tile-bridge-m") || ^ GMap.cpp:214:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tile-bridge-r")) { ^ GMap.cpp:222:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (pt->m_tile_name->cmp("gr_tilegreen-ground-l") || ^ GMap.cpp:223:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tilegreen-ground-m") || ^ GMap.cpp:224:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tilegreen-ground-r") || ^ GMap.cpp:225:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tileblue-ground-l") || ^ GMap.cpp:226:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tileblue-ground-m") || ^ GMap.cpp:227:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tileblue-ground-r") || ^ GMap.cpp:228:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tileyellow-ground-l") || ^ GMap.cpp:229:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tileyellow-ground-m") || ^ GMap.cpp:230:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tileyellow-ground-r") || ^ GMap.cpp:231:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tile-ground-l") || ^ GMap.cpp:232:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tile-ground-m") || ^ GMap.cpp:233:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] pt->m_tile_name->cmp("gr_tile-ground-r")) { ^ GMap.cpp: In member function 'void GMap::draw(GLTManager*, bool)': GMap.cpp:265:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] (m_layers[4]->get_object("GO_water")!=0 || ^ GMap.cpp:266:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_layers[4]->get_object("GO_lava")!=0)) { ^ GMap.cpp: In member function 'int GMap::get_water_level()': GMap.cpp:560:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (op->m_object_name->cmp("GO_water")) { ^ GMap.cpp: In member function 'int GMap::get_lava_level()': GMap.cpp:580:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (op->m_object_name->cmp("GO_lava")) { ^ GMapLayer.cpp: In member function 'void GMapLayer::reset_first(int, GMap*)': GMapLayer.cpp:97:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (o->is_a("GO_water") || ^ GMapLayer.cpp:98:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o->is_a("GO_lava")) { ^ GMapLayer.cpp: In member function 'void GMapLayer::reset(int)': GMapLayer.cpp:117:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (o->is_a("GO_enemy") && !o->is_a("GO_fratelli")) to_delete.Add(o); ^ GMapLayer.cpp:117:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (o->is_a("GO_enemy") && !o->is_a("GO_fratelli")) to_delete.Add(o); ^ GMapLayer.cpp:129:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (o->is_a("GO_enemy")) { ^ GMapLayer.cpp: In member function 'void GMapLayer::cycle_clock(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GMapLayer.cpp:179:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (o->is_a("GO_character") || ^ GMapLayer.cpp:180:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o->is_a("GO_item") || ^ GMapLayer.cpp:181:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o->is_a("GO_key") || ^ GMapLayer.cpp:182:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o->is_a("GO_cagedoor") || ^ GMapLayer.cpp:183:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o->is_a("GO_entrydoor") || ^ GMapLayer.cpp:184:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o->is_a("GO_exitdoor")) { ^ GMapLayer.cpp:197:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (o->is_a("GO_character") || ^ GMapLayer.cpp:198:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o->is_a("GO_item") || ^ GMapLayer.cpp:199:20: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o->is_a("GO_key") || ^ GMapLayer.cpp:200:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o->is_a("GO_cagedoor") || ^ GMapLayer.cpp:201:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o->is_a("GO_entrydoor") || ^ GMapLayer.cpp:202:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o->is_a("GO_exitdoor")) { ^ GMapLayer.cpp: In member function 'bool GMapLayer::collision_with_background(GObject*, GLTManager*)': GMapLayer.cpp:297:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] while(l.Iterate(o)) if (o->is_a("GO_bigrock") && o!=o2 && o2->collision(o)) return true; ^ GMapLayer.cpp: In member function 'bool GMapLayer::collision_with_background(GObject*, int, int, GLTManager*)': GMapLayer.cpp:320:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (o->is_a("GO_bigrock") && o!=o2 && o2->collision(o)) { ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GooniesScript.cpp -o GooniesScript.o GooniesScript.cpp: In member function 'bool GScriptAction::execute(GO_character*, GMap*, GLTManager*, SFXManager*, int)': GooniesScript.cpp:97:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/item_appear"),m_sfx_volume); ^ GooniesScript.cpp: In member function 'bool GScriptCondition::execute(GO_character*, GMap*, GLTManager*, SFXManager*, int)': GooniesScript.cpp:188:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (map->get_object("OB_bat")==0 && ^ GooniesScript.cpp:189:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_object("OB_skull")==0 && ^ GooniesScript.cpp:190:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_object("OB_jumpingskull")==0 && ^ GooniesScript.cpp:191:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_object("OB_trickyskull")==0 && ^ GooniesScript.cpp:192:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_object("OB_skeleton")==0) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_skull.cpp -o GO_skull.o GO_skull.cpp: In constructor 'GO_skull::GO_skull(int, int, int, int)': GO_skull.cpp:43:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_skull"); ^ GO_skull.cpp: In member function 'virtual bool GO_skull::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_skull.cpp:58:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/enemy_appear"),m_sfx_volume); ^ GO_skull.cpp:85:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/skull_dead"),m_sfx_volume); ^ GO_skull.cpp: In member function 'virtual void GO_skull::draw(GLTManager*)': GO_skull.cpp:103:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_smoke1"); ^ GO_skull.cpp:104:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_smoke2"); ^ GO_skull.cpp:108:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_skull-l1"); ^ GO_skull.cpp:109:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_skull-l2"); ^ GO_skull.cpp:111:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_skull-r1"); ^ GO_skull.cpp:112:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_skull-r2"); ^ GO_skull.cpp:116:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_skull-death"); ^ GO_skull.cpp: In member function 'virtual bool GO_skull::is_a(Symbol*)': GO_skull.cpp:126:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_skull")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_rope.cpp -o GO_rope.o GO_rope.cpp: In constructor 'GO_rope::GO_rope(int, int, int, int)': GO_rope.cpp:37:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_rope"); ^ GO_rope.cpp: In member function 'virtual void GO_rope::draw(GLTManager*)': GO_rope.cpp:53:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_type==0) m_last_tile_used=GLTM->get("ob_rope-top"); ^ GO_rope.cpp:54:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_type==1) m_last_tile_used=GLTM->get("ob_rope"); ^ GO_rope.cpp:55:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_type==2) m_last_tile_used=GLTM->get("ob_rope-bottom"); ^ GO_rope.cpp: In member function 'virtual bool GO_rope::is_a(Symbol*)': GO_rope.cpp:62:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_rope")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_skulldoor.cpp -o GO_skulldoor.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_water.cpp -o GO_water.o GO_skulldoor.cpp: In constructor 'GO_skulldoor::GO_skulldoor(int, int, int)': GO_skulldoor.cpp:37:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_skulldoor"); ^ GO_skulldoor.cpp: In constructor 'GO_skulldoor::GO_skulldoor(int, int, int, int, int, int)': GO_skulldoor.cpp:48:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_skulldoor"); ^ GO_skulldoor.cpp: In member function 'virtual void GO_skulldoor::draw(GLTManager*)': GO_skulldoor.cpp:67:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_skull-entrance"); ^ GO_skulldoor.cpp: In member function 'virtual bool GO_skulldoor::is_a(Symbol*)': GO_skulldoor.cpp:74:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_skulldoor")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_wateropening.cpp -o GO_wateropening.o GO_water.cpp: In constructor 'GO_water::GO_water(int, int, int)': GO_water.cpp:38:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_water"); ^ GO_water.cpp: In member function 'virtual bool GO_water::is_a(Symbol*)': GO_water.cpp:103:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_water")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_cagedoor.cpp -o GO_cagedoor.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_character.cpp -o GO_character.o GO_wateropening.cpp: In constructor 'GO_wateropening::GO_wateropening(int, int, int, int)': GO_wateropening.cpp:41:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_wateropening"); ^ GO_wateropening.cpp:47:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] watersfx = "sfx/waterfall"; ^ GO_wateropening.cpp:49:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] watersfx = "sfx/waterfall2"; ^ GO_wateropening.cpp: In member function 'virtual bool GO_wateropening::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_wateropening.cpp:88:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (map->get_object("GO_fallingwater")==0) { ^ GO_wateropening.cpp: In member function 'virtual void GO_wateropening::draw(GLTManager*)': GO_wateropening.cpp:102:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==0) m_last_tile_used=GLTM->get("ob_water-opening"); ^ GO_wateropening.cpp:103:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==1) m_last_tile_used=GLTM->get("ob_water-opening-blue"); ^ GO_wateropening.cpp:104:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==2) m_last_tile_used=GLTM->get("ob_water-opening-green"); ^ GO_wateropening.cpp:105:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==3) m_last_tile_used=GLTM->get("ob_water-opening-yellow"); ^ GO_wateropening.cpp: In member function 'virtual bool GO_wateropening::is_a(Symbol*)': GO_wateropening.cpp:113:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_wateropening")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_drop.cpp -o GO_drop.o GO_cagedoor.cpp: In constructor 'GO_cagedoor::GO_cagedoor(int, int, int, int, int)': GO_cagedoor.cpp:40:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_cagedoor"); ^ GO_cagedoor.cpp: In member function 'virtual bool GO_cagedoor::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_cagedoor.cpp:54:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_character *c=(GO_character *)map->collision_with_object(GLTM->get("ob_lock"),(int)(m_x-20),(int)(m_y+20),GLTM,"GO_character"); ^ GO_cagedoor.cpp:54:132: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_character *c=(GO_character *)map->collision_with_object(GLTM->get("ob_lock"),(int)(m_x-20),(int)(m_y+20),GLTM,"GO_character"); ^ GO_cagedoor.cpp:60:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/open_door"),m_sfx_volume); ^ GO_cagedoor.cpp:64:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/open_lock"),m_sfx_volume); ^ GO_cagedoor.cpp:79:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *s=new Symbol("GO_item"); ^ GO_cagedoor.cpp: In member function 'virtual void GO_cagedoor::draw(GLTManager*)': GO_cagedoor.cpp:100:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GLTM->get("ob_lock")->draw(m_x-20,m_y+40-i*20,0,0,1); ^ GO_cagedoor.cpp:105:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_cagedoor-closed"); ^ GO_cagedoor.cpp:109:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_cagedoor-closed"); ^ GO_cagedoor.cpp:113:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_cagedoor-open"); ^ GO_cagedoor.cpp: In member function 'virtual bool GO_cagedoor::is_a(Symbol*)': GO_cagedoor.cpp:122:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_cagedoor")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_dropgenerator.cpp -o GO_dropgenerator.o GO_drop.cpp: In constructor 'GO_drop::GO_drop(int, int, int)': GO_drop.cpp:40:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_drop"); ^ GO_character.cpp: In constructor 'GO_character::GO_character(int, int, int, int)': GO_character.cpp:48:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_character"); ^ GO_character.cpp: In member function 'virtual bool GO_character::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_character.cpp:155:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_last_tile_used==0) m_last_tile_used=GLTM->get("ob_character-l1"); ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_enemy.cpp -o GO_enemy.o GO_character.cpp:172:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (player_has("GO_shoes")) { ^ GO_character.cpp:183:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o=map->collision_with_object(this,GLTM,"GO_rope"); ^ GO_character.cpp:192:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_skulldoor *sd=(GO_skulldoor *)map->collision_with_object(this,GLTM,"GO_skulldoor"); ^ GO_character.cpp:207:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_jump"),m_sfx_volume); ^ GO_character.cpp:232:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o=map->collision_with_object(this,GLTM,"GO_rope"); ^ GO_character.cpp:252:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_enemy *e=(GO_enemy *)map->collision_with_object(GLTM->get("ob_character-punch-mask-l"),(int)m_x,(int)m_y,GLTM,"GO_enemy"); ^ GO_character.cpp:252:135: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_enemy *e=(GO_enemy *)map->collision_with_object(GLTM->get("ob_character-punch-mask-l"),(int)m_x,(int)m_y,GLTM,"GO_enemy"); ^ GO_character.cpp:256:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_hit_enemy"),m_sfx_volume); ^ GO_character.cpp:260:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_attack"),m_sfx_volume); ^ GO_character.cpp:265:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_enemy *e=(GO_enemy *)map->collision_with_object(GLTM->get("ob_character-punch-mask-r"),(int)m_x,(int)m_y,GLTM,"GO_enemy"); ^ GO_character.cpp:265:135: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_enemy *e=(GO_enemy *)map->collision_with_object(GLTM->get("ob_character-punch-mask-r"),(int)m_x,(int)m_y,GLTM,"GO_enemy"); ^ GO_character.cpp:269:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_hit_enemy"),m_sfx_volume); ^ GO_character.cpp:273:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_attack"),m_sfx_volume); ^ GO_character.cpp:296:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o=map->collision_with_object(this,GLTM,"GO_rope"); ^ GO_character.cpp:304:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_skulldoor *sd=(GO_skulldoor *)map->collision_with_object(this,GLTM,"GO_skulldoor"); ^ GO_character.cpp:319:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_jump"),m_sfx_volume); ^ GO_character.cpp:338:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o=map->collision_with_object(this,GLTM,"GO_rope"); ^ GO_character.cpp:357:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_enemy *e=(GO_enemy *)map->collision_with_object(GLTM->get("ob_character-punch-mask-l"),(int)m_x,(int)m_y,GLTM,"GO_enemy"); ^ GO_character.cpp:357:135: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_enemy *e=(GO_enemy *)map->collision_with_object(GLTM->get("ob_character-punch-mask-l"),(int)m_x,(int)m_y,GLTM,"GO_enemy"); ^ GO_character.cpp:361:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_hit_enemy"),m_sfx_volume); ^ GO_character.cpp:365:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_attack"),m_sfx_volume); ^ GO_character.cpp:370:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_enemy *e=(GO_enemy *)map->collision_with_object(GLTM->get("ob_character-punch-mask-r"),(int)m_x,(int)m_y,GLTM,"GO_enemy"); ^ GO_character.cpp:370:135: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_enemy *e=(GO_enemy *)map->collision_with_object(GLTM->get("ob_character-punch-mask-r"),(int)m_x,(int)m_y,GLTM,"GO_enemy"); ^ GO_character.cpp:374:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_hit_enemy"),m_sfx_volume); ^ GO_character.cpp:378:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_attack"),m_sfx_volume); ^ GO_character.cpp:402:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o=map->collision_with_object(this,GLTM,"GO_rope"); ^ GO_character.cpp:410:95: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_skulldoor *sd=(GO_skulldoor *)map->collision_with_object(this,GLTM,"GO_skulldoor"); ^ GO_character.cpp:425:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_jump"),m_sfx_volume); ^ GO_character.cpp:444:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o=map->collision_with_object(this,GLTM,"GO_rope"); ^ GO_character.cpp:463:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_enemy *e=(GO_enemy *)map->collision_with_object(GLTM->get("ob_character-punch-mask-l"),(int)m_x,(int)m_y,GLTM,"GO_enemy"); ^ GO_character.cpp:463:135: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_enemy *e=(GO_enemy *)map->collision_with_object(GLTM->get("ob_character-punch-mask-l"),(int)m_x,(int)m_y,GLTM,"GO_enemy"); ^ GO_character.cpp:467:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_hit_enemy"),m_sfx_volume); ^ GO_character.cpp:471:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_attack"),m_sfx_volume); ^ GO_character.cpp:476:100: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_enemy *e=(GO_enemy *)map->collision_with_object(GLTM->get("ob_character-punch-mask-r"),(int)m_x,(int)m_y,GLTM,"GO_enemy"); ^ GO_character.cpp:476:135: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_enemy *e=(GO_enemy *)map->collision_with_object(GLTM->get("ob_character-punch-mask-r"),(int)m_x,(int)m_y,GLTM,"GO_enemy"); ^ GO_character.cpp:480:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_hit_enemy"),m_sfx_volume); ^ GO_character.cpp:484:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_attack"),m_sfx_volume); ^ GO_character.cpp:512:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_land"),m_sfx_volume); ^ GO_character.cpp:530:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_land"),m_sfx_volume); ^ GO_character.cpp:568:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_land"),m_sfx_volume); ^ GO_dropgenerator.cpp: In constructor 'GO_dropgenerator::GO_dropgenerator(int, int, int)': GO_dropgenerator.cpp:41:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_dropgenerator"); ^ GO_dropgenerator.cpp: In member function 'virtual bool GO_dropgenerator::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_dropgenerator.cpp:53:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *s=new Symbol("GO_drop"); ^ GO_dropgenerator.cpp: In member function 'virtual bool GO_dropgenerator::is_a(Symbol*)': GO_dropgenerator.cpp:66:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_dropgenerator")) return true; ^ GO_drop.cpp: In member function 'virtual bool GO_drop::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_drop.cpp:61:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 0: Sound_play(SFXM->get("sfx/waterdrop"),m_sfx_volume); ^ GO_drop.cpp:63:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 1: Sound_play(SFXM->get("sfx/waterdrop2"),m_sfx_volume); ^ GO_drop.cpp:65:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 2: Sound_play(SFXM->get("sfx/waterdrop3"),m_sfx_volume); ^ GO_drop.cpp: In member function 'virtual void GO_drop::draw(GLTManager*)': GO_drop.cpp:84:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_drop1"); ^ GO_drop.cpp:85:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_drop2"); ^ GO_drop.cpp:86:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_drop3"); ^ GO_drop.cpp:89:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 1: m_last_tile_used=GLTM->get("ob_drop3"); ^ GO_drop.cpp:91:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 2: m_last_tile_used=GLTM->get("ob_drop4"); ^ GO_drop.cpp: In member function 'virtual bool GO_drop::is_a(Symbol*)': GO_drop.cpp:101:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_drop")) return true; ^ GO_enemy.cpp: In constructor 'GO_enemy::GO_enemy(int, int, int)': GO_enemy.cpp:34:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_enemy"); ^ GO_enemy.cpp: In member function 'virtual bool GO_enemy::is_a(Symbol*)': GO_enemy.cpp:51:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_enemy")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_entrydoor.cpp -o GO_entrydoor.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_fallingrock.cpp -o GO_fallingrock.o GO_character.cpp:616:105: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_enemy *e=(GO_enemy *)map->collision_with_object(GLTM->get("ob_character-punchjump-mask-l"),(int)m_x,(int)m_y,GLTM,"GO_enemy"); ^ GO_character.cpp:616:140: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_enemy *e=(GO_enemy *)map->collision_with_object(GLTM->get("ob_character-punchjump-mask-l"),(int)m_x,(int)m_y,GLTM,"GO_enemy"); ^ GO_character.cpp:620:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_hit_enemy"),m_sfx_volume); ^ GO_character.cpp:624:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_attack"),m_sfx_volume); ^ GO_character.cpp:627:105: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_enemy *e=(GO_enemy *)map->collision_with_object(GLTM->get("ob_character-punchjump-mask-r"),(int)m_x,(int)m_y,GLTM,"GO_enemy"); ^ GO_character.cpp:627:140: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_enemy *e=(GO_enemy *)map->collision_with_object(GLTM->get("ob_character-punchjump-mask-r"),(int)m_x,(int)m_y,GLTM,"GO_enemy"); ^ GO_character.cpp:631:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_hit_enemy"),m_sfx_volume); ^ GO_character.cpp:635:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_attack"),m_sfx_volume); ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_jumpingskull.cpp -o GO_jumpingskull.o GO_character.cpp:683:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_land"),m_sfx_volume); ^ GO_character.cpp:725:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!map->collision_with_object(this,GLTM,"GO_rope")) { ^ GO_character.cpp:787:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_ENTERING_DOOR: if (m_state_cycle==0) Sound_play(SFXM->get("sfx/skulldoor"),m_sfx_volume); ^ GO_character.cpp:834:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_walking_channel=Sound_play_continuous(SFXM->get("sfx/player_walk"),m_sfx_volume); ^ GO_character.cpp:844:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_climbing_channel=Sound_play_continuous(SFXM->get("sfx/player_climb"),m_sfx_volume); ^ GO_character.cpp:891:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_dead"),m_sfx_volume); ^ GO_character.cpp:897:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GObject *o=map->collision_with_object(this,GLTM,"GO_key"); ^ GO_character.cpp:900:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_key"),m_sfx_volume); ^ GO_character.cpp:906:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_key"); ^ GO_character.cpp:913:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_item *o=(GO_item *)map->collision_with_object(this,GLTM,"GO_item"); ^ GO_character.cpp:918:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_item"); ^ GO_character.cpp:922:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 0: Sound_play(SFXM->get("sfx/rescue_goonie"),m_sfx_volume); ^ GO_character.cpp:926:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 1: Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:930:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 2: m_items.Add(new Symbol("GO_yellowhelmet")); ^ GO_character.cpp:933:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_yellowhelmet"); ^ GO_character.cpp:934:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:937:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 3: m_items.Add(new Symbol("GO_shoes")); ^ GO_character.cpp:939:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_shoes"); ^ GO_character.cpp:940:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:943:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 4: m_items.Add(new Symbol("GO_greycoat")); ^ GO_character.cpp:946:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_greycoat"); ^ GO_character.cpp:947:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:950:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 5: m_items.Add(new Symbol("GO_yellowcoat")); ^ GO_character.cpp:952:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_yellowcoat"); ^ GO_character.cpp:953:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:957:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 6: m_items.Add(new Symbol("GO_hammer")); ^ GO_character.cpp:959:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_hammer"); ^ GO_character.cpp:960:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:967:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 8: m_items.Add(new Symbol("GO_lamp")); ^ GO_character.cpp:969:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_lamp"); ^ GO_character.cpp:970:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:973:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 9: m_items.Add(new Symbol("GO_greenbook")); ^ GO_character.cpp:975:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_greenbook"); ^ GO_character.cpp:976:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:979:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 10:m_items.Add(new Symbol("GO_redbook")); ^ GO_character.cpp:981:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_redbook"); ^ GO_character.cpp:982:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:985:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 11:m_items.Add(new Symbol("GO_lightbluebook")); ^ GO_character.cpp:987:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_lightbluebook"); ^ GO_character.cpp:988:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:991:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 12:m_items.Add(new Symbol("GO_bluebook")); ^ GO_character.cpp:993:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_bluebook"); ^ GO_character.cpp:994:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:997:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 13:m_items.Add(new Symbol("GO_greencoat")); ^ GO_character.cpp:999:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_greencoat"); ^ GO_character.cpp:1000:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:1003:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 14:m_items.Add(new Symbol("GO_whitebook")); ^ GO_character.cpp:1005:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_whitebook"); ^ GO_character.cpp:1006:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:1009:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 15:m_items.Add(new Symbol("GO_yellowshield")); ^ GO_character.cpp:1011:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_yellowshield"); ^ GO_character.cpp:1012:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:1016:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:1018:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 17:m_items.Add(new Symbol("GO_lightbluecoat")); ^ GO_character.cpp:1020:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_lightbluecoat"); ^ GO_character.cpp:1021:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:1024:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 18:m_items.Add(new Symbol("GO_whiteshield")); ^ GO_character.cpp:1026:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_whiteshield"); ^ GO_character.cpp:1027:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:1030:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 19:m_items.Add(new Symbol("GO_redbadbook")); ^ GO_character.cpp:1031:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_redbadbook"); ^ GO_character.cpp:1032:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:1035:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 20:m_items.Add(new Symbol("GO_purplebook")); ^ GO_character.cpp:1036:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_purplebook"); ^ GO_character.cpp:1037:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:1040:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 21:m_items.Add(new Symbol("GO_lightbluehelmet")); ^ GO_character.cpp:1042:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_lightbluehelmet"); ^ GO_character.cpp:1043:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:1046:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 22:m_items.Add(new Symbol("GO_yellowbook")); ^ GO_character.cpp:1048:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_yellowbook"); ^ GO_character.cpp:1049:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:1052:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 23:m_items.Add(new Symbol("GO_purplebadbook")); ^ GO_character.cpp:1053:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_purplebadbook"); ^ GO_character.cpp:1054:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:1057:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 24:m_items.Add(new Symbol("GO_purpleshield")); ^ GO_character.cpp:1059:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_purpleshield"); ^ GO_character.cpp:1060:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:1063:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 25:m_items.Add(new Symbol("GO_clock")); ^ GO_character.cpp:1065:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_clock"); ^ GO_character.cpp:1066:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:1069:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 26:m_items.Add(new Symbol("GO_bluebadbook")); ^ GO_character.cpp:1071:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_pick=new Symbol("GO_bluebadbook"); ^ GO_character.cpp:1072:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:1075:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] default:Sound_play(SFXM->get("sfx/player_pickup_item"),m_sfx_volume); ^ GO_character.cpp:1089:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_enemy *e=(GO_enemy *)map->collision_with_object(this,GLTM,"GO_enemy"); ^ GO_character.cpp:1092:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (e->get_class()->cmp("GO_bat")) Sound_play(SFXM->get("sfx/bat_attack"),m_sfx_volume); ^ GO_character.cpp:1092:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (e->get_class()->cmp("GO_bat")) Sound_play(SFXM->get("sfx/bat_attack"),m_sfx_volume); ^ GO_character.cpp:1093:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (e->get_class()->cmp("GO_fallingrock")) { ^ GO_character.cpp:1094:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (player_has("GO_yellowhelmet") && (m_yellowhelmet_status>0 || m_yellowhelmet_timmer>0)) { ^ GO_character.cpp:1102:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (e->get_class()->cmp("GO_bullet")) { ^ GO_character.cpp:1103:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (player_has("GO_yellowshield") && (m_yellowshield_status>0 || m_yellowshield_timmer>0)) { ^ GO_character.cpp:1111:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (e->get_class()->cmp("GO_musicalnote")) { ^ GO_character.cpp:1112:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (player_has("GO_whiteshield") && (m_whiteshield_status>0 || m_whiteshield_timmer>0)) { ^ GO_character.cpp:1120:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (e->get_class()->cmp("GO_bone")) { ^ GO_character.cpp:1121:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (player_has("GO_purpleshield") && (m_purpleshield_status>0 || m_purpleshield_timmer>0)) { ^ GO_character.cpp:1129:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (e->get_class()->cmp("GO_drop")) { ^ GO_character.cpp:1130:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (player_has("GO_greycoat") && (m_greycoat_status>0 || m_greycoat_timmer>0)) { ^ GO_character.cpp:1138:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (e->is_a("GO_skull")) { ^ GO_character.cpp:1141:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (player_has("GO_greenbook") && m_greenbook_status>0) { ^ GO_character.cpp:1149:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (player_has("GO_bluebook") && (m_bluebook_status>0 || m_bluebook_timmer>0)) { ^ GO_character.cpp:1158:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (e->get_class()->cmp("GO_bat")) { ^ GO_entrydoor.cpp: In constructor 'GO_entrydoor::GO_entrydoor(int, int, int)': GO_entrydoor.cpp:37:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_entrydoor"); ^ GO_entrydoor.cpp: In member function 'virtual void GO_entrydoor::draw(GLTManager*)': GO_entrydoor.cpp:57:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_entrydoor"); ^ GO_entrydoor.cpp: In member function 'virtual bool GO_entrydoor::is_a(Symbol*)': GO_entrydoor.cpp:64:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_entrydoor")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_key.cpp -o GO_key.o GO_fallingrock.cpp: In constructor 'GO_fallingrock::GO_fallingrock(int, int, int, int)': GO_fallingrock.cpp:40:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_fallingrock"); ^ GO_fallingrock.cpp: In member function 'virtual bool GO_fallingrock::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_fallingrock.cpp:56:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (map->collision_with_object(GLTM->get("ob_falling-rock1"),(int)(m_x-16),i,GLTM,"GO_character") || ^ GO_fallingrock.cpp:56:102: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (map->collision_with_object(GLTM->get("ob_falling-rock1"),(int)(m_x-16),i,GLTM,"GO_character") || ^ GO_fallingrock.cpp:57:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->collision_with_object(GLTM->get("ob_falling-rock1"),(int)m_x,i,GLTM,"GO_character") || ^ GO_fallingrock.cpp:57:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->collision_with_object(GLTM->get("ob_falling-rock1"),(int)m_x,i,GLTM,"GO_character") || ^ GO_fallingrock.cpp:58:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->collision_with_object(GLTM->get("ob_falling-rock1"),(int)(m_x+16),i,GLTM,"GO_character")) { ^ GO_fallingrock.cpp:58:99: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->collision_with_object(GLTM->get("ob_falling-rock1"),(int)(m_x+16),i,GLTM,"GO_character")) { ^ GO_fallingrock.cpp:72:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 2: if (m_state_cycle==1) Sound_play(SFXM->get("sfx/rockfall"),m_sfx_volume); ^ GO_fallingrock.cpp:75:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 3: if (m_state_cycle==1) Sound_play(SFXM->get("sfx/rockfall"),m_sfx_volume); ^ GO_fallingrock.cpp: In member function 'virtual void GO_fallingrock::draw(GLTManager*)': GO_fallingrock.cpp:87:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==0) m_last_tile_used=GLTM->get("ob_falling-rock1"); ^ GO_fallingrock.cpp:88:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==1) m_last_tile_used=GLTM->get("ob_falling-bluerock1"); ^ GO_fallingrock.cpp:89:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==2) m_last_tile_used=GLTM->get("ob_falling-greenrock1"); ^ GO_fallingrock.cpp:90:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==3) m_last_tile_used=GLTM->get("ob_falling-yellowrock1"); ^ GO_fallingrock.cpp:93:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==0) m_last_tile_used=GLTM->get("ob_falling-rock1"); ^ GO_fallingrock.cpp:94:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==1) m_last_tile_used=GLTM->get("ob_falling-bluerock1"); ^ GO_fallingrock.cpp:95:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==2) m_last_tile_used=GLTM->get("ob_falling-greenrock1"); ^ GO_fallingrock.cpp:96:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==3) m_last_tile_used=GLTM->get("ob_falling-yellowrock1"); ^ GO_fallingrock.cpp:99:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==0) m_last_tile_used=GLTM->get("ob_falling-rock3"); ^ GO_fallingrock.cpp:100:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==1) m_last_tile_used=GLTM->get("ob_falling-bluerock3"); ^ GO_fallingrock.cpp:101:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==2) m_last_tile_used=GLTM->get("ob_falling-greenrock3"); ^ GO_fallingrock.cpp:102:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==3) m_last_tile_used=GLTM->get("ob_falling-yellowrock3"); ^ GO_fallingrock.cpp:105:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==0) m_last_tile_used=GLTM->get("ob_falling-rock2"); ^ GO_fallingrock.cpp:106:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==1) m_last_tile_used=GLTM->get("ob_falling-bluerock2"); ^ GO_fallingrock.cpp:107:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==2) m_last_tile_used=GLTM->get("ob_falling-greenrock2"); ^ GO_fallingrock.cpp:108:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==3) m_last_tile_used=GLTM->get("ob_falling-yellowrock2"); ^ GO_fallingrock.cpp: In member function 'virtual bool GO_fallingrock::is_a(Symbol*)': GO_fallingrock.cpp:118:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_fallingrock")) return true; ^ GO_jumpingskull.cpp: In constructor 'GO_jumpingskull::GO_jumpingskull(int, int, int, int)': GO_jumpingskull.cpp:44:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_jumpingskull"); ^ GO_jumpingskull.cpp: In member function 'virtual bool GO_jumpingskull::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_jumpingskull.cpp:61:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/enemy_appear"),m_sfx_volume); ^ GO_jumpingskull.cpp:88:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s*m_old_s<=0) Sound_play(SFXM->get("sfx/skull_bounce"),m_sfx_volume); ^ GO_jumpingskull.cpp:94:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle==0) Sound_play(SFXM->get("sfx/skull_dead"),m_sfx_volume); ^ GO_jumpingskull.cpp: In member function 'virtual void GO_jumpingskull::draw(GLTManager*)': GO_jumpingskull.cpp:111:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_smoke1"); ^ GO_jumpingskull.cpp:112:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_smoke2"); ^ GO_jumpingskull.cpp:116:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_skull-l1"); ^ GO_jumpingskull.cpp:117:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_skull-l2"); ^ GO_jumpingskull.cpp:119:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_skull-r1"); ^ GO_jumpingskull.cpp:120:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_skull-r2"); ^ GO_jumpingskull.cpp:124:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_skull-death"); ^ GO_jumpingskull.cpp: In member function 'virtual bool GO_jumpingskull::is_a(Symbol*)': GO_jumpingskull.cpp:134:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_jumpingskull")) return true; ^ GO_character.cpp:1161:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (player_has("GO_lightbluebook") && m_lightbluebook_status>0) { ^ GO_character.cpp:1169:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (player_has("GO_lightbluehelmet") && (m_lightbluehelmet_status>0 || m_lightbluehelmet_timmer>0)) { ^ GO_character.cpp:1178:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (e->get_class()->cmp("GO_skeleton")) { ^ GO_character.cpp:1181:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (player_has("GO_whitebook") && m_whitebook_status>0) { ^ GO_character.cpp:1189:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (player_has("GO_yellowbook") && (m_yellowbook_status>0 || m_yellowbook_timmer>0)) { ^ GO_character.cpp:1198:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (e->get_class()->cmp("GO_pipe_water")) { ^ GO_character.cpp:1199:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (player_has("GO_yellowcoat") && m_yellowcoat_timmer>0) { ^ GO_character.cpp:1204:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (e->get_class()->cmp("GO_flame")) { ^ GO_character.cpp:1205:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (player_has("GO_greencoat") && m_greencoat_timmer>0) { ^ GO_character.cpp:1210:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (e->get_class()->cmp("GO_fallingwater")) { ^ GO_character.cpp:1211:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (player_has("GO_lightbluecoat") && m_lightbluecoat_timmer>0) { ^ GO_character.cpp:1221:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (e->is_a("GO_fallingwater")) m_player_hit_counter=8; ^ GO_character.cpp:1222:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (e->is_a("GO_flame")) m_player_hit_counter=8; ^ GO_character.cpp:1223:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (e->is_a("GO_pipe_water")) m_player_hit_counter=8; ^ GO_character.cpp:1224:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_energy>0) Sound_play(SFXM->get("sfx/player_hit"),m_sfx_volume); ^ GO_character.cpp:1225:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else Sound_play(SFXM->get("sfx/player_dead"),m_sfx_volume); ^ GO_character.cpp: In member function 'virtual void GO_character::draw(GLTManager*)': GO_character.cpp:1266:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_STANDING_LEFT: m_last_tile_used=GLTM->get("ob_character-l1"); ^ GO_character.cpp:1268:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_STANDING_RIGHT: m_last_tile_used=GLTM->get("ob_character-r1"); ^ GO_character.cpp:1270:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_WALKING_LEFT: if (s==0) m_last_tile_used=GLTM->get("ob_character-l2"); ^ GO_character.cpp:1271:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_character-l1"); ^ GO_character.cpp:1272:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_character-l3"); ^ GO_character.cpp:1273:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_character-l1"); ^ GO_character.cpp:1275:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_WALKING_RIGHT: if (s==0) m_last_tile_used=GLTM->get("ob_character-r2"); ^ GO_character.cpp:1276:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_character-r1"); ^ GO_character.cpp:1277:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_character-r3"); ^ GO_character.cpp:1278:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_character-r1"); ^ GO_character.cpp:1280:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_PUNCH_LEFT: m_last_tile_used=GLTM->get("ob_character-punch-l"); ^ GO_character.cpp:1282:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_PUNCH_RIGHT: m_last_tile_used=GLTM->get("ob_character-punch-r"); ^ GO_character.cpp:1284:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_FALLING_LEFT: m_last_tile_used=GLTM->get("ob_character-l1"); ^ GO_character.cpp:1286:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_FALLING_RIGHT: m_last_tile_used=GLTM->get("ob_character-r1"); ^ GO_character.cpp:1290:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_character-jump-l"); ^ GO_character.cpp:1294:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_character-jump-r"); ^ GO_character.cpp:1298:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_character-punchjump-l"); ^ GO_character.cpp:1302:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_character-punchjump-r"); ^ GO_character.cpp:1307:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0 || s==2) m_last_tile_used=GLTM->get("ob_character-climbing-1"); ^ GO_character.cpp:1308:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1 || s==3) m_last_tile_used=GLTM->get("ob_character-climbing-2"); ^ GO_character.cpp:1311:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_character-r2"); ^ GO_character.cpp:1312:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_character-r1"); ^ GO_character.cpp:1313:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_character-r3"); ^ GO_character.cpp:1314:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_character-r1"); ^ GO_character.cpp: In member function 'virtual bool GO_character::is_a(Symbol*)': GO_character.cpp:1360:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_character")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GObjectCreator.cpp -o GObjectCreator.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_bigrock.cpp -o GO_bigrock.o GO_bigrock.cpp: In constructor 'GO_bigrock::GO_bigrock(int, int, int, int)': GO_bigrock.cpp:39:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_bigrock"); ^ GO_bigrock.cpp: In member function 'virtual bool GO_bigrock::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_bigrock.cpp:87:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_rock"); ^ GO_bigrock.cpp:115:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_chain_channel=Sound_play_continuous(SFXM->get("sfx/bigrock_winch"),m_sfx_volume); ^ GO_bigrock.cpp:125:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/bigrock_fall"),m_sfx_volume); ^ GO_bigrock.cpp:137:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/bigrock_fall"),m_sfx_volume); ^ GO_bigrock.cpp:152:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_chain_channel=Sound_play_continuous(SFXM->get("sfx/bigrock_winch"),m_sfx_volume); ^ GO_bigrock.cpp: In member function 'virtual void GO_bigrock::draw(GLTManager*)': GO_bigrock.cpp:175:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GLTM->get("ob_chain")->draw(m_x,float(i),0,0,1); ^ GO_bigrock.cpp:178:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==0) m_last_tile_used=GLTM->get("ob_rock"); ^ GO_bigrock.cpp:179:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==1) m_last_tile_used=GLTM->get("ob_rock_blue"); ^ GO_bigrock.cpp:180:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==2) m_last_tile_used=GLTM->get("ob_rock_green"); ^ GO_bigrock.cpp:181:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_color==3) m_last_tile_used=GLTM->get("ob_rock_yellow"); ^ GO_bigrock.cpp: In member function 'virtual bool GO_bigrock::is_a(Symbol*)': GO_bigrock.cpp:188:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_bigrock")) return true; ^ GO_key.cpp: In constructor 'GO_key::GO_key(int, int, int)': GO_key.cpp:37:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_key"); ^ GO_key.cpp: In member function 'virtual void GO_key::draw(GLTManager*)': GO_key.cpp:68:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_key"); ^ GO_key.cpp: In member function 'virtual bool GO_key::is_a(Symbol*)': GO_key.cpp:75:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_key")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_skeleton.cpp -o GO_skeleton.o GObjectCreator.cpp:63:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *key=new Symbol("GO_key"); ^ GObjectCreator.cpp:64:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *cagedoor=new Symbol("GO_cagedoor"); ^ GObjectCreator.cpp:65:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *fallingrock=new Symbol("GO_fallingrock"); ^ GObjectCreator.cpp:66:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *fallingrock_blue=new Symbol("GO_fallingrock_blue"); ^ GObjectCreator.cpp:67:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *fallingrock_green=new Symbol("GO_fallingrock_green"); ^ GObjectCreator.cpp:68:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *fallingrock_yellow=new Symbol("GO_fallingrock_yellow"); ^ GObjectCreator.cpp:69:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *skull=new Symbol("GO_skull"); ^ GObjectCreator.cpp:70:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *jumpingskull=new Symbol("GO_jumpingskull"); ^ GObjectCreator.cpp:71:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *trickyskull=new Symbol("GO_trickyskull"); ^ GObjectCreator.cpp:72:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *drop=new Symbol("GO_drop"); ^ GObjectCreator.cpp:73:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *dropgenerator=new Symbol("GO_dropgenerator"); ^ GObjectCreator.cpp:74:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *skulldoor=new Symbol("GO_skulldoor"); ^ GObjectCreator.cpp:75:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *wateropening=new Symbol("GO_wateropening"); ^ GObjectCreator.cpp:76:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *wateropening_blue=new Symbol("GO_wateropening_blue"); ^ GObjectCreator.cpp:77:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *wateropening_green=new Symbol("GO_wateropening_green"); ^ GObjectCreator.cpp:78:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *wateropening_yellow=new Symbol("GO_wateropening_yellow"); ^ GObjectCreator.cpp:79:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *water=new Symbol("GO_water"); ^ GObjectCreator.cpp:80:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *lava=new Symbol("GO_lava"); ^ GObjectCreator.cpp:81:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *entrydoor=new Symbol("GO_entrydoor"); ^ GObjectCreator.cpp:82:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *exitdoor=new Symbol("GO_exitdoor"); ^ GObjectCreator.cpp:83:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *character=new Symbol("GO_character"); ^ GObjectCreator.cpp:84:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *ropetop=new Symbol("GO_ropetop"); ^ GObjectCreator.cpp:85:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *rope=new Symbol("GO_rope"); ^ GObjectCreator.cpp:86:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *ropebottom=new Symbol("GO_ropebottom"); ^ GObjectCreator.cpp:87:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *bigrock=new Symbol("GO_bigrock"); ^ GObjectCreator.cpp:88:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *bigrock_blue=new Symbol("GO_bigrock_blue"); ^ GObjectCreator.cpp:89:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *bigrock_green=new Symbol("GO_bigrock_green"); ^ GObjectCreator.cpp:90:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *bigrock_yellow=new Symbol("GO_bigrock_yellow"); ^ GObjectCreator.cpp:91:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *bat=new Symbol("GO_bat"); ^ GObjectCreator.cpp:92:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *skeleton=new Symbol("GO_skeleton"); ^ GObjectCreator.cpp:93:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *fratelli_yellow=new Symbol("GO_fratelli_yellow"); ^ GObjectCreator.cpp:94:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *fratelli_blue=new Symbol("GO_fratelli_blue"); ^ GObjectCreator.cpp:95:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *fratelli_green=new Symbol("GO_fratelli_green"); ^ GObjectCreator.cpp:96:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *fratelli_red=new Symbol("GO_fratelli_red"); ^ GObjectCreator.cpp:97:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *fratelli_white=new Symbol("GO_fratelli_white"); ^ GObjectCreator.cpp:98:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *fratelli_grey=new Symbol("GO_fratelli_grey"); ^ GObjectCreator.cpp:99:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *bullet=new Symbol("GO_bullet"); ^ GObjectCreator.cpp:100:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *item=new Symbol("GO_item"); ^ GObjectCreator.cpp:101:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *pipewater_left=new Symbol("GO_pipe_water_left"); ^ GObjectCreator.cpp:102:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *pipewater_right=new Symbol("GO_pipe_water_right"); ^ GObjectCreator.cpp:103:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *bone=new Symbol("GO_bone"); ^ GObjectCreator.cpp:104:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *closingwall=new Symbol("GO_closingwall"); ^ GObjectCreator.cpp:105:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *closingwall_blue=new Symbol("GO_closingwall_blue"); ^ GObjectCreator.cpp:106:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *closingwall_green=new Symbol("GO_closingwall_green"); ^ GObjectCreator.cpp:107:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *closingwall_yellow=new Symbol("GO_closingwall_yellow"); ^ GObjectCreator.cpp:108:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *flame=new Symbol("GO_flame"); ^ GObjectCreator.cpp:109:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *ghost=new Symbol("GO_ghost"); ^ GObjectCreator.cpp:110:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *musicalnote=new Symbol("GO_musicalnote"); ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_bat.cpp -o GO_bat.o GO_skeleton.cpp: In constructor 'GO_skeleton::GO_skeleton(int, int, int, int)': GO_skeleton.cpp:48:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_skeleton"); ^ GO_skeleton.cpp: In member function 'virtual bool GO_skeleton::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_skeleton.cpp:74:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_character *c=(GO_character *)map->get_object("GO_character"); ^ GO_skeleton.cpp:76:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c!=0 && c->player_has("GO_purplebadbook")!=0) has_purplebadbook=true; ^ GO_skeleton.cpp:87:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_walking_channel=Sound_play_continuous(SFXM->get("sfx/skeleton_walk"),m_sfx_volume); ^ GO_skeleton.cpp:111:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_character *c=(GO_character *)map->get_object("GO_character"); ^ GO_skeleton.cpp:133:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle==0) Sound_play(SFXM->get("sfx/skeleton_dead"),m_sfx_volume); ^ GO_skeleton.cpp:147:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *s=new Symbol("GO_bone"); ^ GO_skeleton.cpp:153:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/skeleton_attack"),m_sfx_volume); ^ GO_skeleton.cpp:166:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/enemy_appear"),m_sfx_volume); ^ GO_skeleton.cpp: In member function 'virtual void GO_skeleton::draw(GLTManager*)': GO_skeleton.cpp:190:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_smoke1"); ^ GO_skeleton.cpp:191:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_smoke1"); ^ GO_skeleton.cpp:192:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_smoke2"); ^ GO_skeleton.cpp:193:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_smoke2"); ^ GO_skeleton.cpp:197:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_skeleton-l1"); ^ GO_skeleton.cpp:198:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_skeleton-l2"); ^ GO_skeleton.cpp:199:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_skeleton-l1"); ^ GO_skeleton.cpp:200:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_skeleton-l3"); ^ GO_skeleton.cpp:202:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_skeleton-r1"); ^ GO_skeleton.cpp:203:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_skeleton-r2"); ^ GO_skeleton.cpp:204:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_skeleton-r1"); ^ GO_skeleton.cpp:205:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_skeleton-r3"); ^ GO_skeleton.cpp:209:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_skull-death"); ^ GO_skeleton.cpp:213:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_skeleton-l1"); ^ GO_skeleton.cpp:215:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_skeleton-r1"); ^ GO_skeleton.cpp:223:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle<25) m_last_tile_used=GLTM->get("ob_skeleton-l1"); ^ GO_skeleton.cpp:224:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_skeleton-r1"); ^ GO_skeleton.cpp:226:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle<25) m_last_tile_used=GLTM->get("ob_skeleton-r1"); ^ GO_skeleton.cpp:227:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_skeleton-l1"); ^ GO_skeleton.cpp: In member function 'virtual bool GO_skeleton::is_a(Symbol*)': GO_skeleton.cpp:237:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_skeleton")) return true; ^ GO_bat.cpp: In constructor 'GO_bat::GO_bat(int, int, int)': GO_bat.cpp:44:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_bat"); ^ GO_bat.cpp: In member function 'virtual bool GO_bat::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_bat.cpp:68:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_character *c=(GO_character *)map->get_object("GO_character"); ^ GO_bat.cpp:90:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_flying_channel=Sound_play_continuous(SFXM->get("sfx/bat_fly"),m_sfx_volume); ^ GO_bat.cpp:95:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GObject *o=map->get_object("GO_character"); ^ GO_bat.cpp:119:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GObject *o=map->get_object("GO_character"); ^ GO_bat.cpp:141:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GObject *o=map->get_object("GO_character"); ^ GO_bat.cpp:153:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GObject *o=map->get_object("GO_character"); ^ GO_bat.cpp:168:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GObject *o=map->get_object("GO_character"); ^ GO_bat.cpp: In member function 'virtual void GO_bat::draw(GLTManager*)': GO_bat.cpp:200:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_bat-death"); ^ GO_bat.cpp:204:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_bat1"); ^ GO_bat.cpp:205:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_bat2"); ^ GO_bat.cpp: In member function 'virtual bool GO_bat::is_a(Symbol*)': GO_bat.cpp:213:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_bat")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_fratelli.cpp -o GO_fratelli.o GO_fratelli.cpp: In constructor 'GO_fratelli::GO_fratelli(int, int, int, int)': GO_fratelli.cpp:48:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_fratelli"); ^ GO_fratelli.cpp: In member function 'virtual bool GO_fratelli::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_fratelli.cpp:152:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_character *c=(GO_character *)map->get_object("GO_character"); ^ GO_fratelli.cpp:165:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (map->collision_with_object(this,GLTM,"GO_rope") && (rand()%50)==0) { ^ GO_fratelli.cpp:171:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (map->collision_with_object(this,GLTM,"GO_rope") && (rand()%50)==0) { ^ GO_fratelli.cpp:181:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_character *c=(GO_character *)map->get_object("GO_character"); ^ GO_fratelli.cpp:194:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (map->collision_with_object(this,GLTM,"GO_rope") && (rand()%50)==0) { ^ GO_fratelli.cpp:200:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (map->collision_with_object(this,GLTM,"GO_rope") && (rand()%50)==0) { ^ GO_fratelli.cpp:210:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_character *c=(GO_character *)map->get_object("GO_character"); ^ GO_fratelli.cpp: In member function 'virtual bool GO_fratelli::internal_cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_fratelli.cpp:277:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_last_tile_used==0) m_last_tile_used=GLTM->get("ob_yellowguy-l1"); ^ GO_fratelli.cpp:279:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_character *c=(GO_character *)map->get_object("GO_character"); ^ GO_fratelli.cpp:282:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c!=0 && c->player_has("GO_redbadbook")!=0) has_redbadbook=true; ^ GO_fratelli.cpp:283:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c!=0 && c->player_has("GO_purpledbook")!=0) has_purplebook=true; ^ GO_fratelli.cpp:292:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o=map->collision_with_object(this,GLTM,"GO_rope"); ^ GO_fratelli.cpp:301:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_ma"),m_sfx_volume); ^ GO_fratelli.cpp:304:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_francis"),m_sfx_volume); ^ GO_fratelli.cpp:307:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_ma"),m_sfx_volume); ^ GO_fratelli.cpp:310:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_francis"),m_sfx_volume); ^ GO_fratelli.cpp:313:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_jake"),m_sfx_volume); ^ GO_fratelli.cpp:316:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_jake"),m_sfx_volume); ^ GO_fratelli.cpp:344:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o=map->collision_with_object(this,GLTM,"GO_rope"); ^ GO_fratelli.cpp:385:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o=map->collision_with_object(this,GLTM,"GO_rope"); ^ GO_fratelli.cpp:394:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_ma"),m_sfx_volume); ^ GO_fratelli.cpp:397:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_francis"),m_sfx_volume); ^ GO_fratelli.cpp:400:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_ma"),m_sfx_volume); ^ GO_fratelli.cpp:403:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_francis"),m_sfx_volume); ^ GO_fratelli.cpp:406:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_jake"),m_sfx_volume); ^ GO_fratelli.cpp:409:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_jake"),m_sfx_volume); ^ GO_fratelli.cpp:430:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o=map->collision_with_object(this,GLTM,"GO_rope"); ^ GO_fratelli.cpp:472:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o=map->collision_with_object(this,GLTM,"GO_rope"); ^ GO_fratelli.cpp:481:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_ma"),m_sfx_volume); ^ GO_fratelli.cpp:484:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_francis"),m_sfx_volume); ^ GO_fratelli.cpp:487:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_ma"),m_sfx_volume); ^ GO_fratelli.cpp:490:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_francis"),m_sfx_volume); ^ GO_fratelli.cpp:493:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_jake"),m_sfx_volume); ^ GO_fratelli.cpp:496:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_jump_jake"),m_sfx_volume); ^ GO_fratelli.cpp:517:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] o=map->collision_with_object(this,GLTM,"GO_rope"); ^ GO_fratelli.cpp:562:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (SFXM!=0) Sound_play(SFXM->get("sfx/player_land"),m_sfx_volume); ^ GO_fratelli.cpp:580:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (SFXM!=0) Sound_play(SFXM->get("sfx/player_land"),m_sfx_volume); ^ GO_fratelli.cpp:606:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (SFXM!=0) Sound_play(SFXM->get("sfx/player_land"),m_sfx_volume); ^ GO_fratelli.cpp:658:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!map->collision_with_object(this,GLTM,"GO_rope")) { ^ GO_fratelli.cpp:714:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (SFXM!=0) Sound_play(SFXM->get("sfx/fratelli_sing"),m_sfx_volume); ^ GO_fratelli.cpp:716:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *s=new Symbol("GO_bullet"); ^ GO_fratelli.cpp:721:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (SFXM!=0) Sound_play(SFXM->get("sfx/fratelli_attack"),m_sfx_volume); ^ GO_fratelli.cpp:736:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (SFXM!=0) Sound_play(SFXM->get("sfx/fratelli_sing"),m_sfx_volume); ^ GO_fratelli.cpp:738:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *s=new Symbol("GO_bullet"); ^ GO_fratelli.cpp:743:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (SFXM!=0) Sound_play(SFXM->get("sfx/fratelli_attack"),m_sfx_volume); ^ GO_fratelli.cpp:761:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (i>0 && SFXM!=0) Sound_play(SFXM->get("sfx/player_land"),m_sfx_volume); ^ GO_fratelli.cpp:770:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_dead_ma"),m_sfx_volume); ^ GO_fratelli.cpp:773:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_dead_francis"),m_sfx_volume); ^ GO_fratelli.cpp:776:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_dead_ma"),m_sfx_volume); ^ GO_fratelli.cpp:779:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_dead_francis"),m_sfx_volume); ^ GO_fratelli.cpp:782:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_dead_jake"),m_sfx_volume); ^ GO_fratelli.cpp:785:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/fratelli_dead_jake"),m_sfx_volume); ^ GO_fratelli.cpp:827:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_walking_channel=Sound_play_continuous(SFXM->get("sfx/fratelli_walk"),m_sfx_volume); ^ GO_fratelli.cpp:837:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_climbing_channel=Sound_play_continuous(SFXM->get("sfx/fratelli_climb"),m_sfx_volume); ^ GO_fratelli.cpp:882:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (SFXM!=0) Sound_play(SFXM->get("sfx/player_hit"),m_sfx_volume); ^ GO_fratelli.cpp: In member function 'virtual void GO_fratelli::draw(GLTManager*)': GO_fratelli.cpp:909:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_STANDING_LEFT: m_last_tile_used=GLTM->get("ob_yellowguy-l1"); ^ GO_fratelli.cpp:911:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_STANDING_RIGHT: m_last_tile_used=GLTM->get("ob_yellowguy-r1"); ^ GO_fratelli.cpp:913:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_WALKING_LEFT: if (s==0) m_last_tile_used=GLTM->get("ob_yellowguy-l2"); ^ GO_fratelli.cpp:914:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_yellowguy-l1"); ^ GO_fratelli.cpp:915:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_yellowguy-l3"); ^ GO_fratelli.cpp:916:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_yellowguy-l1"); ^ GO_fratelli.cpp:918:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_WALKING_RIGHT: if (s==0) m_last_tile_used=GLTM->get("ob_yellowguy-r2"); ^ GO_fratelli.cpp:919:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_yellowguy-r1"); ^ GO_fratelli.cpp:920:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_yellowguy-r3"); ^ GO_fratelli.cpp:921:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_yellowguy-r1"); ^ GO_fratelli.cpp:923:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_FALLING_LEFT: m_last_tile_used=GLTM->get("ob_yellowguy-l1"); ^ GO_fratelli.cpp:925:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_FALLING_RIGHT: m_last_tile_used=GLTM->get("ob_yellowguy-r1"); ^ GO_fratelli.cpp:929:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_yellowguy-jump-l"); ^ GO_fratelli.cpp:933:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_yellowguy-jump-r"); ^ GO_fratelli.cpp:938:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0 || s==2) m_last_tile_used=GLTM->get("ob_yellowguy-climbing-1"); ^ GO_fratelli.cpp:939:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1 || s==3) m_last_tile_used=GLTM->get("ob_yellowguy-climbing-2"); ^ GO_fratelli.cpp:941:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_SHOOT_LEFT: m_last_tile_used=GLTM->get("ob_yellowguy-shooting-l"); ^ GO_fratelli.cpp:943:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_SHOOT_RIGHT: m_last_tile_used=GLTM->get("ob_yellowguy-shooting-r"); ^ GO_fratelli.cpp:946:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0 || s==2) m_last_tile_used=GLTM->get("ob_yellowguy-takendown-1"); ^ GO_fratelli.cpp:947:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1 || s==3) m_last_tile_used=GLTM->get("ob_yellowguy-takendown-2"); ^ GO_fratelli.cpp:953:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_STANDING_LEFT: m_last_tile_used=GLTM->get("ob_blueguy-l1"); ^ GO_fratelli.cpp:955:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_STANDING_RIGHT: m_last_tile_used=GLTM->get("ob_blueguy-r1"); ^ GO_fratelli.cpp:957:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_WALKING_LEFT: if (s==0) m_last_tile_used=GLTM->get("ob_blueguy-l2"); ^ GO_fratelli.cpp:958:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_blueguy-l1"); ^ GO_fratelli.cpp:959:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_blueguy-l3"); ^ GO_fratelli.cpp:960:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_blueguy-l1"); ^ GO_fratelli.cpp:962:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_WALKING_RIGHT: if (s==0) m_last_tile_used=GLTM->get("ob_blueguy-r2"); ^ GO_fratelli.cpp:963:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_blueguy-r1"); ^ GO_fratelli.cpp:964:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_blueguy-r3"); ^ GO_fratelli.cpp:965:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_blueguy-r1"); ^ GO_fratelli.cpp:967:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_FALLING_LEFT: m_last_tile_used=GLTM->get("ob_blueguy-l1"); ^ GO_fratelli.cpp:969:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_FALLING_RIGHT: m_last_tile_used=GLTM->get("ob_blueguy-r1"); ^ GO_fratelli.cpp:973:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_blueguy-jump-l"); ^ GO_fratelli.cpp:977:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_blueguy-jump-r"); ^ GO_fratelli.cpp:982:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0 || s==2) m_last_tile_used=GLTM->get("ob_blueguy-climbing-1"); ^ GO_fratelli.cpp:983:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1 || s==3) m_last_tile_used=GLTM->get("ob_blueguy-climbing-2"); ^ GO_fratelli.cpp:985:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_SHOOT_LEFT: m_last_tile_used=GLTM->get("ob_blueguy-shooting-l"); ^ GO_fratelli.cpp:987:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_SHOOT_RIGHT: m_last_tile_used=GLTM->get("ob_blueguy-shooting-r"); ^ GO_fratelli.cpp:990:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0 || s==2) m_last_tile_used=GLTM->get("ob_blueguy-takendown-1"); ^ GO_fratelli.cpp:991:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1 || s==3) m_last_tile_used=GLTM->get("ob_blueguy-takendown-2"); ^ GO_fratelli.cpp:997:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_STANDING_LEFT: m_last_tile_used=GLTM->get("ob_greenguy-l1"); ^ GO_fratelli.cpp:999:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_STANDING_RIGHT: m_last_tile_used=GLTM->get("ob_greenguy-r1"); ^ GO_fratelli.cpp:1001:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_WALKING_LEFT: if (s==0) m_last_tile_used=GLTM->get("ob_greenguy-l2"); ^ GO_fratelli.cpp:1002:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_greenguy-l1"); ^ GO_fratelli.cpp:1003:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_greenguy-l3"); ^ GO_fratelli.cpp:1004:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_greenguy-l1"); ^ GO_fratelli.cpp:1006:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_WALKING_RIGHT: if (s==0) m_last_tile_used=GLTM->get("ob_greenguy-r2"); ^ GO_fratelli.cpp:1007:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_greenguy-r1"); ^ GO_fratelli.cpp:1008:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_greenguy-r3"); ^ GO_fratelli.cpp:1009:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_greenguy-r1"); ^ GO_fratelli.cpp:1011:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_FALLING_LEFT: m_last_tile_used=GLTM->get("ob_greenguy-l1"); ^ GO_fratelli.cpp:1013:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_FALLING_RIGHT: m_last_tile_used=GLTM->get("ob_greenguy-r1"); ^ GO_fratelli.cpp:1017:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_greenguy-jump-l"); ^ GO_fratelli.cpp:1021:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_greenguy-jump-r"); ^ GO_fratelli.cpp:1026:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0 || s==2) m_last_tile_used=GLTM->get("ob_greenguy-climbing-1"); ^ GO_fratelli.cpp:1027:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1 || s==3) m_last_tile_used=GLTM->get("ob_greenguy-climbing-2"); ^ GO_fratelli.cpp:1029:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_SHOOT_LEFT: m_last_tile_used=GLTM->get("ob_greenguy-shooting-l"); ^ GO_fratelli.cpp:1031:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_SHOOT_RIGHT: m_last_tile_used=GLTM->get("ob_greenguy-shooting-r"); ^ GO_fratelli.cpp:1034:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0 || s==2) m_last_tile_used=GLTM->get("ob_greenguy-takendown-1"); ^ GO_fratelli.cpp:1035:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1 || s==3) m_last_tile_used=GLTM->get("ob_greenguy-takendown-2"); ^ GO_fratelli.cpp:1041:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_STANDING_LEFT: m_last_tile_used=GLTM->get("ob_redguy-l1"); ^ GO_fratelli.cpp:1043:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_STANDING_RIGHT: m_last_tile_used=GLTM->get("ob_redguy-r1"); ^ GO_fratelli.cpp:1045:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_WALKING_LEFT: if (s==0) m_last_tile_used=GLTM->get("ob_redguy-l2"); ^ GO_fratelli.cpp:1046:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_redguy-l1"); ^ GO_fratelli.cpp:1047:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_redguy-l3"); ^ GO_fratelli.cpp:1048:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_redguy-l1"); ^ GO_fratelli.cpp:1050:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_WALKING_RIGHT: if (s==0) m_last_tile_used=GLTM->get("ob_redguy-r2"); ^ GO_fratelli.cpp:1051:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_redguy-r1"); ^ GO_fratelli.cpp:1052:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_redguy-r3"); ^ GO_fratelli.cpp:1053:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_redguy-r1"); ^ GO_fratelli.cpp:1055:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_FALLING_LEFT: m_last_tile_used=GLTM->get("ob_redguy-l1"); ^ GO_fratelli.cpp:1057:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_FALLING_RIGHT: m_last_tile_used=GLTM->get("ob_redguy-r1"); ^ GO_fratelli.cpp:1061:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_redguy-jump-l"); ^ GO_fratelli.cpp:1065:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_redguy-jump-r"); ^ GO_fratelli.cpp:1070:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0 || s==2) m_last_tile_used=GLTM->get("ob_redguy-climbing-1"); ^ GO_fratelli.cpp:1071:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1 || s==3) m_last_tile_used=GLTM->get("ob_redguy-climbing-2"); ^ GO_fratelli.cpp:1073:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_SHOOT_LEFT: m_last_tile_used=GLTM->get("ob_redguy-shooting-l"); ^ GO_fratelli.cpp:1075:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_SHOOT_RIGHT: m_last_tile_used=GLTM->get("ob_redguy-shooting-r"); ^ GO_fratelli.cpp:1078:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0 || s==2) m_last_tile_used=GLTM->get("ob_redguy-takendown-1"); ^ GO_fratelli.cpp:1079:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1 || s==3) m_last_tile_used=GLTM->get("ob_redguy-takendown-2"); ^ GO_fratelli.cpp:1085:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_STANDING_LEFT: m_last_tile_used=GLTM->get("ob_whiteguy-l1"); ^ GO_fratelli.cpp:1087:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_STANDING_RIGHT: m_last_tile_used=GLTM->get("ob_whiteguy-r1"); ^ GO_fratelli.cpp:1089:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_WALKING_LEFT: if (s==0) m_last_tile_used=GLTM->get("ob_whiteguy-l2"); ^ GO_fratelli.cpp:1090:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_whiteguy-l1"); ^ GO_fratelli.cpp:1091:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_whiteguy-l3"); ^ GO_fratelli.cpp:1092:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_whiteguy-l1"); ^ GO_fratelli.cpp:1094:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_WALKING_RIGHT: if (s==0) m_last_tile_used=GLTM->get("ob_whiteguy-r2"); ^ GO_fratelli.cpp:1095:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_whiteguy-r1"); ^ GO_fratelli.cpp:1096:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_whiteguy-r3"); ^ GO_fratelli.cpp:1097:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_whiteguy-r1"); ^ GO_fratelli.cpp:1099:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_FALLING_LEFT: m_last_tile_used=GLTM->get("ob_whiteguy-l1"); ^ GO_fratelli.cpp:1101:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_FALLING_RIGHT: m_last_tile_used=GLTM->get("ob_whiteguy-r1"); ^ GO_fratelli.cpp:1105:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_whiteguy-jump-l"); ^ GO_fratelli.cpp:1109:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_whiteguy-jump-r"); ^ GO_fratelli.cpp:1114:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0 || s==2) m_last_tile_used=GLTM->get("ob_whiteguy-climbing-1"); ^ GO_fratelli.cpp:1115:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1 || s==3) m_last_tile_used=GLTM->get("ob_whiteguy-climbing-2"); ^ GO_fratelli.cpp:1117:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_SHOOT_LEFT: m_last_tile_used=GLTM->get("ob_whiteguy-shooting-l"); ^ GO_fratelli.cpp:1119:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_SHOOT_RIGHT: m_last_tile_used=GLTM->get("ob_whiteguy-shooting-r"); ^ GO_fratelli.cpp:1122:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0 || s==2) m_last_tile_used=GLTM->get("ob_whiteguy-takendown-1"); ^ GO_fratelli.cpp:1123:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1 || s==3) m_last_tile_used=GLTM->get("ob_whiteguy-takendown-2"); ^ GO_fratelli.cpp:1129:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_STANDING_LEFT: m_last_tile_used=GLTM->get("ob_greyguy-l1"); ^ GO_fratelli.cpp:1131:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_STANDING_RIGHT: m_last_tile_used=GLTM->get("ob_greyguy-r1"); ^ GO_fratelli.cpp:1133:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_WALKING_LEFT: if (s==0) m_last_tile_used=GLTM->get("ob_greyguy-l2"); ^ GO_fratelli.cpp:1134:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_greyguy-l1"); ^ GO_fratelli.cpp:1135:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_greyguy-l3"); ^ GO_fratelli.cpp:1136:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_greyguy-l1"); ^ GO_fratelli.cpp:1138:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_WALKING_RIGHT: if (s==0) m_last_tile_used=GLTM->get("ob_greyguy-r2"); ^ GO_fratelli.cpp:1139:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_greyguy-r1"); ^ GO_fratelli.cpp:1140:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_greyguy-r3"); ^ GO_fratelli.cpp:1141:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_greyguy-r1"); ^ GO_fratelli.cpp:1143:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_FALLING_LEFT: m_last_tile_used=GLTM->get("ob_greyguy-l1"); ^ GO_fratelli.cpp:1145:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_FALLING_RIGHT: m_last_tile_used=GLTM->get("ob_greyguy-r1"); ^ GO_fratelli.cpp:1149:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_greyguy-jump-l"); ^ GO_fratelli.cpp:1153:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_greyguy-jump-r"); ^ GO_fratelli.cpp:1158:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0 || s==2) m_last_tile_used=GLTM->get("ob_greyguy-climbing-1"); ^ GO_fratelli.cpp:1159:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1 || s==3) m_last_tile_used=GLTM->get("ob_greyguy-climbing-2"); ^ GO_fratelli.cpp:1161:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_SHOOT_LEFT: m_last_tile_used=GLTM->get("ob_greyguy-shooting-l"); ^ GO_fratelli.cpp:1163:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case CSTATE_SHOOT_RIGHT: m_last_tile_used=GLTM->get("ob_greyguy-shooting-r"); ^ GO_fratelli.cpp:1166:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0 || s==2) m_last_tile_used=GLTM->get("ob_greyguy-takendown-1"); ^ GO_fratelli.cpp:1167:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1 || s==3) m_last_tile_used=GLTM->get("ob_greyguy-takendown-2"); ^ GO_fratelli.cpp: In member function 'virtual bool GO_fratelli::is_a(Symbol*)': GO_fratelli.cpp:1210:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_fratelli")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_bullet.cpp -o GO_bullet.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_pipe_water.cpp -o GO_pipe_water.o GO_bullet.cpp: In constructor 'GO_bullet::GO_bullet(int, int, int, int)': GO_bullet.cpp:40:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_bullet"); ^ GO_bullet.cpp: In member function 'virtual void GO_bullet::draw(GLTManager*)': GO_bullet.cpp:64:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_facing==0) m_last_tile_used=GLTM->get("ob_bullet-l"); ^ GO_bullet.cpp:65:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_bullet-r"); ^ GO_bullet.cpp: In member function 'virtual bool GO_bullet::is_a(Symbol*)': GO_bullet.cpp:72:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_bullet")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_item.cpp -o GO_item.o GO_pipe_water.cpp: In constructor 'GO_pipe_water::GO_pipe_water(int, int, int, int)': GO_pipe_water.cpp:38:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_pipe_water"); ^ GO_pipe_water.cpp: In member function 'virtual bool GO_pipe_water::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_pipe_water.cpp:63:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_pipe_channel=Sound_play_continuous(SFXM->get("sfx/water_vent"),m_sfx_volume); ^ GO_pipe_water.cpp: In member function 'virtual void GO_pipe_water::draw(GLTManager*)': GO_pipe_water.cpp:101:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_pipe-water-l1"); ^ GO_pipe_water.cpp:102:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_pipe-water-l2"); ^ GO_pipe_water.cpp:105:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_pipe-water-r1"); ^ GO_pipe_water.cpp:106:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_pipe-water-r2"); ^ GO_pipe_water.cpp:112:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_pipe-water-l3"); ^ GO_pipe_water.cpp:113:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_pipe-water-l4"); ^ GO_pipe_water.cpp:115:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_pipe-water-r3"); ^ GO_pipe_water.cpp:116:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_pipe-water-r4"); ^ GO_pipe_water.cpp: In member function 'virtual bool GO_pipe_water::is_a(Symbol*)': GO_pipe_water.cpp:127:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_pipe_water")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_trickyskull.cpp -o GO_trickyskull.o GO_item.cpp: In constructor 'GO_item::GO_item(int, int, int, int)': GO_item.cpp:37:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_item"); ^ GO_item.cpp: In member function 'virtual void GO_item::draw(GLTManager*)': GO_item.cpp:64:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 0: if (s == 0) m_last_tile_used=GLTM->get("it_goonie1"); ^ GO_item.cpp:65:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("it_goonie2"); ^ GO_item.cpp:67:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 1: if (s == 0) m_last_tile_used=GLTM->get("it_greenbottle1"); ^ GO_item.cpp:68:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s == 1) m_last_tile_used=GLTM->get("it_greenbottle2"); ^ GO_item.cpp:69:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s == 2) m_last_tile_used=GLTM->get("it_greenbottle3"); ^ GO_item.cpp:72:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:75:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:78:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:81:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:84:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:86:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 7: m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:89:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:92:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:95:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:98:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:101:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:104:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:107:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:110:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:112:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 16:m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:115:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:118:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:121:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:124:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:127:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:130:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:133:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:136:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:139:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:142:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_bag"); ^ GO_item.cpp:145:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("it_goonie"); ^ GO_item.cpp: In member function 'virtual bool GO_item::is_a(Symbol*)': GO_item.cpp:164:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_item")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_bone.cpp -o GO_bone.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_exitdoor.cpp -o GO_exitdoor.o GO_trickyskull.cpp: In constructor 'GO_trickyskull::GO_trickyskull(int, int, int, int)': GO_trickyskull.cpp:44:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_trickyskull"); ^ GO_trickyskull.cpp: In member function 'virtual bool GO_trickyskull::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_trickyskull.cpp:64:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/enemy_appear"),m_sfx_volume); ^ GO_trickyskull.cpp:89:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GObject *c=map->get_object("GO_character"); ^ GO_trickyskull.cpp:105:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/skull_bounce"),m_sfx_volume); ^ GO_trickyskull.cpp:118:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle==0) Sound_play(SFXM->get("sfx/skull_dead"),m_sfx_volume); ^ GO_trickyskull.cpp: In member function 'virtual void GO_trickyskull::draw(GLTManager*)': GO_trickyskull.cpp:135:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_smoke1"); ^ GO_trickyskull.cpp:136:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_smoke2"); ^ GO_trickyskull.cpp:140:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_skull-l1"); ^ GO_trickyskull.cpp:141:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_skull-l2"); ^ GO_trickyskull.cpp:143:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_skull-r1"); ^ GO_trickyskull.cpp:144:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_skull-r2"); ^ GO_trickyskull.cpp:148:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_skull-death"); ^ GO_trickyskull.cpp: In member function 'virtual bool GO_trickyskull::is_a(Symbol*)': GO_trickyskull.cpp:158:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_trickyskull")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_lava.cpp -o GO_lava.o GO_bone.cpp: In constructor 'GO_bone::GO_bone(int, int, int, int)': GO_bone.cpp:42:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_bone"); ^ GO_bone.cpp: In member function 'virtual void GO_bone::draw(GLTManager*)': GO_bone.cpp:73:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 0: m_last_tile_used=GLTM->get("ob_bone1"); ^ GO_bone.cpp:75:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 1: m_last_tile_used=GLTM->get("ob_bone2"); ^ GO_bone.cpp:77:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 2: m_last_tile_used=GLTM->get("ob_bone3"); ^ GO_bone.cpp:79:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 3: m_last_tile_used=GLTM->get("ob_bone4"); ^ GO_bone.cpp:83:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_skull-death"); ^ GO_bone.cpp: In member function 'virtual bool GO_bone::is_a(Symbol*)': GO_bone.cpp:92:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_bone")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_closingwall.cpp -o GO_closingwall.o GO_lava.cpp: In constructor 'GO_lava::GO_lava(int, int, int)': GO_lava.cpp:38:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_lava"); ^ GO_lava.cpp: In member function 'virtual bool GO_lava::is_a(Symbol*)': GO_lava.cpp:104:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_lava")) return true; ^ GO_exitdoor.cpp: In constructor 'GO_exitdoor::GO_exitdoor(int, int, int)': GO_exitdoor.cpp:41:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_exitdoor"); ^ GO_exitdoor.cpp: In member function 'virtual bool GO_exitdoor::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_exitdoor.cpp:50:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_character *c=(GO_character *)map->get_object("GO_character"); ^ GO_exitdoor.cpp: In member function 'virtual void GO_exitdoor::draw(GLTManager*)': GO_exitdoor.cpp:61:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state==0) m_last_tile_used=GLTM->get("ob_exitdoor"); ^ GO_exitdoor.cpp:62:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_entrydoor"); ^ GO_exitdoor.cpp: In member function 'virtual bool GO_exitdoor::is_a(Symbol*)': GO_exitdoor.cpp:69:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_exitdoor")) return true; ^ GO_closingwall.cpp: In constructor 'GO_closingwall::GO_closingwall(int, int, int, int)': GO_closingwall.cpp:43:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_closingwall"); ^ GO_closingwall.cpp: In member function 'virtual bool GO_closingwall::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_closingwall.cpp:53:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_character *c=(GO_character *)map->get_object("GO_character"); ^ GO_closingwall.cpp:70:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tile-wall-r1",int(m_x),int(m_y)); ^ GO_closingwall.cpp:71:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tile-wall-l1",int(m_x+20),int(m_y)); ^ GO_closingwall.cpp:74:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tile-wall-r1",int(m_x),int(m_y+20)); ^ GO_closingwall.cpp:75:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tile-wall-l1",int(m_x+20),int(m_y+20)); ^ GO_closingwall.cpp:78:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tile-wall-r1",int(m_x),int(m_y+40)); ^ GO_closingwall.cpp:79:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tile-wall-l1",int(m_x+20),int(m_y+40)); ^ GO_closingwall.cpp:82:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tile-wall-r1",int(m_x),int(m_y+60)); ^ GO_closingwall.cpp:83:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tile-wall-l1",int(m_x+20),int(m_y+60)); ^ GO_closingwall.cpp:86:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tile-ground-wall-r",int(m_x),int(m_y+80)); ^ GO_closingwall.cpp:87:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tile-ground-wall-l",int(m_x+20),int(m_y+80)); ^ GO_closingwall.cpp:90:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/closingwall"),m_sfx_volume); ^ GO_closingwall.cpp:95:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileblue-wall-r1",int(m_x),int(m_y)); ^ GO_closingwall.cpp:96:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileblue-wall-l1",int(m_x+20),int(m_y)); ^ GO_closingwall.cpp:99:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileblue-wall-r1",int(m_x),int(m_y+20)); ^ GO_closingwall.cpp:100:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileblue-wall-l1",int(m_x+20),int(m_y+20)); ^ GO_closingwall.cpp:103:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileblue-wall-r1",int(m_x),int(m_y+40)); ^ GO_closingwall.cpp:104:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileblue-wall-l1",int(m_x+20),int(m_y+40)); ^ GO_closingwall.cpp:107:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileblue-wall-r1",int(m_x),int(m_y+60)); ^ GO_closingwall.cpp:108:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileblue-wall-l1",int(m_x+20),int(m_y+60)); ^ GO_closingwall.cpp:111:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileblue-ground-wall-r",int(m_x),int(m_y+80)); ^ GO_closingwall.cpp:112:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileblue-ground-wall-l",int(m_x+20),int(m_y+80)); ^ GO_closingwall.cpp:115:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/closingwall"),m_sfx_volume); ^ GO_closingwall.cpp:120:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tilegreen-wall-r1",int(m_x),int(m_y)); ^ GO_closingwall.cpp:121:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tilegreen-wall-l1",int(m_x+20),int(m_y)); ^ GO_closingwall.cpp:124:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tilegreen-wall-r1",int(m_x),int(m_y+20)); ^ GO_closingwall.cpp:125:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tilegreen-wall-l1",int(m_x+20),int(m_y+20)); ^ GO_closingwall.cpp:128:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tilegreen-wall-r1",int(m_x),int(m_y+40)); ^ GO_closingwall.cpp:129:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tilegreen-wall-l1",int(m_x+20),int(m_y+40)); ^ GO_closingwall.cpp:132:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tilegreen-wall-r1",int(m_x),int(m_y+60)); ^ GO_closingwall.cpp:133:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tilegreen-wall-l1",int(m_x+20),int(m_y+60)); ^ GO_closingwall.cpp:136:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tile-ground-wall-r",int(m_x),int(m_y+80)); ^ GO_closingwall.cpp:137:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tile-ground-wall-l",int(m_x+20),int(m_y+80)); ^ GO_closingwall.cpp:140:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/closingwall"),m_sfx_volume); ^ GO_closingwall.cpp:145:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileyellow-wall-r1",int(m_x),int(m_y)); ^ GO_closingwall.cpp:146:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileyellow-wall-l1",int(m_x+20),int(m_y)); ^ GO_closingwall.cpp:149:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileyellow-wall-r1",int(m_x),int(m_y+20)); ^ GO_closingwall.cpp:150:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileyellow-wall-l1",int(m_x+20),int(m_y+20)); ^ GO_closingwall.cpp:153:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileyellow-wall-r1",int(m_x),int(m_y+40)); ^ GO_closingwall.cpp:154:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileyellow-wall-l1",int(m_x+20),int(m_y+40)); ^ GO_closingwall.cpp:157:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileyellow-wall-r1",int(m_x),int(m_y+60)); ^ GO_closingwall.cpp:158:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileyellow-wall-l1",int(m_x+20),int(m_y+60)); ^ GO_closingwall.cpp:161:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileyellow-ground-wall-r",int(m_x),int(m_y+80)); ^ GO_closingwall.cpp:162:87: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] map->get_layer(3)->add_tile("wl_tileyellow-ground-wall-l",int(m_x+20),int(m_y+80)); ^ GO_closingwall.cpp:165:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/closingwall"),m_sfx_volume); ^ GO_closingwall.cpp: In member function 'virtual bool GO_closingwall::is_a(Symbol*)': GO_closingwall.cpp:180:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_closingwall")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_fallingwater.cpp -o GO_fallingwater.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_watersplash.cpp -o GO_watersplash.o GO_watersplash.cpp: In constructor 'GO_watersplash::GO_watersplash(int, int, float, float, int)': GO_watersplash.cpp:38:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_watersplash"); ^ GO_watersplash.cpp: In member function 'virtual bool GO_watersplash::is_a(Symbol*)': GO_watersplash.cpp:94:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_watersplash")) return true; ^ GO_fallingwater.cpp: In constructor 'GO_fallingwater::GO_fallingwater(int, int, int, int, int)': GO_fallingwater.cpp:39:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_fallingwater"); ^ GO_fallingwater.cpp: In member function 'virtual bool GO_fallingwater::is_a(Symbol*)': GO_fallingwater.cpp:147:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_fallingwater")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_coin.cpp -o GO_coin.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_flame.cpp -o GO_flame.o GO_coin.cpp: In constructor 'GO_coin::GO_coin(int, int, int)': GO_coin.cpp:42:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_coin"); ^ GO_coin.cpp: In member function 'virtual void GO_coin::draw(GLTManager*)': GO_coin.cpp:62:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_coin1"); ^ GO_coin.cpp:63:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==1) m_last_tile_used=GLTM->get("ob_coin2"); ^ GO_coin.cpp:64:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==2) m_last_tile_used=GLTM->get("ob_coin3"); ^ GO_coin.cpp:65:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==3) m_last_tile_used=GLTM->get("ob_coin4"); ^ GO_coin.cpp: In member function 'virtual bool GO_coin::is_a(Symbol*)': GO_coin.cpp:73:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_coin")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_ghost.cpp -o GO_ghost.o GO_ghost.cpp: In constructor 'GO_ghost::GO_ghost(int, int, int)': GO_ghost.cpp:43:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_ghost"); ^ GO_ghost.cpp: In member function 'virtual bool GO_ghost::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_ghost.cpp:58:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_character *c=(GO_character *)map->get_object("GO_character"); ^ GO_ghost.cpp:72:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/enemy_appear"),m_sfx_volume); ^ GO_ghost.cpp:75:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->player_has("GO_bluebadbook") && ^ GO_ghost.cpp:91:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_character *c=(GO_character *)map->get_object("GO_character"); ^ GO_ghost.cpp:109:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_character *c=(GO_character *)map->get_object("GO_character"); ^ GO_ghost.cpp: In member function 'virtual void GO_ghost::draw(GLTManager*)': GO_ghost.cpp:145:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_ghost1"); ^ GO_ghost.cpp:146:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_ghost2"); ^ GO_ghost.cpp:149:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] case 3: m_last_tile_used=GLTM->get("ob_ghost-death"); ^ GO_ghost.cpp: In member function 'virtual bool GO_ghost::is_a(Symbol*)': GO_ghost.cpp:159:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_ghost")) return true; ^ GO_flame.cpp: In constructor 'GO_flame::GO_flame(int, int, int)': GO_flame.cpp:43:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_flame"); ^ GO_flame.cpp: In member function 'virtual bool GO_flame::cycle(VirtualController*, GMap*, int, GLTManager*, SFXManager*)': GO_flame.cpp:86:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_character *c=(GO_character *)map->get_object("GO_character"); ^ GO_flame.cpp:93:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_flame_channel=Sound_play_continuous(SFXM->get("sfx/flame"),m_sfx_volume); ^ GO_flame.cpp:111:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GO_character *c=(GO_character *)map->get_object("GO_character"); ^ GO_flame.cpp: In member function 'virtual void GO_flame::draw(GLTManager*)': GO_flame.cpp:135:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_flame1"); ^ GO_flame.cpp:137:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (s==0) m_last_tile_used=GLTM->get("ob_flame2"); ^ GO_flame.cpp:138:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else m_last_tile_used=GLTM->get("ob_flame3"); ^ GO_flame.cpp: In member function 'virtual bool GO_flame::is_a(Symbol*)': GO_flame.cpp:151:23: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_flame")) return true; ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c GO_musicalnote.cpp -o GO_musicalnote.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c state_splash.cpp -o state_splash.o GO_musicalnote.cpp: In constructor 'GO_musicalnote::GO_musicalnote(int, int, int, float, float)': GO_musicalnote.cpp:40:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_class=new Symbol("GO_musicalnote"); ^ GO_musicalnote.cpp: In member function 'virtual void GO_musicalnote::draw(GLTManager*)': GO_musicalnote.cpp:65:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_last_tile_used=GLTM->get("ob_musicalnote"); ^ GO_musicalnote.cpp: In member function 'virtual bool GO_musicalnote::is_a(Symbol*)': GO_musicalnote.cpp:72:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (c->cmp("GO_musicalnote")) return true; ^ state_splash.cpp: In member function 'void TheGooniesApp::splash_draw()': state_splash.cpp:64:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle>=50 && m_state_cycle<100) m_GLTM->get("2006_640x480")->draw((m_state_cycle-50)*0.02F,(m_state_cycle-50)*0.02F,(m_state_cycle-50)*0.02F,1.0F); ^ state_splash.cpp:65:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle>=100 && m_state_cycle<600) m_GLTM->get("2006_640x480")->draw(); ^ state_splash.cpp:66:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle>=600 && m_state_cycle<650) m_GLTM->get("2006_640x480")->draw((650-m_state_cycle)*0.02F,(650-m_state_cycle)*0.02F,(650-m_state_cycle)*0.02F,1.0F); ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c state_konami.cpp -o state_konami.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c state_gameover.cpp -o state_gameover.o state_gameover.cpp: In member function 'void TheGooniesApp::gameover_draw()': state_gameover.cpp:105:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_box_c("font",tmp,&x,&y,&dx,&dy,-2); ^ state_gameover.cpp:109:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(x,150,0,0,2,"font",tmp,-2); ^ state_gameover.cpp:114:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(320,150,0,0,2,"font",tmp,-2); ^ state_gameover.cpp:121:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_box_c("font",tmp,&x,&y,&dx,&dy,-2); ^ state_gameover.cpp:125:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(x,150,0,0,2,"font",tmp,-2); ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c state_disclaimer.cpp -o state_disclaimer.o state_konami.cpp: In member function 'int TheGooniesApp::konami_cycle(KEYBOARDSTATE*)': state_konami.cpp:57:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/intro"),m_sfx_volume); ^ state_konami.cpp: In member function 'void TheGooniesApp::konami_draw()': state_konami.cpp:78:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle>=0 && m_state_cycle<50) m_GLTM->get("presentation_bg")->draw((m_state_cycle)*0.02F,(m_state_cycle)*0.02F,(m_state_cycle)*0.02F,1.0F); ^ state_konami.cpp:79:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle>=50 && m_state_cycle<450) m_GLTM->get("presentation_bg")->draw(); ^ state_konami.cpp:80:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle>=450 && m_state_cycle<500) m_GLTM->get("presentation_bg")->draw((500-m_state_cycle)*0.02F,(500-m_state_cycle)*0.02F,(500-m_state_cycle)*0.02F,1.0F); ^ state_konami.cpp:82:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle>=100 && m_state_cycle<150) m_GLTM->get("presentation_texts")->draw(1,1,1,(m_state_cycle-100)*0.02F); ^ state_konami.cpp:83:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle>=150 && m_state_cycle<450) m_GLTM->get("presentation_texts")->draw(); ^ state_konami.cpp:84:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle>=450 && m_state_cycle<500) m_GLTM->get("presentation_texts")->draw(1,1,1,(500-m_state_cycle)*0.02F); ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c state_endsequence.cpp -o state_endsequence.o state_disclaimer.cpp: In member function 'void TheGooniesApp::disclaimer_draw()': state_disclaimer.cpp:72:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle>=0 && m_state_cycle<50) m_GLTM->get("disclaimer")->draw((m_state_cycle)*0.02F,(m_state_cycle)*0.02F,(m_state_cycle)*0.02F,1.0F); ^ state_disclaimer.cpp:73:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle>=50 && m_state_cycle<450) m_GLTM->get("disclaimer")->draw(); ^ state_disclaimer.cpp:74:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle>=450 && m_state_cycle<500) m_GLTM->get("disclaimer")->draw((500-m_state_cycle)*0.02F,(500-m_state_cycle)*0.02F,(500-m_state_cycle)*0.02F,1.0F); ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c state_game.cpp -o state_game.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c state_gamestart.cpp -o state_gamestart.o state_endsequence.cpp: In member function 'int TheGooniesApp::endsequence_cycle(KEYBOARDSTATE*)': state_endsequence.cpp:46:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle==0) m_endsequence_music_channel=Sound_play(m_SFXM->get("levelclear"),m_music_volume); ^ state_endsequence.cpp:63:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_endsequence_music_channel=Sound_play_continuous(m_SFXM->get("cutscene"),m_music_volume); ^ state_endsequence.cpp:86:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_endsequence_music_channel=Sound_play_continuous(m_SFXM->get("endcredits"),m_music_volume); ^ state_endsequence.cpp: In member function 'void TheGooniesApp::endsequence_draw()': state_endsequence.cpp:155:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_box_c("font",tmp,&x,&y,&dx,&dy,-2); ^ state_endsequence.cpp:159:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(x,150,0,0,2,"font",tmp,-2); ^ state_endsequence.cpp:164:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(320,150,0,0,2,"font",tmp,-2); ^ state_endsequence.cpp:171:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_box_c("font",tmp,&x,&y,&dx,&dy,-2); ^ state_endsequence.cpp:175:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(x,150,0,0,2,"font",tmp,-2); ^ state_endsequence.cpp:206:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-character-r1")->draw(1,1,1,f,512-(300-m_endsequence_cycle)*2.5f,296,0,0,1); ^ state_endsequence.cpp:207:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-character-r2")->draw(1,1,1,f,512-(300-m_endsequence_cycle)*2.5f,296,0,0,1); ^ state_endsequence.cpp:208:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==2) m_GLTM->get("intro-character-r1")->draw(1,1,1,f,512-(300-m_endsequence_cycle)*2.5f,296,0,0,1); ^ state_endsequence.cpp:209:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==3) m_GLTM->get("intro-character-r3")->draw(1,1,1,f,512-(300-m_endsequence_cycle)*2.5f,296,0,0,1); ^ state_endsequence.cpp:214:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("intro-character-standing-l")->draw(1,1,1,f,512,296,0,0,1); ^ state_endsequence.cpp:219:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("intro-character-r1")->draw(1,1,1,f,512,296,0,0,1); ^ state_endsequence.cpp:223:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("intro-character-thumbsup")->draw(1,1,1,f,512,296,0,0,1); ^ state_endsequence.cpp:232:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-kid-r1")->draw(1,1,1,f,(464-i*60)-(500+i*150-m_endsequence_cycle)*2.5f,312,0,0,1); ^ state_endsequence.cpp:233:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-kid-r2")->draw(1,1,1,f,(464-i*60)-(500+i*150-m_endsequence_cycle)*2.5f,312,0,0,1); ^ state_endsequence.cpp:238:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("intro-kid-standing")->draw(1,1,1,f,float(464-i*60),312,0,0,1); ^ state_endsequence.cpp:242:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("intro-kid-happy")->draw(1,1,1,f,float(464-i*60),312,0,0,1); ^ state_endsequence.cpp:251:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-fratelli-l1")->draw(1,1,1,f,560+(1500-m_endsequence_cycle)*2.5f,296,0,0,1); ^ state_endsequence.cpp:252:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-fratelli-l2")->draw(1,1,1,f,560+(1500-m_endsequence_cycle)*2.5f,296,0,0,1); ^ state_endsequence.cpp:257:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-fratelli-down1")->draw(1,1,1,f,560,296,0,0,1); ^ state_endsequence.cpp:258:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-fratelli-down2")->draw(1,1,1,f,560,296,0,0,1); ^ state_endsequence.cpp:275:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(x,150,0,0,1,"font",tmp,-2); ^ state_endsequence.cpp:280:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(320,150,0,0,1,"font",tmp,-2); ^ state_endsequence.cpp:289:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(x,150,0,0,1,"font",tmp,-2); ^ state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ""}; ^ state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:340:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_endsequence.cpp:350:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("bg_copyright_3")->draw(0,0,0,0,1); ^ state_endsequence.cpp:354:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (text[i][0]=='.') font_print_c(320,start_y+i*45,0,0,0.8f,"font",text[i]+1,-2); ^ state_endsequence.cpp:355:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else font_print_c(320,start_y+i*45,0,0,1,"font_hl",text[i]+1,-2); ^ state_endsequence.cpp:353:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if ((start_y+i*30)<500) ^ state_game.cpp: In member function 'int TheGooniesApp::game_cycle(KEYBOARDSTATE*)': state_game.cpp:100:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("gameover"),m_music_volume); ^ state_gamestart.cpp: In member function 'int TheGooniesApp::gamestart_cycle(KEYBOARDSTATE*)': state_gamestart.cpp:44:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *passwords[5]={"goonies","mr sloth","goon docks","doubloon","one eyed willy"}; ^ state_gamestart.cpp:44:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_gamestart.cpp:44:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_gamestart.cpp:44:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_gamestart.cpp:44:83: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c state_interlevel.cpp -o state_interlevel.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c state_title.cpp -o state_title.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c state_titleanimation.cpp -o state_titleanimation.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c state_credits.cpp -o state_credits.o state_interlevel.cpp: In member function 'int TheGooniesApp::interlevel_cycle(KEYBOARDSTATE*)': state_interlevel.cpp:50:88: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_state_cycle==0) m_interlevel_music_channel=Sound_play(m_SFXM->get("levelclear"),m_music_volume); ^ state_interlevel.cpp:66:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_interlevel_music_channel=Sound_play_continuous(m_SFXM->get("cutscene"),m_music_volume); ^ state_interlevel.cpp: In member function 'void TheGooniesApp::interlevel_draw()': state_interlevel.cpp:144:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_box_c("font",tmp,&x,&y,&dx,&dy,-2); ^ state_interlevel.cpp:148:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(x,150,0,0,2,"font",tmp,-2); ^ state_interlevel.cpp:153:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(320,150,0,0,2,"font",tmp,-2); ^ state_interlevel.cpp:160:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_box_c("font",tmp,&x,&y,&dx,&dy,-2); ^ state_interlevel.cpp:164:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(x,150,0,0,2,"font",tmp,-2); ^ state_interlevel.cpp:195:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-character-r1")->draw(1,1,1,f,512-(300-m_interlevel_cycle)*2.5f,296,0,0,1); ^ state_interlevel.cpp:196:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-character-r2")->draw(1,1,1,f,512-(300-m_interlevel_cycle)*2.5f,296,0,0,1); ^ state_interlevel.cpp:197:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==2) m_GLTM->get("intro-character-r1")->draw(1,1,1,f,512-(300-m_interlevel_cycle)*2.5f,296,0,0,1); ^ state_interlevel.cpp:198:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==3) m_GLTM->get("intro-character-r3")->draw(1,1,1,f,512-(300-m_interlevel_cycle)*2.5f,296,0,0,1); ^ state_interlevel.cpp:203:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("intro-character-standing-l")->draw(1,1,1,f,512,296,0,0,1); ^ state_interlevel.cpp:209:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-character-knocked1")->draw(1,1,1,f,512,296,0,0,1); ^ state_interlevel.cpp:210:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-character-knocked2")->draw(1,1,1,f,512,296,0,0,1); ^ state_interlevel.cpp:215:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("intro-character-standing-l")->draw(1,1,1,f,512,296,0,0,1); ^ state_interlevel.cpp:221:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-character-l1")->draw(1,1,1,f,512-(m_interlevel_cycle-1900)*2.5f,296,0,0,1); ^ state_interlevel.cpp:222:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-character-l2")->draw(1,1,1,f,512-(m_interlevel_cycle-1900)*2.5f,296,0,0,1); ^ state_interlevel.cpp:223:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==2) m_GLTM->get("intro-character-l1")->draw(1,1,1,f,512-(m_interlevel_cycle-1900)*2.5f,296,0,0,1); ^ state_interlevel.cpp:224:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==3) m_GLTM->get("intro-character-l3")->draw(1,1,1,f,512-(m_interlevel_cycle-1900)*2.5f,296,0,0,1); ^ state_interlevel.cpp:233:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-kid-r1")->draw(1,1,1,f,(464-i*60)-(500+i*150-m_interlevel_cycle)*2.5f,312,0,0,1); ^ state_interlevel.cpp:234:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-kid-r2")->draw(1,1,1,f,(464-i*60)-(500+i*150-m_interlevel_cycle)*2.5f,312,0,0,1); ^ state_interlevel.cpp:239:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("intro-kid-standing")->draw(1,1,1,f,float(464-i*60),312,0,0,1); ^ state_interlevel.cpp:248:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-fratelli-l1")->draw(1,1,1,f,544+(1500-m_interlevel_cycle)*2.5f,296,0,0,1); ^ state_interlevel.cpp:249:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-fratelli-l2")->draw(1,1,1,f,544+(1500-m_interlevel_cycle)*2.5f,296,0,0,1); ^ state_interlevel.cpp:254:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("intro-fratelli-l1")->draw(1,1,1,f,544,296,0,0,1); ^ state_interlevel.cpp:260:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-fratelli-l1")->draw(1,1,1,f,544-(m_interlevel_cycle-1600)*2.5f,296,0,0,1); ^ state_interlevel.cpp:261:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-fratelli-l2")->draw(1,1,1,f,544-(m_interlevel_cycle-1600)*2.5f,296,0,0,1); ^ state_interlevel.cpp:266:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("intro-fratelli-r1")->draw(1,1,1,f,94,296,0,0,1); ^ state_interlevel.cpp:272:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-fratelli-l1")->draw(1,1,1,f,94-(m_interlevel_cycle-1900)*2.5f,296,0,0,1); ^ state_interlevel.cpp:273:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-fratelli-l2")->draw(1,1,1,f,94-(m_interlevel_cycle-1900)*2.5f,296,0,0,1); ^ state_interlevel.cpp:288:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *passwords[5]={"goonies","mr sloth","goon docks","doubloon","one eyed willy"}; ^ state_interlevel.cpp:288:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_interlevel.cpp:288:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_interlevel.cpp:288:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_interlevel.cpp:288:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_interlevel.cpp:299:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(x,150+i*48,0,0,1,"font",tmp[i],-2); ^ state_interlevel.cpp:304:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(320,150+i*48,0,0,1,"font",tmp[i],-2); ^ state_interlevel.cpp:313:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(x,150+i*48,0,0,1,"font",tmp[i],-2); ^ state_credits.cpp: In member function 'void TheGooniesApp::credits_draw()': state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ""}; ^ state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:133:10: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_credits.cpp:143:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("bg_copyright_2")->draw(0,0,0,0,1); ^ state_credits.cpp:147:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (text[i][0]=='.') font_print_c(320,start_y+i*45,0,0,0.8f,"font",text[i]+1,-2); ^ state_credits.cpp:148:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] else font_print_c(320,start_y+i*45,0,0,1,"font_hl",text[i]+1,-2); ^ state_credits.cpp:146:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if ((start_y+i*30)<500) ^ state_credits.cpp:152:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("bg_copyright")->draw(1,1,1,1-f,0,0,0,0,1); ^ state_credits.cpp:153:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get_smooth("title_logo")->draw(1,1,1,1-f,46,17,0,0,1); ^ state_title.cpp: In member function 'int TheGooniesApp::title_cycle(KEYBOARDSTATE*)': state_title.cpp:51:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_title_music_channel=Sound_play_continuous(m_SFXM->get("title"),m_music_volume); ^ state_title.cpp:138:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_select"),m_sfx_volume); ^ state_title.cpp:147:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_select"),m_sfx_volume); ^ state_title.cpp:154:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_move"),m_sfx_volume); ^ state_title.cpp:161:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_move"),m_sfx_volume); ^ state_title.cpp:172:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_select"),m_sfx_volume); ^ state_title.cpp:178:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_select"),m_sfx_volume); ^ state_title.cpp:185:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_select"),m_sfx_volume); ^ state_title.cpp:192:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_select"),m_sfx_volume); ^ state_title.cpp:232:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_select"),m_sfx_volume); ^ state_title.cpp:239:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_select"),m_sfx_volume); ^ state_title.cpp:247:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_move"),m_sfx_volume); ^ state_title.cpp:258:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_move"),m_sfx_volume); ^ state_title.cpp:272:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_select"),m_sfx_volume); ^ state_title.cpp:278:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_move"),m_sfx_volume); ^ state_title.cpp:284:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_move"),m_sfx_volume); ^ state_title.cpp:307:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_select"),m_sfx_volume); ^ state_title.cpp:325:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_select"),m_sfx_volume); ^ state_title.cpp:341:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_select"),m_sfx_volume); ^ state_title.cpp:344:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_select"),m_sfx_volume); ^ state_title.cpp:357:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_select"),m_sfx_volume); ^ state_title.cpp:363:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_select"),m_sfx_volume); ^ state_title.cpp:387:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_select"),m_sfx_volume); ^ state_title.cpp:393:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_move"),m_sfx_volume); ^ state_title.cpp:399:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_move"),m_sfx_volume); ^ state_title.cpp:408:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(m_SFXM->get("sfx/cursor_select"),m_sfx_volume); ^ state_title.cpp: In member function 'void TheGooniesApp::title_draw()': state_title.cpp:438:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("bg_copyright"); // this line is just to freload the background ^ state_title.cpp:442:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("bg_copyright")->draw(1,1,1,f); ^ state_title.cpp:451:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get_smooth("title_logo")->draw((-5600)*(1-f)+46*f,(-850)*(1-f)+17*f,0,0,16*(1-f)+1*f); ^ state_title.cpp:484:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *menu0_options[5]={"start","how to play","options","credits","quit"}; ^ state_title.cpp:484:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:484:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:484:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:484:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:486:150: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *menu2_options[7]={"fullscreen/window","sfx volume maximum ","music volume maximum","ambience maximum","difficulty normal","keyboard","back"}; ^ state_title.cpp:486:150: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:486:150: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:486:150: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:486:150: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:486:150: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:486:150: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:487:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *menu3_options[8]={"up/jump","right","down","left","punch","pause","quit","back"}; ^ state_title.cpp:487:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:487:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:487:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:487:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:487:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:487:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:487:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:489:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("bg_copyright")->draw(0,0,0,0,1); ^ state_title.cpp:490:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get_smooth("title_logo")->draw(46,17,0,0,1); ^ state_title.cpp:501:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(320,menu_y+i*38,0,0,f,"font_hl",menu0_options[i],-4); ^ state_title.cpp:502:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_box_c("font_hl",menu0_options[i],&x,&y,&dx,&dy,-4); ^ state_title.cpp:503:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->set_hotspot(m_GLTM->get("skull_cursor")->get_dx()/2, ^ state_title.cpp:503:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->set_hotspot(m_GLTM->get("skull_cursor")->get_dx()/2, ^ state_title.cpp:504:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->get_dy()/2); ^ state_title.cpp:505:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->draw(float(320+(x-24)),float(menu_y+i*38),0,m_state_cycle*4.0f,f); ^ state_title.cpp:506:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->draw(float(320+(x+dx+24)),float(menu_y+i*38),0,-m_state_cycle*4.0f,f); ^ state_title.cpp:508:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(320,menu_y+i*38,0,0,f,"font",menu0_options[i],-2); ^ state_title.cpp:516:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(320,menu_y+1*38,0,0,f,"font","enter password:",-2); ^ state_title.cpp:516:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_title.cpp:518:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(320,menu_y+3*38,0,0,f,"font_hl",m_title_password,-4); ^ state_title.cpp:519:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_box_c("font_hl",m_title_password,&x,&y,&dx,&dy,-4); ^ state_title.cpp:520:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->set_hotspot(m_GLTM->get("skull_cursor")->get_dx()/2, ^ state_title.cpp:520:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->set_hotspot(m_GLTM->get("skull_cursor")->get_dx()/2, ^ state_title.cpp:521:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->get_dy()/2); ^ state_title.cpp:522:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->draw(float(320+(x+dx+24)),float(menu_y+3*38),0,-m_state_cycle*4.0f,f); ^ state_title.cpp:562:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(320,(int)(menu_y+i*38*factor),0,0,f*factor,"font_hl",tmp,-4); ^ state_title.cpp:563:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_box_c("font_hl",tmp,&x,&y,&dx,&dy,-4); ^ state_title.cpp:564:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->set_hotspot(m_GLTM->get("skull_cursor")->get_dx()/2, ^ state_title.cpp:564:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->set_hotspot(m_GLTM->get("skull_cursor")->get_dx()/2, ^ state_title.cpp:565:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->get_dy()/2); ^ state_title.cpp:566:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->draw(320+(x-24)*factor,menu_y+i*38*factor,0,m_state_cycle*4.0f,f*factor); ^ state_title.cpp:567:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->draw(320+(x+dx+24)*factor,menu_y+i*38*factor,0,-m_state_cycle*4.0f,f*factor); ^ state_title.cpp:569:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(320,(int)(menu_y+i*38*factor),0,0,f*factor,"font",tmp,-2); ^ state_title.cpp:591:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(320,(int)(menu_y+i*38*factor),0,0,f*factor,"font_hl",tmp,-4); ^ state_title.cpp:592:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_box_c("font_hl",tmp,&x,&y,&dx,&dy,-4); ^ state_title.cpp:593:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->set_hotspot(m_GLTM->get("skull_cursor")->get_dx()/2, ^ state_title.cpp:593:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->set_hotspot(m_GLTM->get("skull_cursor")->get_dx()/2, ^ state_title.cpp:594:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->get_dy()/2); ^ state_title.cpp:595:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->draw(320+(x-24)*factor,menu_y+i*38*factor,0,m_state_cycle*4.0f,f*factor); ^ state_title.cpp:596:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("skull_cursor")->draw(320+(x+dx+24)*factor,menu_y+i*38*factor,0,-m_state_cycle*4.0f,f*factor); ^ state_title.cpp:598:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(320,(int)(menu_y+i*38*factor),0,0,f*factor,"font",tmp,-2); ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c state_howtoplay.cpp -o state_howtoplay.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c state_msx.cpp -o state_msx.o state_titleanimation.cpp: In member function 'void TheGooniesApp::titleanimation_draw()': state_titleanimation.cpp:89:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("bg_copyright")->draw(0,0,0,0,1); ^ state_titleanimation.cpp:90:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get_smooth("title_logo")->draw(46,17,0,0,1); ^ state_titleanimation.cpp:132:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-character-r1")->draw(1,1,1,f,512-(300-m_titleanimation_cycle)*2.5f,296,0,0,1); ^ state_titleanimation.cpp:133:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-character-r2")->draw(1,1,1,f,512-(300-m_titleanimation_cycle)*2.5f,296,0,0,1); ^ state_titleanimation.cpp:134:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==2) m_GLTM->get("intro-character-r1")->draw(1,1,1,f,512-(300-m_titleanimation_cycle)*2.5f,296,0,0,1); ^ state_titleanimation.cpp:135:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==3) m_GLTM->get("intro-character-r3")->draw(1,1,1,f,512-(300-m_titleanimation_cycle)*2.5f,296,0,0,1); ^ state_titleanimation.cpp:140:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("intro-character-standing-l")->draw(1,1,1,f,512,296,0,0,1); ^ state_titleanimation.cpp:146:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-character-knocked1")->draw(1,1,1,f,512,296,0,0,1); ^ state_titleanimation.cpp:147:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-character-knocked2")->draw(1,1,1,f,512,296,0,0,1); ^ state_titleanimation.cpp:152:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("intro-character-standing-l")->draw(1,1,1,f,512,296,0,0,1); ^ state_titleanimation.cpp:158:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-character-l1")->draw(1,1,1,f,512-(m_titleanimation_cycle-1900)*2.5f,296,0,0,1); ^ state_titleanimation.cpp:159:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-character-l2")->draw(1,1,1,f,512-(m_titleanimation_cycle-1900)*2.5f,296,0,0,1); ^ state_titleanimation.cpp:160:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==2) m_GLTM->get("intro-character-l1")->draw(1,1,1,f,512-(m_titleanimation_cycle-1900)*2.5f,296,0,0,1); ^ state_titleanimation.cpp:161:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==3) m_GLTM->get("intro-character-l3")->draw(1,1,1,f,512-(m_titleanimation_cycle-1900)*2.5f,296,0,0,1); ^ state_titleanimation.cpp:170:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-kid-r1")->draw(1,1,1,f,(464-i*60)-(500+i*150-m_titleanimation_cycle)*2.5f,312,0,0,1); ^ state_titleanimation.cpp:171:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-kid-r2")->draw(1,1,1,f,(464-i*60)-(500+i*150-m_titleanimation_cycle)*2.5f,312,0,0,1); ^ state_titleanimation.cpp:176:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("intro-kid-standing")->draw(1,1,1,f,float(464-i*60),312,0,0,1); ^ state_titleanimation.cpp:185:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-fratelli-l1")->draw(1,1,1,f,544+(1500-m_titleanimation_cycle)*2.5f,296,0,0,1); ^ state_titleanimation.cpp:186:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-fratelli-l2")->draw(1,1,1,f,544+(1500-m_titleanimation_cycle)*2.5f,296,0,0,1); ^ state_titleanimation.cpp:191:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("intro-fratelli-l1")->draw(1,1,1,f,544,296,0,0,1); ^ state_titleanimation.cpp:197:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-fratelli-l1")->draw(1,1,1,f,544-(m_titleanimation_cycle-1600)*2.5f,296,0,0,1); ^ state_titleanimation.cpp:198:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-fratelli-l2")->draw(1,1,1,f,544-(m_titleanimation_cycle-1600)*2.5f,296,0,0,1); ^ state_titleanimation.cpp:203:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("intro-fratelli-r1")->draw(1,1,1,f,94,296,0,0,1); ^ state_titleanimation.cpp:209:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==0) m_GLTM->get("intro-fratelli-l1")->draw(1,1,1,f,94-(m_titleanimation_cycle-1900)*2.5f,296,0,0,1); ^ state_titleanimation.cpp:210:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (sp==1) m_GLTM->get("intro-fratelli-l2")->draw(1,1,1,f,94-(m_titleanimation_cycle-1900)*2.5f,296,0,0,1); ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c TheGoonies.cpp -o TheGoonies.o state_howtoplay.cpp: In member function 'void TheGooniesApp::howtoplay_draw()': state_howtoplay.cpp:158:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,150,0,0,0.5f,"font_hl","move sloth around using",-2); ^ state_howtoplay.cpp:158:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:159:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,170,0,0,0.5f,"font_hl","the right and left key",-2); ^ state_howtoplay.cpp:159:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:162:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,150,0,0,0.5f,"font_hl","press up to jump",-2); ^ state_howtoplay.cpp:162:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:165:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,150,0,0,0.5f,"font_hl","pick up keys by",-2); ^ state_howtoplay.cpp:165:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:166:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,170,0,0,0.5f,"font_hl","walking over them",-2); ^ state_howtoplay.cpp:166:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:169:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,150,0,0,0.5f,"font_hl","climb vines by walking",-2); ^ state_howtoplay.cpp:169:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:170:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,170,0,0,0.5f,"font_hl","to them and using the up",-2); ^ state_howtoplay.cpp:170:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:171:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,190,0,0,0.5f,"font_hl","and down keys",-2); ^ state_howtoplay.cpp:171:62: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:175:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,150,0,0,0.5f,"font_hl","avoid contact with enemies",-2); ^ state_howtoplay.cpp:175:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:176:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,170,0,0,0.5f,"font_hl","to prevent damage",-2); ^ state_howtoplay.cpp:176:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:180:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,150,0,0,0.5f,"font_hl","make sloth attack using",-2); ^ state_howtoplay.cpp:180:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:181:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,170,0,0,0.5f,"font_hl","the fire key",-2); ^ state_howtoplay.cpp:181:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:185:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,150,0,0,0.5f,"font_hl","kill enemies by punching",-2); ^ state_howtoplay.cpp:185:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:186:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,170,0,0,0.5f,"font_hl","them",-2); ^ state_howtoplay.cpp:186:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:190:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,150,0,0,0.5f,"font_hl","locks can be opened if",-2); ^ state_howtoplay.cpp:190:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:191:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,170,0,0,0.5f,"font_hl","you have a key",-2); ^ state_howtoplay.cpp:191:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:195:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,150,0,0,0.5f,"font_hl","rescue the seven goonies",-2); ^ state_howtoplay.cpp:195:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:196:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,170,0,0,0.5f,"font_hl","to complete a level",-2); ^ state_howtoplay.cpp:196:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:200:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,150,0,0,0.5f,"font_hl","you can enter skull doors",-2); ^ state_howtoplay.cpp:200:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:201:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(450,170,0,0,0.5f,"font_hl","with the up key",-2); ^ state_howtoplay.cpp:201:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:205:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(430,340,0,0,0.5f,"font_hl","once you have rescued the",-2); ^ state_howtoplay.cpp:205:74: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:206:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(430,360,0,0,0.5f,"font_hl","seven goonies, head to the",-2); ^ state_howtoplay.cpp:206:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:207:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(430,380,0,0,0.5f,"font_hl","exit door and enter",-2); ^ state_howtoplay.cpp:207:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] state_howtoplay.cpp:212:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("bg_copyright")->draw(1,1,1,1-f,0,0,0,0,1); ^ state_howtoplay.cpp:213:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get_smooth("title_logo")->draw(1,1,1,1-f,46,17,0,0,1); ^ state_howtoplay.cpp:217:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("bg_copyright")->draw(0,0,0,0,1); ^ state_howtoplay.cpp:218:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get_smooth("title_logo")->draw(46,17,0,0,1); ^ state_msx.cpp: In member function 'void TheGooniesApp::msx_draw(SFXManager*)': state_msx.cpp:85:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("msx")->draw(110,274-160*((m_state_cycle-100)/50.0F),0,0,1); ^ state_msx.cpp:89:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("msx")->draw(110,114,0,0,1); ^ state_msx.cpp:101:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("msx-text1")->draw(160,282,0,0,1); ^ state_msx.cpp:105:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("msx-text1")->draw(160,282,0,0,1); ^ state_msx.cpp:118:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("msx-text2")->draw(160,302,0,0,1); ^ state_msx.cpp:122:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_GLTM->get("msx-text2")->draw(160,302,0,0,1); ^ state_msx.cpp:128:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/msxbeep"),m_sfx_volume); ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c TheGooniesApp.cpp -o TheGooniesApp.o c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include -c main.cpp -o main.o main.cpp:44:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *application_name="The Goonies"; ^ TheGoonies.cpp: In constructor 'TheGoonies::TheGoonies(int, int, int, int, int, int, int, int, GLTManager*)': TheGoonies.cpp:64:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *s=new Symbol("GO_character"); ^ TheGoonies.cpp:66:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GObject *o=m_current_map->m_map->get_object("GO_entrydoor"); ^ TheGoonies.cpp:160:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m->m_map->collision_with_background(GLTM->get("ob_yellowguy-l1"),320,i,GLTM) && ^ TheGoonies.cpp:161:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] !m->m_map->collision_with_background(GLTM->get("ob_yellowguy-l1"),320,i-2,GLTM)) y=i-8; ^ TheGoonies.cpp: In member function 'void TheGoonies::level_change(int, int, int, GLTManager*)': TheGoonies.cpp:205:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Symbol *s=new Symbol("GO_character"); ^ TheGoonies.cpp:207:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GObject *o=m_current_map->m_map->get_object("GO_entrydoor"); ^ TheGoonies.cpp:268:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m->m_map->collision_with_background(GLTM->get("ob_yellowguy-l1"),320,i,GLTM) && ^ TheGoonies.cpp:269:73: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] !m->m_map->collision_with_background(GLTM->get("ob_yellowguy-l1"),320,i-2,GLTM)) y=i-8; ^ TheGoonies.cpp: In member function 'bool TheGoonies::cycle(VirtualController*, GLTManager*, SFXManager*)': TheGoonies.cpp:354:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/pause"),m_sfx_volume); ^ TheGoonies.cpp:391:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/pause"),m_sfx_volume); ^ TheGoonies.cpp:525:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] List *l=m_current_map->m_map->get_objects("GO_skulldoor"); ^ TheGoonies.cpp:553:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_character->set_camefrom("left"); ^ TheGoonies.cpp:571:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_character->set_camefrom("right"); ^ TheGoonies.cpp:589:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_character->set_camefrom("up"); ^ TheGoonies.cpp:607:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_character->set_camefrom("down"); ^ TheGoonies.cpp:614:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_character->player_has("GO_bluebadbook")) m_character->m_bluebadbook_nghosts=2; ^ In file included from randomc.h:84:0, from TheGoonies.cpp:27: TheGoonies.cpp:627:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] assert(!m_current_map->m_map->get_object("GO_fratelli")); ^ TheGoonies.cpp:632:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Sound_play(SFXM->get("sfx/player_critical"),m_sfx_volume); ^ TheGoonies.cpp: In member function 'void TheGoonies::draw(GLTManager*)': TheGoonies.cpp:832:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(320,150,0,0,1,"font_hl","game paused"); ^ TheGoonies.cpp:832:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:835:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(320,210,0,0,0.5f,"font",tmp); ^ TheGoonies.cpp:838:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(320,230,0,0,0.5f,"font",tmp); ^ TheGoonies.cpp:926:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GLTM->get("hud-top")->draw(0,0,0,0,1); ^ TheGoonies.cpp:927:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GLTM->get("hud-bottom")->draw(0,421,0,0,1); ^ TheGoonies.cpp:938:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GLTM->get("hud-vitality-critical")->draw(1,1,1,f,float(i),9,0,0,1); ^ TheGoonies.cpp:940:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GLTM->get("hud-vitality")->draw(float(i),9,0,0,1); ^ TheGoonies.cpp:951:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] GLTM->get("hud-experience")->draw(float(i),24,0,0,1); ^ TheGoonies.cpp:959:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print(566,24,0,0,1,"font_hud",tmp,-2,true); ^ TheGoonies.cpp:966:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print(19,24,0,0,1,"font_hud",tmp,-2); ^ TheGoonies.cpp:973:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print(148,24,0,0,1,"font_hud",tmp,-2); ^ TheGoonies.cpp:998:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (m_character->has_key()) GLTM->get("ob_key")->draw(417,451,0,0,1); ^ TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1031:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGoonies.cpp:1060:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGooniesApp.cpp: In constructor 'TheGooniesApp::TheGooniesApp()': TheGooniesApp.cpp:87:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] m_SFXM->cache("sfx"); ^ TheGooniesApp.cpp:112:155: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_extract("font","/usr/local/share/goonies/graphics/font.png",10+13+13+10+14+8,"1234567890abcdefghijklmnopqrstuvwxyzXXXXXXXXXX-./:\"#$%!?:;.,'`[]{|}ñ"); ^ TheGooniesApp.cpp:112:155: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGooniesApp.cpp:112:155: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGooniesApp.cpp:113:170: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_extract("font_hl","/usr/local/share/goonies/graphics/font_highlighted.png",10+13+13+10+14+8,"1234567890abcdefghijklmnopqrstuvwxyzXXXXXXXXXX-./:\"#$%!?:;.,'`[]{|}ñ"); ^ TheGooniesApp.cpp:113:170: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGooniesApp.cpp:113:170: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGooniesApp.cpp:114:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_extract("font_hud","/usr/local/share/goonies/graphics/font_hud.png",11,"0123456789-"); ^ TheGooniesApp.cpp:114:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGooniesApp.cpp:114:91: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] TheGooniesApp.cpp: In member function 'void TheGooniesApp::draw(int, int)': TheGooniesApp.cpp:302:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] font_print_c(320,460,0,0,0.5f,"font",tmp,-2); ^ c++ -pipe -O2 -fno-strict-aliasing -Wall `/usr/local/bin/sdl-config --cflags` -I/usr/local/include `/usr/local/bin/sdl-config --libs` -L/usr/local/lib -lSDL_image -lSDL_mixer -lGL -lGLU -lm debug.o 2DCMC.o ranrotb.o geometrics.o auxiliar.o font_extractor.o keyboardstate.o sound.o SFXManager.o SDL_glutaux.o Symbol.o Vector.o GObject.o GLTile.o GLTManager.o PlacedGLTile.o GMap.o GMapLayer.o GooniesScript.o GO_skull.o GO_rope.o GO_skulldoor.o GO_water.o GO_wateropening.o GO_cagedoor.o GO_character.o GO_drop.o GO_dropgenerator.o GO_enemy.o GO_entrydoor.o GO_fallingrock.o GO_jumpingskull.o GO_key.o GObjectCreator.o GO_bigrock.o GO_skeleton.o GO_bat.o GO_fratelli.o GO_bullet.o GO_pipe_water.o GO_item.o GO_trickyskull.o GO_bone.o GO_exitdoor.o GO_lava.o GO_closingwall.o GO_fallingwater.o GO_watersplash.o GO_coin.o GO_flame.o GO_ghost.o GO_musicalnote.o state_splash.o state_konami.o state_gameover.o state_disclaimer.o state_endsequence.o state_game.o state_gamestart.o state_interlevel.o state_title.o state_titleanimation.o state_credits.o state_howtoplay.o state_msx.o TheGoonies.o TheGooniesApp.o main.o -o goonies o If there are no errors, the game compiled succesfully gmake[1]: Leaving directory '/wrkdirs/games/goonies/goonies_r1-0-1/src' =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for goonies-1.0.1_10 ===> Generating temporary packing list install -s -m 555 /wrkdirs/games/goonies/goonies_r1-0-1/src/goonies /wrkdirs/games/goonies/stage/usr/local/bin/ /bin/mkdir -p /wrkdirs/games/goonies/stage/usr/local/share/goonies cd /wrkdirs/games/goonies/goonies_r1-0-1 && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null 2>&1) && /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; && /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- 'sound graphics maps' /wrkdirs/games/goonies/stage/usr/local/share/goonies/ /bin/mkdir -p /wrkdirs/games/goonies/stage/usr/local/share/doc/goonies install -m 0644 /wrkdirs/games/goonies/goonies_r1-0-1/docs/* /wrkdirs/games/goonies/stage/usr/local/share/doc/goonies/ ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for goonies-1.0.1_10 file sizes/checksums [716]: ........ done packing files [716]: ........ done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for goonies-1.0.1_10 build of games/goonies ended at Wed Oct 5 10:00:58 PDT 2016 build time: 00:00:41