------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> The following configuration options are available for excido-0.1.5c_17: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/excido XDG_CONFIG_HOME=/construction/games/excido XDG_CACHE_HOME=/construction/games/excido/.cache HOME=/construction/games/excido TMPDIR="/tmp" PATH=/construction/games/excido/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/excido/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/construction/games/excido XDG_CONFIG_HOME=/construction/games/excido XDG_CACHE_HOME=/construction/games/excido/.cache HOME=/construction/games/excido TMPDIR="/tmp" PATH=/construction/games/excido/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/games/excido/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local 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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/games/excido/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- PORTDOCS="" OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/excido" EXAMPLESDIR="share/examples/excido" DATADIR="share/excido" WWWDIR="www/excido" ETCDIR="etc/excido" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/excido DOCSDIR=/usr/local/share/doc/excido EXAMPLESDIR=/usr/local/share/examples/excido WWWDIR=/usr/local/www/excido ETCDIR=/usr/local/etc/excido SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.pkg Installing /packages/All/gettext-runtime-0.21.1.pkg Installing /packages/All/gmake-4.3_2.pkg Installing /packages/All/ncurses-6.4.pkg ===== Message from ncurses-6.4: -- To get the terminfo database please install the terminfo-db package: pkg install terminfo-db Installing /packages/All/aalib-1.4.r5_13.pkg ===== Message from aalib-1.4.r5_13: -- ===> 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://docs.freebsd.org/en/articles/contributing/#ports-contributing Installing /packages/All/libXau-1.0.9.pkg Installing /packages/All/xorgproto-2022.1_1.pkg Installing /packages/All/libXdmcp-1.1.3.pkg Installing /packages/All/libxcb-1.15_1.pkg Installing /packages/All/libX11-1.8.6,1.pkg Installing /packages/All/libXext-1.3.4,1.pkg Installing /packages/All/libglvnd-1.6.0.pkg Installing /packages/All/libGLU-9.0.2_2.pkg Installing /packages/All/libXrender-0.9.10_2.pkg Installing /packages/All/libXrandr-1.5.2.pkg Installing /packages/All/sdl-1.2.15_15,2.pkg ===== Message from sdl-1.2.15_15,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". Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. Installing /packages/All/readline-8.2.1.pkg Installing /packages/All/physfs-3.0.2.pkg Installing /packages/All/libmysofa-1.3.1.pkg Installing /packages/All/openal-soft-1.21.1_3.pkg Installing /packages/All/freealut-1.1.0_4.pkg Installing /packages/All/png-1.6.39.pkg Installing /packages/All/libdeflate-1.18.pkg Installing /packages/All/jbigkit-2.1_1.pkg Installing /packages/All/liblz4-1.9.4,1.pkg Installing /packages/All/zstd-1.5.5.pkg Installing /packages/All/jpeg-turbo-2.1.5.1.pkg Installing /packages/All/tiff-4.4.0_1.pkg Installing /packages/All/giflib-5.2.1.pkg Installing /packages/All/webp-1.3.0_1.pkg Installing /packages/All/sdl_image-1.2.12_12.pkg Installing /packages/All/brotli-1.0.9,1.pkg Installing /packages/All/freetype2-2.12.1_2.pkg ===== Message from freetype2-2.12.1_2: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). Installing /packages/All/sdl_ttf-2.0.11_8.pkg SUCCEEDED 00:00:07 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- ===> NOTICE: The excido 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://docs.freebsd.org/en/articles/contributing/#ports-contributing SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> excido-0.1.5c_17 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> NOTICE: The excido 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> excido-0.1.5c_17 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by excido-0.1.5c_17 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> NOTICE: The excido 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> excido-0.1.5c_17 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by excido-0.1.5c_17 for building => SHA256 Checksum OK for excido-0.1.5c-src.tar.bz2. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> NOTICE: The excido 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> excido-0.1.5c_17 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by excido-0.1.5c_17 for building ===> Extracting for excido-0.1.5c_17 => SHA256 Checksum OK for excido-0.1.5c-src.tar.bz2. Extracted Memory Use: 3.77M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for excido-0.1.5c_17 ===> Applying ports patches for excido-0.1.5c_17 from /xports/games/excido/files SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> excido-0.1.5c_17 depends on package: gmake>=4.3 - found ===> excido-0.1.5c_17 depends on file: /usr/local/bin/sdl-config - found ===> excido-0.1.5c_17 depends on package: xorgproto>=0 - found ===> excido-0.1.5c_17 depends on package: xorgproto>=0 - found ===> excido-0.1.5c_17 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> excido-0.1.5c_17 depends on shared library: libphysfs.so - found (/usr/local/lib/libphysfs.so) ===> excido-0.1.5c_17 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> excido-0.1.5c_17 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> excido-0.1.5c_17 depends on shared library: libopenal.so.1 - found (/usr/local/lib/libopenal.so.1) ===> excido-0.1.5c_17 depends on shared library: libalut.so.0 - found (/usr/local/lib/libalut.so.0) ===> excido-0.1.5c_17 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> excido-0.1.5c_17 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> excido-0.1.5c_17 depends on shared library: libSDL_ttf.so - found (/usr/local/lib/libSDL_ttf.so) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> excido-0.1.5c_17 depends on package: gmake>=4.3 - found ===> excido-0.1.5c_17 depends on file: /usr/local/bin/sdl-config - found ===> excido-0.1.5c_17 depends on package: xorgproto>=0 - found ===> excido-0.1.5c_17 depends on package: xorgproto>=0 - found ===> excido-0.1.5c_17 depends on file: /usr/local/bin/ccache - found ===> excido-0.1.5c_17 depends on shared library: libphysfs.so - found (/usr/local/lib/libphysfs.so) ===> excido-0.1.5c_17 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> excido-0.1.5c_17 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> excido-0.1.5c_17 depends on shared library: libopenal.so.1 - found (/usr/local/lib/libopenal.so.1) ===> excido-0.1.5c_17 depends on shared library: libalut.so.0 - found (/usr/local/lib/libalut.so.0) ===> excido-0.1.5c_17 depends on shared library: libSDL_image.so - found (/usr/local/lib/libSDL_image.so) ===> excido-0.1.5c_17 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) ===> excido-0.1.5c_17 depends on shared library: libSDL_ttf.so - found (/usr/local/lib/libSDL_ttf.so) ===> Configuring for excido-0.1.5c_17 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for excido-0.1.5c_17 gmake[1]: Entering directory '/construction/games/excido/excido-0.1.5c' c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/Arena.o -c src/Arena.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/Camera.o -c src/Camera.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/Config.o -c src/Config.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/Events.o -c src/Events.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/Game.o -c src/Game.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/Menu.o -c src/Menu.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/MenuItem.o -c src/MenuItem.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/Mesh.o -c src/Mesh.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/Mine.o -c src/Mine.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/Missile.o -c src/Missile.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/Obstacle.o -c src/Obstacle.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/Particle.o -c src/Particle.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/Player.o -c src/Player.cpp In file included from src/Game.cpp:8: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/Game.cpp:8: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 src/Game.cpp: In member function 'int Game::Happen()': src/Game.cpp:67:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("arenamesh.png"); ^ src/Game.cpp:68:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("arenabase.png"); ^ src/Game.cpp:69:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("arenawall.png"); ^ src/Game.cpp:70:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("skyup.png"); ^ src/Game.cpp:71:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("skydown.png"); ^ src/Game.cpp:72:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("skyleft.png"); ^ src/Game.cpp:73:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("skyright.png"); ^ src/Game.cpp:74:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("skyback.png"); ^ src/Game.cpp:75:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("skyfront.png"); ^ src/Game.cpp:77:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("shield.png"); ^ src/Game.cpp:78:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("explosion1.png"); ^ src/Game.cpp:79:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("missiletrail.png"); ^ src/Game.cpp:80:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("shadow.png"); ^ src/Game.cpp:82:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("driveparticle.png"); ^ src/Game.cpp:83:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("lifeicon.png"); ^ src/Game.cpp:84:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("skyscraper.png"); ^ src/Game.cpp:85:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("menucursor.png"); ^ src/Game.cpp:86:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("smoke1.png"); ^ src/Game.cpp:87:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("powerupshell.png"); ^ src/Game.cpp:88:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("tracer.png"); ^ src/Game.cpp:89:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("muzzleflash.png"); ^ src/Game.cpp:90:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("halfdriveparticle.png"); ^ src/Game.cpp:96:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "mine.wav",NULL}; ^ src/Game.cpp:96:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Game.cpp:96:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Game.cpp:96:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Game.cpp:96:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Game.cpp:96:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Game.cpp:96:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Game.cpp:96:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Game.cpp:96:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Game.cpp:96:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Game.cpp:96:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Game.cpp:105:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadMesh("player.mesh"); ^ src/Game.cpp:106:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadMesh("ufo.mesh"); ^ src/Game.cpp:107:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadMesh("mine.mesh"); ^ src/Game.cpp: In member function 'void Game::ShowMenu()': src/Game.cpp:458:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char* labels[]={"Continue","Volume:","Abort game","Exit Excido",NULL}; ^ src/Game.cpp:458:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Game.cpp:458:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Game.cpp:458:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Game.cpp: In member function 'void Game::GameOver(int)': src/Game.cpp:505:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ src/Game.cpp:505:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Game.cpp:505:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Game.cpp:515:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->LoadTexture("menuback.png"); ^ src/Game.cpp:517:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UnLoadTexture("menuback.png"); ^ src/Game.cpp:521:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char* labels[]={"Game over!",NULL}; ^ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/PowerUp.o -c src/PowerUp.cpp In file included from src/Particle.cpp:9: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/Particle.cpp:9: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/Quad.o -c src/Quad.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/ScoreBoard.o -c src/ScoreBoard.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/SoundCore.o -c src/SoundCore.cpp In file included from src/Particle.h:10, from src/Arena.cpp:10: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/Particle.h:10, from src/Arena.cpp:10: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/Texture.o -c src/Texture.cpp In file included from src/Menu.cpp:7: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/Menu.cpp:7: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 src/Menu.cpp: In member function 'void Menu::Draw()': src/Menu.cpp:187:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("menuback.png"); ^ src/Menu.cpp:222:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("menucursor.png"); ^ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/Ufo.o -c src/Ufo.cpp In file included from src/Particle.h:10, from src/Ufo.cpp:15: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/Particle.h:10, from src/Ufo.cpp:15: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 src/Ufo.cpp: In member function 'void Ufo::Live()': src/Ufo.cpp:55:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] soundid = game->sound->Play("ufo.wav",-1,&s,&v); ^ src/Ufo.cpp: In member function 'void Ufo::Pilot()': src/Ufo.cpp:210:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] game->sound->Play("spotted.wav",0,s,v); ^ src/Ufo.cpp: In member function 'void Ufo::Explode()': src/Ufo.cpp:364:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] game->sound->Play("ufodie.wav",0,s,v); ^ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/Vector.o -c src/Vector.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/Visual.o -c src/Visual.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include `/usr/local/bin/sdl-config --cflags` -DLINUX -DRELEASE -DDATADIR="\"/usr/local/share/excido/\"" -o src/main.o -c src/main.cpp In file included from src/Visual.cpp:8: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/Visual.cpp:8: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 src/Visual.cpp: In member function 'int Visual::LoadTexture(char*)': src/Visual.cpp:246:124: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] if(!filehandle) {printf("Visual::LoadTexture: PHYSFS_openRead failed on %s with error %s!\n",filename,PHYSFS_getLastError()); return 1;} ^ In file included from src/Visual.cpp:14: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Visual.cpp:246:124: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] if(!filehandle) {printf("Visual::LoadTexture: PHYSFS_openRead failed on %s with error %s!\n",filename,PHYSFS_getLastError()); return 1;} ^ In file included from src/Visual.cpp:14: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Visual.cpp:252:47: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] if(PHYSFS_read(filehandle,filedata,1,filesize)!=filesize){ ^ In file included from src/Visual.cpp:14: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ src/Visual.cpp:252:47: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] if(PHYSFS_read(filehandle,filedata,1,filesize)!=filesize){ ^ In file included from src/Visual.cpp:14: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ src/Visual.cpp:256:87: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/Visual.cpp:14: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Visual.cpp:256:87: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/Visual.cpp:14: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Visual.cpp:265:87: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/Visual.cpp:14: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Visual.cpp:265:87: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/Visual.cpp:14: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Visual.cpp:273:87: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/Visual.cpp:14: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Visual.cpp:273:87: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/Visual.cpp:14: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Visual.cpp:281:86: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/Visual.cpp:14: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Visual.cpp:281:86: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/Visual.cpp:14: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Visual.cpp: In member function 'void Visual::ShowLoading(float)': src/Visual.cpp:616:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] LoadTexture("loading.png"); ^ src/Visual.cpp:617:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(UseTexture("loading.png")==-1){ ^ src/Visual.cpp:654:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] UnLoadTexture("loading.png"); ^ In file included from src/Particle.h:10, from src/Visual.h:13, from src/Config.cpp:18: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/Particle.h:10, from src/Visual.h:13, from src/Config.cpp:18: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 src/Config.cpp: In member function 'void Config::Load(char*)': src/Config.cpp:144:64: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("Config::Load: PHYSFS says: %s\n",PHYSFS_getLastError()); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Config.cpp:144:64: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("Config::Load: PHYSFS says: %s\n",PHYSFS_getLastError()); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Config.cpp:155:58: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] filelength=PHYSFS_read(filehandle,wholefile,1,filelength); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ src/Config.cpp:155:58: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] filelength=PHYSFS_read(filehandle,wholefile,1,filelength); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ src/Config.cpp:166:82: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("Config::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Config.cpp:166:82: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("Config::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Config.cpp: In member function 'void Config::Dump(char*)': src/Config.cpp:244:64: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("Config::Dump: PHYSFS says: %s\n",PHYSFS_getLastError()); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Config.cpp:244:64: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("Config::Dump: PHYSFS says: %s\n",PHYSFS_getLastError()); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Config.cpp:249:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:249:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:251:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:251:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:253:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:253:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:255:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:255:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:257:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:257:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:259:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:259:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:261:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:261:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:263:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:263:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:265:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:265:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:267:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:267:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:269:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:269:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:271:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:271:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:273:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:273:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:275:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:275:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:277:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:277:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:279:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:279:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:281:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:281:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:283:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:283:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:285:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:285:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:287:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:287:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/Config.cpp:291:86: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Config.cpp:291:86: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/Config.cpp:12: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Config.cpp: In member function 'void Config::ConfigMenu(Visual*, SoundCore*)': src/Config.cpp:302:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char* labels[]={"Volume: ","Mouse Sensitivity: ","Show FPS: ","Fullscreen: ","Video Resolution","Back",NULL}; ^ src/Config.cpp:302:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Config.cpp:302:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Config.cpp:302:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Config.cpp:302:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Config.cpp:302:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Config.cpp: In member function 'void Config::ConfigMenuRes(Visual*)': src/Config.cpp:333:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char* labels[]={"640x480","800x600","960x720","1024x768","1280x960",NULL}; ^ src/Config.cpp:333:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Config.cpp:333:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Config.cpp:333:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/Config.cpp:333:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] In file included from src/MenuItem.cpp:8: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/MenuItem.cpp:8: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 In file included from src/Particle.h:10, from src/Mine.cpp:15: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/Particle.h:10, from src/Mine.cpp:15: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 src/Mine.cpp: In member function 'void Mine::Live()': src/Mine.cpp:49:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] soundid = game->sound->Play("mine.wav",-1,&s,&v); ^ src/Mine.cpp: In member function 'void Mine::Explode()': src/Mine.cpp:204:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] game->sound->Play("ufodie.wav",0,s,v); ^ In file included from src/Mesh.h:7, from src/Mesh.cpp:11: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/Mesh.h:7, from src/Mesh.cpp:11: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 src/Mesh.cpp: In member function 'int Mesh::Load(char*)': src/Mesh.cpp:58:62: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("Mesh::Load: PHYSFS says: %s\n",PHYSFS_getLastError()); ^ In file included from src/Mesh.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Mesh.cpp:58:62: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("Mesh::Load: PHYSFS says: %s\n",PHYSFS_getLastError()); ^ In file included from src/Mesh.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Mesh.cpp:69:58: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] filelength=PHYSFS_read(filehandle,wholefile,1,filelength); ^ In file included from src/Mesh.cpp:9: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ src/Mesh.cpp:69:58: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] filelength=PHYSFS_read(filehandle,wholefile,1,filelength); ^ In file included from src/Mesh.cpp:9: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ src/Mesh.cpp:80:80: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("Mesh::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/Mesh.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/Mesh.cpp:80:80: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("Mesh::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/Mesh.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/SoundCore.cpp: In member function 'int SoundCore::LoadSample(char*)': src/SoundCore.cpp:340:126: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] if(!filehandle) {printf("SoundCore::LoadSample: PHYSFS_openRead failed on %s with error %s!\n",filename,PHYSFS_getLastError()); return 1;} ^ In file included from src/SoundCore.cpp:15: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/SoundCore.cpp:340:126: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] if(!filehandle) {printf("SoundCore::LoadSample: PHYSFS_openRead failed on %s with error %s!\n",filename,PHYSFS_getLastError()); return 1;} ^ In file included from src/SoundCore.cpp:15: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/SoundCore.cpp:346:47: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] if(PHYSFS_read(filehandle,filedata,1,filesize)!=filesize){ ^ In file included from src/SoundCore.cpp:15: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ src/SoundCore.cpp:346:47: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] if(PHYSFS_read(filehandle,filedata,1,filesize)!=filesize){ ^ In file included from src/SoundCore.cpp:15: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ src/SoundCore.cpp:368:69: warning: 'void alutLoadWAVMemory(ALbyte*, ALenum*, void**, ALsizei*, ALsizei*, ALboolean*)' is deprecated [-Wdeprecated-declarations] alutLoadWAVMemory((ALbyte*)filedata,&format,&data,&size,&freq,&loop); ^ In file included from src/SoundCore.cpp:13: /usr/local/include/AL/alut.h:114:55: note: declared here ALUT_API ALUT_ATTRIBUTE_DEPRECATED void ALUT_APIENTRY alutLoadWAVMemory (ALbyte *buffer, ALenum *format, void **data, ALsizei *size, ALsizei *frequency, ALboolean *loop); ^~~~~~~~~~~~~~~~~ src/SoundCore.cpp:368:69: warning: 'void alutLoadWAVMemory(ALbyte*, ALenum*, void**, ALsizei*, ALsizei*, ALboolean*)' is deprecated [-Wdeprecated-declarations] alutLoadWAVMemory((ALbyte*)filedata,&format,&data,&size,&freq,&loop); ^ In file included from src/SoundCore.cpp:13: /usr/local/include/AL/alut.h:114:55: note: declared here ALUT_API ALUT_ATTRIBUTE_DEPRECATED void ALUT_APIENTRY alutLoadWAVMemory (ALbyte *buffer, ALenum *format, void **data, ALsizei *size, ALsizei *frequency, ALboolean *loop); ^~~~~~~~~~~~~~~~~ src/SoundCore.cpp:378:37: warning: 'void alutUnloadWAV(ALenum, ALvoid*, ALsizei, ALsizei)' is deprecated [-Wdeprecated-declarations] alutUnloadWAV(format,data,size,freq); ^ In file included from src/SoundCore.cpp:13: /usr/local/include/AL/alut.h:116:55: note: declared here ALUT_API ALUT_ATTRIBUTE_DEPRECATED void ALUT_APIENTRY alutUnloadWAV (ALenum format, ALvoid *data, ALsizei size, ALsizei frequency); ^~~~~~~~~~~~~ src/SoundCore.cpp:378:37: warning: 'void alutUnloadWAV(ALenum, ALvoid*, ALsizei, ALsizei)' is deprecated [-Wdeprecated-declarations] alutUnloadWAV(format,data,size,freq); ^ In file included from src/SoundCore.cpp:13: /usr/local/include/AL/alut.h:116:55: note: declared here ALUT_API ALUT_ATTRIBUTE_DEPRECATED void ALUT_APIENTRY alutUnloadWAV (ALenum format, ALvoid *data, ALsizei size, ALsizei frequency); ^~~~~~~~~~~~~ In file included from src/Particle.h:10, from src/Visual.h:13, from src/main.cpp:15: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/Particle.h:10, from src/Visual.h:13, from src/main.cpp:15: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 src/main.cpp: In function 'int main(int, char**)': src/main.cpp:42:47: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] if(!PHYSFS_addToSearchPath(homepath.c_str(),0)) ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ src/main.cpp:42:47: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] if(!PHYSFS_addToSearchPath(homepath.c_str(),0)) ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ src/main.cpp:44:30: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/main.cpp:44:30: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/main.cpp:47:30: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/main.cpp:47:30: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/main.cpp:52:50: warning: 'int PHYSFS_removeFromSearchPath(const char*)' is deprecated [-Wdeprecated-declarations] if(!PHYSFS_removeFromSearchPath(homepath.c_str())) printf("main: PHYFS_removeFromSearchPath failed! %s\n",PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/main.cpp:52:50: warning: 'int PHYSFS_removeFromSearchPath(const char*)' is deprecated [-Wdeprecated-declarations] if(!PHYSFS_removeFromSearchPath(homepath.c_str())) printf("main: PHYFS_removeFromSearchPath failed! %s\n",PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:878:17: note: declared here PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/main.cpp:52:128: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] if(!PHYSFS_removeFromSearchPath(homepath.c_str())) printf("main: PHYFS_removeFromSearchPath failed! %s\n",PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/main.cpp:52:128: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] if(!PHYSFS_removeFromSearchPath(homepath.c_str())) printf("main: PHYFS_removeFromSearchPath failed! %s\n",PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/main.cpp:55:72: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("main: PHYFS_setWriteDir failed! %s\n",PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/main.cpp:55:72: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("main: PHYFS_setWriteDir failed! %s\n",PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/main.cpp:57:49: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] if(!PHYSFS_addToSearchPath(configpath.c_str(),0)) ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ src/main.cpp:57:49: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] if(!PHYSFS_addToSearchPath(configpath.c_str(),0)) ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ src/main.cpp:59:49: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] configpath.c_str(),PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/main.cpp:59:49: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] configpath.c_str(),PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/main.cpp:62:47: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] if(!PHYSFS_addToSearchPath(datapath.c_str(),1)) printf("main: PHYFS_addToSearchPath failed on '%s'! %s\n",datapath.c_str(),PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ src/main.cpp:62:47: warning: 'int PHYSFS_addToSearchPath(const char*, int)' is deprecated [-Wdeprecated-declarations] if(!PHYSFS_addToSearchPath(datapath.c_str(),1)) printf("main: PHYFS_addToSearchPath failed on '%s'! %s\n",datapath.c_str(),PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:851:17: note: declared here PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) ^~~~~~~~~~~~~~~~~~~~~~ src/main.cpp:62:145: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] if(!PHYSFS_addToSearchPath(datapath.c_str(),1)) printf("main: PHYFS_addToSearchPath failed on '%s'! %s\n",datapath.c_str(),PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/main.cpp:62:145: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] if(!PHYSFS_addToSearchPath(datapath.c_str(),1)) printf("main: PHYFS_addToSearchPath failed on '%s'! %s\n",datapath.c_str(),PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/main.cpp:64:112: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] if(!PHYSFS_setWriteDir(configpath.c_str())) printf("main: PHYFS_setWriteDir failed! %s\n",PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/main.cpp:64:112: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] if(!PHYSFS_setWriteDir(configpath.c_str())) printf("main: PHYFS_setWriteDir failed! %s\n",PHYSFS_getLastError()); ^ In file included from src/main.cpp:9: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/main.cpp:67:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GLOB_conf.Load("excido.conf"); ^ src/main.cpp:75:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GLOB_scores.Load("excido.scores"); ^ src/main.cpp:133:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menuvisual->LoadTexture("menuback.png"); ^ src/main.cpp:134:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menuvisual->LoadTexture("menucursor.png"); ^ src/main.cpp:135:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menusound->LoadSample("menuambient.wav"); ^ src/main.cpp:136:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menusound->Play("menuambient.wav",-1,vzero,vzero); ^ src/main.cpp:138:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char* labels[]={"Play","Configure","High Scores","Exit",NULL}; ^ src/main.cpp:138:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/main.cpp:138:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/main.cpp:138:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] src/main.cpp:150:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GLOB_conf.Dump("excido.conf"); ^ src/main.cpp:151:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GLOB_scores.Dump("excido.scores"); ^ src/main.cpp:195:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GLOB_conf.Dump("excido.conf"); ^ src/main.cpp:196:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] GLOB_scores.Dump("excido.scores"); ^ In file included from src/Particle.h:10, from src/Visual.h:13, from src/Events.cpp:10: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/Particle.h:10, from src/Visual.h:13, from src/Events.cpp:10: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 In file included from src/Player.cpp:10: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/Player.cpp:10: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 src/Player.cpp: In member function 'void Player::Respawn()': src/Player.cpp:60:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] soundid = game->sound->Play("engine.wav",-1,&s,&v); ^ src/Player.cpp: In member function 'void Player::FireMissile()': src/Player.cpp:211:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] game->sound->Play("fire.wav",0,s,v); ^ src/Player.cpp: In member function 'void Player::ShootCannon()': src/Player.cpp:411:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] game->sound->Play("cannon.wav",0,&s,&v); ^ src/Player.cpp: In member function 'void Player::TriggerShield()': src/Player.cpp:417:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] game->sound->Play("shield.wav",0,s,v); ^ src/Player.cpp: In member function 'void Player::GivePowerUp(poweruptype)': src/Player.cpp:467:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] game->sound->Play("gotthelife.wav"); ^ src/Player.cpp: In member function 'void Player::Explode()': src/Player.cpp:541:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] game->sound->Play("playerdie.wav",0,s,v); ^ In file included from src/Particle.h:10, from src/Missile.cpp:13: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/Particle.h:10, from src/Missile.cpp:13: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 src/Missile.cpp: In member function 'void Missile::Explode()': src/Missile.cpp:85:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] game->sound->Play("boom.wav",0,s,v); ^ In file included from src/Particle.h:10, from src/Visual.h:13, from src/ScoreBoard.h:7, from src/ScoreBoard.cpp:6: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/Particle.h:10, from src/Visual.h:13, from src/ScoreBoard.h:7, from src/ScoreBoard.cpp:6: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 src/ScoreBoard.cpp: In member function 'void ScoreBoard::Load(char*)': src/ScoreBoard.cpp:115:68: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Load: PHYSFS says: %s\n",PHYSFS_getLastError()); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/ScoreBoard.cpp:115:68: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Load: PHYSFS says: %s\n",PHYSFS_getLastError()); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/ScoreBoard.cpp:126:58: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] filelength=PHYSFS_read(filehandle,wholefile,1,filelength); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ src/ScoreBoard.cpp:126:58: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] filelength=PHYSFS_read(filehandle,wholefile,1,filelength); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1333:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, ^~~~~~~~~~~ src/ScoreBoard.cpp:137:86: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/ScoreBoard.cpp:137:86: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/ScoreBoard.cpp: In member function 'void ScoreBoard::Dump(char*)': src/ScoreBoard.cpp:202:68: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Dump: PHYSFS says: %s\n",PHYSFS_getLastError()); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/ScoreBoard.cpp:202:68: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Dump: PHYSFS says: %s\n",PHYSFS_getLastError()); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/ScoreBoard.cpp:207:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:207:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:209:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:209:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:211:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:211:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:213:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:213:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:215:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:215:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:217:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:217:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:219:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:219:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:221:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:221:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:223:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:223:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:225:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:225:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:227:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:227:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:229:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:229:45: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated [-Wdeprecated-declarations] PHYSFS_write(filehandle,line,1,strlen(line)); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:1362:27: note: declared here PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, ^~~~~~~~~~~~ src/ScoreBoard.cpp:233:86: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ src/ScoreBoard.cpp:233:86: warning: 'const char* PHYSFS_getLastError()' is deprecated [-Wdeprecated-declarations] printf("ScoreBoard::Load: PHYSFS_close failed with error %s\n",PHYSFS_getLastError()); ^ In file included from src/ScoreBoard.cpp:4: /usr/local/include/physfs.h:654:25: note: declared here PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; ^~~~~~~~~~~~~~~~~~~ In file included from src/Camera.cpp:12: /usr/local/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from src/Camera.cpp:12: /usr/local/include/GL/glext.h:35: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20220530 src/Camera.cpp: In member function 'void Camera::DrawPlayer(Player*)': src/Camera.cpp:256:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("driveparticle.png"); ^ src/Camera.cpp:265:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("halfdriveparticle.png"); ^ src/Camera.cpp:287:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("shadow.png"); ^ src/Camera.cpp:316:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->DrawMesh("player.mesh"); ^ src/Camera.cpp:326:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("shield.png"); ^ src/Camera.cpp:382:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("tracer.png"); ^ src/Camera.cpp:393:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("muzzleflash.png"); ^ src/Camera.cpp: In member function 'void Camera::DrawArena(Arena*)': src/Camera.cpp:493:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("arenabase.png"); ^ src/Camera.cpp:506:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("arenawall.png"); ^ src/Camera.cpp:553:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("arenamesh.png"); ^ src/Camera.cpp: In member function 'void Camera::DrawSky()': src/Camera.cpp:597:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("skyfront.png"); ^ src/Camera.cpp:609:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("skyback.png"); ^ src/Camera.cpp:620:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("skyleft.png"); ^ src/Camera.cpp:631:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("skyright.png"); ^ src/Camera.cpp:642:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("skyup.png"); ^ src/Camera.cpp:653:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("skydown.png"); ^ src/Camera.cpp: In member function 'void Camera::DrawMissiles()': src/Camera.cpp:727:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("missiletrail.png"); ^ src/Camera.cpp: In member function 'void Camera::Draw2D()': src/Camera.cpp:811:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("lifeicon.png"); ^ src/Camera.cpp: In member function 'void Camera::DrawUfo(Ufo*)': src/Camera.cpp:1133:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->DrawMesh("ufo.mesh"); ^ src/Camera.cpp: In member function 'void Camera::DrawMine(Mine*)': src/Camera.cpp:1149:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->DrawMesh("mine.mesh"); ^ src/Camera.cpp: In member function 'void Camera::DrawPowerUp(PowerUp*)': src/Camera.cpp:1162:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("powerupshell.png"); ^ src/Camera.cpp: In member function 'void Camera::DrawObstacle(Obstacle*)': src/Camera.cpp:1256:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] visual->UseTexture("skyscraper.png"); ^ c++ -o excido -L/usr/local/lib `/usr/local/bin/sdl-config --libs` -lSDL_image -lSDL_ttf -lphysfs -lopenal -lalut -lGL -lGLU src/Arena.o src/Camera.o src/Config.o src/Events.o src/Game.o src/Menu.o src/MenuItem.o src/Mesh.o src/Mine.o src/Missile.o src/Obstacle.o src/Particle.o src/Player.o src/PowerUp.o src/Quad.o src/ScoreBoard.o src/SoundCore.o src/Texture.o src/Ufo.o src/Vector.o src/Visual.o src/main.o gmake[1]: Leaving directory '/construction/games/excido/excido-0.1.5c' SUCCEEDED 00:00:04 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for excido-0.1.5c_17 ===> Generating temporary packing list install -s -m 555 /construction/games/excido/excido-0.1.5c/excido /construction/games/excido/stage/usr/local/bin (cd /construction/games/excido/excido-0.1.5c/data ; /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . /construction/games/excido/stage/usr/local/share/excido) install -m 0644 /construction/games/excido/excido-0.1.5c/README /construction/games/excido/stage/usr/local/share/doc/excido ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for excido-0.1.5c_17 file sizes/checksums [52]: 0% file sizes/checksums [52]: 100% Service unavailablepacking files [52]: 0% packing files [52]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:00:17