+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/trackballs.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.v8nBlK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf trackballs-1.1.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/trackballs-1.1.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd trackballs-1.1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (trackballs-1.1.4-destdir.patch):' Patch #0 (trackballs-1.1.4-destdir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file share/icons/Makefile.in patching file po/Makefile.in.in + echo 'Patch #1 (trackballs-1.1.4-black-vertices-fix.patch):' Patch #1 (trackballs-1.1.4-black-vertices-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/map.cc + echo 'Patch #2 (trackballs-1.1.4-rh555877.patch):' Patch #2 (trackballs-1.1.4-rh555877.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/settingsMode.cc patching file src/mmad.cc + echo 'Patch #3 (trackballs-1.1.4-rh667236.patch):' Patch #3 (trackballs-1.1.4-rh667236.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/enterHighScoreMode.cc + echo 'Patch #5 (trackballs-1.1.4-remove-old-sdl-workarounds.patch):' Patch #5 (trackballs-1.1.4-remove-old-sdl-workarounds.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/gameMode.cc patching file src/gameMode.h patching file src/mainMode.cc patching file src/mmad.cc Hunk #1 succeeded at 410 (offset -1 lines). Hunk #2 succeeded at 467 (offset -1 lines). Hunk #3 succeeded at 476 (offset -1 lines). Hunk #4 succeeded at 520 (offset -1 lines). + echo 'Patch #6 (trackballs-1.1.4-format-security.patch):' Patch #6 (trackballs-1.1.4-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/editMode.cc patching file src/map.cc + echo 'Patch #7 (trackballs-1.1.4-gcc6.patch):' Patch #7 (trackballs-1.1.4-gcc6.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/glHelp.cc patching file src/menuMode.cc + iconv -f ISO-8859-1 -t UTF8 share/trackballs.6 + mv share/trackballs.6.tmp share/trackballs.6 + sed -i 's/chgrp/#chgrp/g;' share/Makefile.am share/Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xkFZHR + umask 022 + cd /builddir/build/BUILD + cd trackballs-1.1.4 + export GUILE=/usr/bin/guile1.8 + GUILE=/usr/bin/guile1.8 + export GUILE_CONFIG=/usr/bin/guile1.8-config + GUILE_CONFIG=/usr/bin/guile1.8-config + export GUILE_TOOLS=/usr/bin/guile1.8-tools + GUILE_TOOLS=/usr/bin/guile1.8-tools + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info '--with-highscores=~' checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/trackballs-1.1.4/missing: Unknown `--run' option Try `/builddir/build/BUILD/trackballs-1.1.4/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gawk... (cached) gawk checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... none checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for main in -le... no checking for main in -links... no checking for life_signs in -lkenny... no oh my god! They killed kenny You bastards checking for main in -lz... yes checking for main in -lGL... yes checking for main in -lGLU... yes checking for main in -lm... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for main in -lSDL_ttf... yes checking for main in -lSDL_mixer... yes checking for main in -lSDL_image... yes checking for guile... /usr/bin/guile1.8 checking for guile-config... /usr/bin/guile1.8-config checking for guile-tools... /usr/bin/guile1.8-tools checking libguile compile flags... -pthread checking libguile link flags... -pthread -lguile checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking for atexit... yes checking for sqrt... yes checking for strdup... yes checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: WARNING: po/Makefile.in.in seems to ignore the --datarootdir setting config.status: creating share/Makefile config.status: creating share/fonts/Makefile config.status: creating share/images/Makefile config.status: creating share/levels/Makefile config.status: creating share/music/Makefile config.status: creating share/sfx/Makefile config.status: creating share/icons/Makefile config.status: creating docs/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing default commands + sed -i 's|^mkinstalldirs.*|mkinstalldirs=$(MKINSTALLDIRS)|g' po/Makefile + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/trackballs-1.1.4' Making all in src make[2]: Entering directory '/builddir/build/BUILD/trackballs-1.1.4/src' g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-mmad.o `test -f 'mmad.cc' || echo './'`mmad.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-gameMode.o `test -f 'gameMode.cc' || echo './'`gameMode.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-mainMode.o `test -f 'mainMode.cc' || echo './'`mainMode.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-glHelp.o `test -f 'glHelp.cc' || echo './'`glHelp.cc :0:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] mmad.cc:22:25: note: in expansion of macro 'SHARE_DIR' char *SHARE_DIR_DEFAULT=SHARE_DIR; ^~~~~~~~~ glHelp.cc: In function 'void draw2DString(TTF_Font*, char*, int, int, Uint8, Uint8, Uint8)': glHelp.cc:65:13: warning: unused variable 'bgColor' [-Wunused-variable] SDL_Color bgColor={0,0,0}; ^~~~~~~ glHelp.cc:67:12: warning: unused variable 'rect' [-Wunused-variable] SDL_Rect rect; ^~~~ glHelp.cc: In function 'void drawMousePointer()': glHelp.cc:184:9: warning: unused variable 'mouseState' [-Wunused-variable] Uint8 mouseState=SDL_GetMouseState(&mouseX,&mouseY); ^~~~~~~~~~ glHelp.cc: In function 'void drawMouse(int, int, int, int, Real)': glHelp.cc:192:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] bindTexture("mousePointer.png"); ^ glHelp.cc: In function 'int createSnapshot()': glHelp.cc:284:135: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(stderr, _("Warning: cannot allocate %d bytes for snapshot. Aborting.\n"), sizeof(unsigned char)*screenWidth*screenHeight*3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ glHelp.cc: In function 'void glHelpInit()': glHelp.cc:543:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] loadTexture("ice.png"); ^ glHelp.cc:544:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] loadTexture("acid.png"); ^ glHelp.cc:545:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] loadTexture("sand.png"); ^ glHelp.cc:546:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] loadTexture("track.png"); ^ glHelp.cc:547:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] loadTexture("texture.png"); ^ glHelp.cc:548:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] loadTexture("texture2.png"); ^ glHelp.cc:549:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] loadTexture("texture3.png"); ^ glHelp.cc:550:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] loadTexture("texture4.png"); ^ glHelp.cc:551:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] loadTexture("wings.png"); ^ glHelp.cc:552:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] loadTexture("mousePointer.png"); ^ glHelp.cc:518:11: warning: unused variable 'texCoords' [-Wunused-variable] GLfloat texCoords[4]; ^~~~~~~~~ glHelp.cc: In function 'GLuint LoadTexture(SDL_Surface*, GLfloat*, int, GLuint*)': glHelp.cc:946:13: warning: unused variable 'destPixels' [-Wunused-variable] Uint32 *destPixels=(Uint32*)image->pixels; ^~~~~~~~~~ glHelp.cc:947:13: warning: unused variable 'sourcePixels' [-Wunused-variable] Uint32 *sourcePixels=(Uint32*)source->pixels; ^~~~~~~~~~~~ mmad.cc: In function 'int main(int, char**)': mmad.cc:631:9: warning: unused variable 'ret' [-Wunused-variable] char *ret; ^~~ mainMode.cc: In static member function 'static void MainMode::init()': mainMode.cc:55:8: warning: unused variable 'str' [-Wunused-variable] char str[256]; ^~~ mainMode.cc: In member function 'virtual void MainMode::display()': mainMode.cc:178:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] lp[2] = _("Press spacebar to begin"); rp[2] = " "; ^~~ mainMode.cc: In member function 'virtual void MainMode::idle(Real)': mainMode.cc:401:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_GOT_FLAG); ^ mainMode.cc:409:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_LV_COMPLETE); ^ mainMode.cc:379:8: warning: unused variable 'map' [-Wunused-variable] Map *map = Game::current?Game::current->map:NULL; ^~~ mainMode.cc: In member function 'void MainMode::startGame()': mainMode.cc:483:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_START); ^ mainMode.cc: In member function 'void MainMode::showInfo()': mainMode.cc:521:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] bindTexture("left_panel.png"); ^ mainMode.cc:526:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(ilives) bindTexture("life.png"); ^ mainMode.cc:527:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else bindTexture("nolife.png"); ^ mainMode.cc:510:9: warning: unused variable 'w' [-Wunused-variable] int i,w,h; ^ mainMode.cc:510:11: warning: unused variable 'h' [-Wunused-variable] int i,w,h; ^ mainMode.cc: In member function 'void MainMode::renderEnvironmentTexture(GLuint, double*)': mainMode.cc:703:11: warning: unused variable 'player1' [-Wunused-variable] Player *player1 = Game::current?Game::current->player1:NULL; ^~~~~~~ mainMode.cc:720:10: warning: unused variable 't0_5' [-Wunused-variable] double t0_5 = ((double)SDL_GetTicks())/1000.0; ^~~~ mainMode.cc: In member function 'void MainMode::convertToFisheye(char*, char*, int)': mainMode.cc:757:10: warning: unused variable 'i' [-Wunused-variable] int x,y,i,x2,y2; ^ mainMode.cc:750:7: warning: unused variable 'x' [-Wunused-variable] int x,y,i,j,x2,y2; ^ mainMode.cc:750:9: warning: unused variable 'y' [-Wunused-variable] int x,y,i,j,x2,y2; ^ glHelp.cc: In function 'int createSnapshot()': glHelp.cc:338:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ glHelp.cc: In function 'int bindTexture(char*)': glHelp.cc:625:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ glHelp.cc: In function 'int resetTextures()': glHelp.cc:656:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-general.o `test -f 'general.cc' || echo './'`general.cc glHelp.cc: In function 'void regenerateSphereDisplaylists()': glHelp.cc:573:7: warning: 'resolution' may be used uninitialized in this function [-Wmaybe-uninitialized] int resolution; ^~~~~~~~~~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-map.o `test -f 'map.cc' || echo './'`map.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-player.o `test -f 'player.cc' || echo './'`player.cc In file included from general.h:80:0, from glHelp.cc:23: glHelp.h: In function 'void drawSpike(double*, double*, double*, double*)': glHelp.h:136:15: warning: '*((void*)& ad +16)' is used uninitialized in this function [-Wuninitialized] C[0] = A[1] * B[2] - A[2] * B[1]; ~~~~~^~~~~~ glHelp.cc:1011:19: note: '*((void*)& ad +16)' was declared here Coord3d ab, ac, ad; ^~ In file included from general.h:80:0, from glHelp.cc:23: glHelp.h:136:29: warning: '*((void*)& ad +8)' is used uninitialized in this function [-Wuninitialized] C[0] = A[1] * B[2] - A[2] * B[1]; ~~~~~^~~~~~ glHelp.cc:1011:19: note: '*((void*)& ad +8)' was declared here Coord3d ab, ac, ad; ^~ In file included from general.h:80:0, from glHelp.cc:23: glHelp.h:137:15: warning: 'ad' is used uninitialized in this function [-Wuninitialized] C[1] = A[2] * B[0] - A[0] * B[2]; ~~~~~^~~~~~ glHelp.cc:1011:19: note: 'ad' was declared here Coord3d ab, ac, ad; ^~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-editMode.o `test -f 'editMode.cc' || echo './'`editMode.cc general.cc: In function 'char* locateFile(char*, char*)': general.cc:116:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return ""; ^~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-ball.o `test -f 'ball.cc' || echo './'`ball.cc map.cc: In constructor 'Map::Map(char*)': map.cc:300:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tx_Ice=loadTexture("ice.png"); ^ map.cc:301:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tx_Acid=loadTexture("acid.png"); ^ map.cc:302:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tx_Sand=loadTexture("sand.png"); ^ map.cc:303:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] tx_Track=loadTexture("track.png"); ^ map.cc:194:8: warning: unused variable 'str' [-Wunused-variable] char str[256]; ^~~ map.cc:195:11: warning: unused variable 'texCoord' [-Wunused-variable] GLfloat texCoord[4]; ^~~~~~~~ map.cc: In member function 'void Map::draw(int, int, int, int)': map.cc:348:9: warning: unused variable 't0' [-Wunused-variable] double t0 = getSystemTime(); ^~ map.cc:314:11: warning: unused variable 'i' [-Wunused-variable] int x,y,i,ix,iy; ^ map.cc:315:7: warning: variable 'r0' set but not used [-Wunused-but-set-variable] int r0,r1,c0,c1; ^~ map.cc:315:10: warning: variable 'r1' set but not used [-Wunused-but-set-variable] int r0,r1,c0,c1; ^~ map.cc:315:13: warning: variable 'c0' set but not used [-Wunused-but-set-variable] int r0,r1,c0,c1; ^~ map.cc:315:16: warning: variable 'c1' set but not used [-Wunused-but-set-variable] int r0,r1,c0,c1; ^~ map.cc:333:7: warning: unused variable 'row' [-Wunused-variable] int row,column; ^~~ map.cc:333:11: warning: unused variable 'column' [-Wunused-variable] int row,column; ^~~~~~ map.cc:342:47: warning: unused variable 'rot_matrix' [-Wunused-variable] GLdouble model_matrix[16], proj_matrix[16], rot_matrix[16]; ^~~~~~~~~~ map.cc: In member function 'void Map::drawCellAA(int, int, int)': map.cc:750:11: warning: unused variable 'normal' [-Wunused-variable] Coord3d normal; ^~~~~~ map.cc:751:7: warning: unused variable 'i' [-Wunused-variable] int i,draw; ^ map.cc:752:7: warning: unused variable 'gfx_details' [-Wunused-variable] int gfx_details = Settings::settings->gfx_details; ^~~~~~~~~~~ map.cc: In member function 'void Cell::dump(gzFile)': map.cc:843:8: warning: unused variable 'texCoord' [-Wunused-variable] Real texCoord[5]; ^~~~~~~~ player.cc: In member function 'virtual void Player::tick(Real)': player.cc:95:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(timeLeft < 15) playEffect(SFX_TIME_WARNING); ^ map.cc: In member function 'void Cell::getNormal(double*, int)': map.cc:56:11: warning: 'v2[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] Coord3d v2; ^~ map.cc:56:11: warning: 'v2[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] In file included from general.h:80:0, from map.cc:23: glHelp.h:136:22: warning: 'v2[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] C[0] = A[1] * B[2] - A[2] * B[1]; ~~~~~~~~~~~~^~~~~~~~~~~~~ map.cc:56:11: note: 'v2[2]' was declared here Coord3d v2; ^~ player.cc:241:11: warning: unused variable 'pos' [-Wunused-variable] Coord3d pos,vel; ^~~ player.cc:241:15: warning: unused variable 'vel' [-Wunused-variable] Coord3d pos,vel; ^~~ player.cc: In member function 'virtual void Player::die(int)': player.cc:323:11: warning: unused variable 'd' [-Wunused-variable] Debris *d = new Debris(this,pos,vel,2.0+8.0*frandom()); ^ player.cc:327:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_PLAYER_DIES); ^ player.cc:329:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_TIMEOUT); ^ player.cc:331:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_FF_DEATH); ^ player.cc:305:9: warning: unused variable 'color' [-Wunused-variable] Color color = {1.0, 0.2, 0.2}; ^~~~~ player.cc: In member function 'void Player::restart(double*)': player.cc:353:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ map.cc: In member function 'void Cell::getWaterNormal(double*, int)': map.cc:92:11: warning: 'v2[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] Coord3d v2; ^~ map.cc:92:11: warning: 'v2[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] In file included from general.h:80:0, from map.cc:23: glHelp.h:136:22: warning: 'v2[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] C[0] = A[1] * B[2] - A[2] * B[1]; ~~~~~~~~~~~~^~~~~~~~~~~~~ map.cc:92:11: note: 'v2[2]' was declared here Coord3d v2; ^~ player.cc: In member function 'virtual Boolean Player::crash(Real)': player.cc:373:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ editMode.cc:72:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ editMode.cc:72:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] editMode.cc:72:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] editMode.cc:72:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] editMode.cc:72:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] editMode.cc:72:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] editMode.cc:72:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] editMode.cc:72:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] editMode.cc: In static member function 'static void EditMode::init()': editMode.cc:155:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ editMode.cc:155:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] editMode.cc: In member function 'void EditMode::loadMap(char*)': editMode.cc:218:81: warning: too many arguments for format [-Wformat-extra-args] snprintf(pathname,sizeof(pathname),"%s/.trackballs/levels",getenv("HOME"),name); ^ editMode.cc: In member function 'virtual void EditMode::display()': editMode.cc:322:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ editMode.cc:420:8: warning: unused variable 'str' [-Wunused-variable] char str[256]; ^~~ editMode.cc: In member function 'void EditMode::doCommand(int)': editMode.cc:508:7: warning: unused variable 'ctrl' [-Wunused-variable] int ctrl = SDL_GetModState() & (KMOD_LCTRL | KMOD_RCTRL); ^~~~ editMode.cc: In member function 'virtual void EditMode::key(int)': editMode.cc:772:7: warning: unused variable 'i' [-Wunused-variable] int i,j; ^ editMode.cc:772:9: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ editMode.cc:774:7: warning: unused variable 'ctrl' [-Wunused-variable] int ctrl = SDL_GetModState() & (KMOD_LCTRL | KMOD_RCTRL); ^~~~ editMode.cc:775:7: warning: unused variable 'x1' [-Wunused-variable] int x1,y1; ^~ editMode.cc:775:10: warning: unused variable 'y1' [-Wunused-variable] int x1,y1; ^~ editMode.cc:776:7: warning: unused variable 'xLow' [-Wunused-variable] int xLow=x,xHigh=x,yLow=y,yHigh=y; ^~~~ editMode.cc:776:14: warning: unused variable 'xHigh' [-Wunused-variable] int xLow=x,xHigh=x,yLow=y,yHigh=y; ^~~~~ editMode.cc:776:22: warning: unused variable 'yLow' [-Wunused-variable] int xLow=x,xHigh=x,yLow=y,yHigh=y; ^~~~ editMode.cc:776:29: warning: unused variable 'yHigh' [-Wunused-variable] int xLow=x,xHigh=x,yLow=y,yHigh=y; ^~~~~ editMode.cc:777:7: warning: unused variable 'set_flag' [-Wunused-variable] int set_flag; ^~~~~~~~ editMode.cc:778:7: warning: unused variable 'corner' [-Wunused-variable] int corner; ^~~~~~ editMode.cc:779:7: warning: unused variable 'north' [-Wunused-variable] int north,east; ^~~~~ editMode.cc:779:13: warning: unused variable 'east' [-Wunused-variable] int north,east; ^~~~ editMode.cc:781:9: warning: unused variable 'mouseState' [-Wunused-variable] Uint8 mouseState=SDL_GetMouseState(&mouseX,&mouseY); ^~~~~~~~~~ editMode.cc: At global scope: editMode.cc:105:44: warning: 'subFlags' defined but not used [-Wunused-variable] subFlagsNoGrid=35, subFlagsTrack=36, } subFlags; ^~~~~~~~ editMode.cc:103:81: warning: 'subView' defined but not used [-Wunused-variable] enum { subViewBirdsEye=20, subViewSwitch, subViewCrosshair, subViewClearWalls } subView; ^~~~~~~ editMode.cc:102:27: warning: 'subEdit' defined but not used [-Wunused-variable] enum { subEditRegion=10 } subEdit; ^~~~~~~ editMode.cc:101:37: warning: 'subFile' defined but not used [-Wunused-variable] enum { subFileSave=0, subFileQuit } subFile; ^~~~~~~ editMode.cc:100:74: warning: 'tlMenus' defined but not used [-Wunused-variable] enum { tlFile=0, tlEdit=1, tlView=2, tlFlags=3, tlTextures=4, tlSize=5 } tlMenus; ^~~~~~~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-game.o `test -f 'game.cc' || echo './'`game.cc editMode.cc: In member function 'void EditMode::saveMap()': editMode.cc:261:6: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 235 [-Wformat-truncation=] void EditMode::saveMap() { ^~~~~~~~ In file included from /usr/include/stdio.h:861:0, from general.h:23, from editMode.cc:23: /usr/include/bits/stdio2.h:68:44: note: '__builtin___snprintf_chk' output 25 or more bytes (assuming 536) into a destination of size 255 __bos (__s), __fmt, __va_arg_pack ()); ^ editMode.cc:261:6: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 248 [-Wformat-truncation=] void EditMode::saveMap() { ^~~~~~~~ In file included from /usr/include/stdio.h:861:0, from general.h:23, from editMode.cc:23: /usr/include/bits/stdio2.h:68:44: note: '__builtin___snprintf_chk' output 13 or more bytes (assuming 524) into a destination of size 256 __bos (__s), __fmt, __va_arg_pack ()); ^ editMode.cc:261:6: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 236 [-Wformat-truncation=] void EditMode::saveMap() { ^~~~~~~~ In file included from /usr/include/stdio.h:861:0, from general.h:23, from editMode.cc:23: /usr/include/bits/stdio2.h:68:44: note: '__builtin___snprintf_chk' output 25 or more bytes (assuming 536) into a destination of size 256 __bos (__s), __fmt, __va_arg_pack ()); ^ editMode.cc: In function 'void EditMode::testLevel()': editMode.cc:1299:6: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 256 [-Wformat-truncation=] void EditMode::testLevel() { ^~~~~~~~ In file included from /usr/include/stdio.h:861:0, from general.h:23, from editMode.cc:23: /usr/include/bits/stdio2.h:68:44: note: '__builtin_snprintf' output between 1 and 512 bytes into a destination of size 256 __bos (__s), __fmt, __va_arg_pack ()); ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-animated.o `test -f 'animated.cc' || echo './'`animated.cc game.cc:101:118: warning: "/*" within comment [-Wcomment] /* Find path to map, default is load any maps and/or scripts in the home directory first (eg. ~/.trackballs/levels/*.map) ball.cc: In static member function 'static void Ball::init()': ball.cc:54:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] loadTexture("dizzy.png"); ^ ball.cc:50:11: warning: unused variable 'texcoord' [-Wunused-variable] GLfloat texcoord[4]; ^~~~~~~~ ball.cc: In constructor 'Ball::Ball()': ball.cc:98:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texture = loadTexture("ice.png"); ^ ball.cc: In member function 'virtual void Ball::draw()': ball.cc:190:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] bindTexture("track.png"); ^ ball.cc: In member function 'virtual void Ball::draw2()': ball.cc:431:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] bindTexture("dizzy.png"); ^ ball.cc: In member function 'Boolean Ball::physics(Real)': ball.cc:632:13: warning: unused variable 's' [-Wunused-variable] Splash *s = new Splash(center,velocity,waterColor,30*radius/0.3,radius); //speed*radius*(depth<0.5?depth:1.0-depth)*2.0,radius); ^ ball.cc:648:13: warning: unused variable 's' [-Wunused-variable] Splash *s = new Splash(center,vel,waterColor,(int) speed*0.5,radius); ^ ball.cc:674:11: warning: unused variable 's' [-Wunused-variable] Splash *s = new Splash(center,velocity,acidColor,speed*radius,radius); ^ ball.cc:570:10: warning: unused variable 'partialX' [-Wunused-variable] Real partialX = position[0] - (Real) ((int) position[0]); ^~~~~~~~ ball.cc:571:10: warning: unused variable 'partialY' [-Wunused-variable] Real partialY = position[1] - (Real) ((int) position[1]); ^~~~~~~~ ball.cc:547:12: warning: unused variable 'h' [-Wunused-variable] Real x,y,h; ^ ball.cc: In member function 'Boolean Ball::checkGroundCollisions(Map*, Real, Real)': ball.cc:828:13: warning: unused variable 's' [-Wunused-variable] Splash *s = new Splash(center,velocity,acidColor,speed*radius*20.0,radius); ^ ball.cc:841:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_SAND_CRASH); ^ ball.cc: In member function 'void Ball::handleForcefieldCollisions()': ball.cc:954:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ ball.cc: In member function 'void Ball::handlePipes()': ball.cc:1133:40: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if(pipe->flags & PIPE_SOFT_ENTER & l < 0.2 / pipeLength) continue; ~~^~~~~~~~~~~~~~~~~~ ball.cc:1134:39: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if(pipe->flags & PIPE_SOFT_EXIT & l > 1.0 - 0.2 / pipeLength) continue; ~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-debris.o `test -f 'debris.cc' || echo './'`debris.cc game.cc: In member function 'void Game::draw()': game.cc:209:7: warning: unused variable 'j' [-Wunused-variable] int j; ^ game.cc: In member function 'void Game::drawReflection(double*)': game.cc:270:7: warning: unused variable 'j' [-Wunused-variable] int j; ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-black.o `test -f 'black.cc' || echo './'`black.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-guile.o `test -f 'guile.cc' || echo './'`guile.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-gameHook.o `test -f 'gameHook.cc' || echo './'`gameHook.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-cyclicPlatform.o `test -f 'cyclicPlatform.cc' || echo './'`cyclicPlatform.cc black.cc: In member function 'virtual void Black::die(int)': black.cc:85:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_BLACK_DIE); ^ black.cc:87:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_FF_DEATH); ^ black.cc:66:11: warning: unused variable 'color' [-Wunused-variable] Color color = {0.0, 0.0, 0.2}; ^~~~~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-sound.o `test -f 'sound.cc' || echo './'`sound.cc guile.cc: In function 'scm_unused_struct* use_grid(SCM)': guile.cc:1124:45: warning: no return statement in function returning non-void [-Wreturn-type] { Game::current->useGrid=SCM_FALSEP(v)?0:1; } ^ guile.cc: In function 'scm_unused_struct* map_is_transparent(SCM)': guile.cc:1128:56: warning: no return statement in function returning non-void [-Wreturn-type] { Game::current->map->isTransparent=SCM_FALSEP(v)?0:1; } ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-sign.o `test -f 'sign.cc' || echo './'`sign.cc guile.cc: In function 'scm_unused_struct* jump(SCM)': guile.cc:1137:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ guile.cc: In function 'scm_unused_struct* scale_oxygen(SCM)': guile.cc:1147:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ guile.cc: In function 'scm_unused_struct* camera_angle(SCM, SCM)': guile.cc:1351:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ guile.cc: In function 'scm_unused_struct* restart_time(SCM)': guile.cc:1361:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-scoreSign.o `test -f 'scoreSign.cc' || echo './'`scoreSign.cc sound.cc: In function 'void soundInit()': sound.cc:49:17: warning: unused variable 'i' [-Wunused-variable] char str[512],i; ^ sound.cc: In function 'void soundIdle()': sound.cc:111:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-flag.o `test -f 'flag.cc' || echo './'`flag.cc scoreSign.cc: In constructor 'ScoreSign::ScoreSign(int, double*)': scoreSign.cc:31:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] :Sign("++++",4.0,1.0,100.0,position) ^ scoreSign.cc: In constructor 'ScoreSign::ScoreSign(int, double*, int)': scoreSign.cc:37:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] :Sign("++++",4.0,1.0,100.0,position) ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-goal.o `test -f 'goal.cc' || echo './'`goal.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-menuMode.o `test -f 'menuMode.cc' || echo './'`menuMode.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-enterHighScoreMode.o `test -f 'enterHighScoreMode.cc' || echo './'`enterHighScoreMode.cc flag.cc: In member function 'virtual void Flag::onGet()': flag.cc:167:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_GOT_FLAG); ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-highScore.o `test -f 'highScore.cc' || echo './'`highScore.cc menuMode.cc: In static member function 'static void MenuMode::init()': menuMode.cc:61:8: warning: unused variable 'str' [-Wunused-variable] char str[256]; ^~~ menuMode.cc:62:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ menuMode.cc: In member function 'virtual void MenuMode::display()': menuMode.cc:108:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] bindTexture("header.png"); ^ menuMode.cc:72:7: warning: unused variable 'i' [-Wunused-variable] int i,w,h; ^ menuMode.cc:72:9: warning: unused variable 'w' [-Wunused-variable] int i,w,h; ^ menuMode.cc:72:11: warning: unused variable 'h' [-Wunused-variable] int i,w,h; ^ menuMode.cc:88:7: warning: unused variable 'storyText_y' [-Wunused-variable] int storyText_y=screenHeight/2-20; ^~~~~~~~~~~ menuMode.cc: In member function 'virtual void MenuMode::idle(Real)': menuMode.cc:168:7: warning: unused variable 'w' [-Wunused-variable] int w,h,i,x,y; ^ menuMode.cc:168:9: warning: unused variable 'h' [-Wunused-variable] int w,h,i,x,y; ^ menuMode.cc:168:11: warning: unused variable 'i' [-Wunused-variable] int w,h,i,x,y; ^ menuMode.cc:169:7: warning: unused variable 'mouseX' [-Wunused-variable] int mouseX,mouseY; ^~~~~~ menuMode.cc:169:14: warning: unused variable 'mouseY' [-Wunused-variable] int mouseX,mouseY; ^~~~~~ menuMode.cc: In member function 'void MenuMode::loadSlide()': menuMode.cc:215:10: warning: unused variable 't0' [-Wunused-variable] double t0=getSystemTime(); ^~ menuMode.cc:249:10: warning: unused variable 't1' [-Wunused-variable] double t1=getSystemTime(); ^~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-spike.o `test -f 'spike.cc' || echo './'`spike.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-trigger.o `test -f 'trigger.cc' || echo './'`trigger.cc menuMode.cc: In member function 'void MenuMode::drawSlide(int, double)': menuMode.cc:314:47: warning: 'viewOffsetY' may be used uninitialized in this function [-Wmaybe-uninitialized] glTexCoord2f(viewOffsetX + 0.0, viewOffsetY + 0.0); glVertex2i(0, 0); ~~~~~~~~~~~~^~~~~ menuMode.cc:314:28: warning: 'viewOffsetX' may be used uninitialized in this function [-Wmaybe-uninitialized] glTexCoord2f(viewOffsetX + 0.0, viewOffsetY + 0.0); glVertex2i(0, 0); ~~~~~~~~~~~~^~~~~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-modPill.o `test -f 'modPill.cc' || echo './'`modPill.cc highScore.cc: In constructor 'HighScore::HighScore()': highScore.cc:33:9: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-baby.o `test -f 'baby.cc' || echo './'`baby.cc spike.cc: In member function 'virtual void Spike::tick(Real)': spike.cc:169:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_SPIKE, 0.66); ^ spike.cc:171:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_SPIKE, 0.66*(9.-dist)/3.); ^ modPill.cc:43:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] "Floating","Extra life","Small ball","Large ball","Nitro"}; ^ modPill.cc:43:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] modPill.cc:43:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] modPill.cc:43:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] modPill.cc:43:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] modPill.cc:43:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] modPill.cc:43:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] modPill.cc:43:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] modPill.cc:43:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] modPill.cc:43:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] modPill.cc:43:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] In file included from modPill.cc:23:0: modPill.h: In constructor 'ModPill::ModPill(double*, int, int, int)': modPill.h:42:31: warning: 'ModPill::time' will be initialized after [-Wreorder] int kind,resurrecting,state,time; ^~~~ modPill.h:42:12: warning: 'int ModPill::resurrecting' [-Wreorder] int kind,resurrecting,state,time; ^~~~~~~~~~~~ modPill.cc:45:1: warning: when initialized here [-Wreorder] ModPill::ModPill(Coord3d position,int kind,int time,int resurrecting) ^~~~~~~ modPill.cc: In member function 'virtual void ModPill::tick(Real)': modPill.cc:158:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_GOT_LIFE); ^ modPill.cc:160:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_GOT_GOODPILL); ^ modPill.cc:162:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_GOT_BADPILL); ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-trampoline.o `test -f 'trampoline.cc' || echo './'`trampoline.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-box.o `test -f 'box.cc' || echo './'`box.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-forcefield.o `test -f 'forcefield.cc' || echo './'`forcefield.cc baby.cc: In member function 'virtual void Baby::die(int)': baby.cc:56:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_BLACK_DIE); ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-switch.o `test -f 'switch.cc' || echo './'`switch.cc In file included from box.cc:25:0: box.h: In constructor 'Box::Box(Real, int)': box.h:33:7: warning: 'Box::points' will be initialized after [-Wreorder] int points; ^~~~~~ box.h:32:23: warning: 'Real Box::size' [-Wreorder] Real crashTolerance,size; ^~~~ box.cc:33:1: warning: when initialized here [-Wreorder] Box::Box(Real ct, int pnt) :Animated(), crashTolerance(ct), points(pnt),size(0.4) {} ^~~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-hofMode.o `test -f 'hofMode.cc' || echo './'`hofMode.cc forcefield.cc: In member function 'virtual void ForceField::draw2()': forcefield.cc:57:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-settingsMode.o `test -f 'settingsMode.cc' || echo './'`settingsMode.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-settings.o `test -f 'settings.cc' || echo './'`settings.cc switch.cc: In member function 'virtual void CSwitch::tick(Real)': switch.cc:83:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_SWITCH); ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-setupMode.o `test -f 'setupMode.cc' || echo './'`setupMode.cc hofMode.cc: In member function 'virtual void HallOfFameMode::display()': hofMode.cc:79:7: warning: unused variable 'w' [-Wunused-variable] int w,h; ^ hofMode.cc:79:9: warning: unused variable 'h' [-Wunused-variable] int w,h; ^ hofMode.cc:94:19: warning: variable 'y2' set but not used [-Wunused-but-set-variable] int y,dy,size,x,y2; ^~ settingsMode.cc: In static member function 'static void SettingsMode::init()': settingsMode.cc:45:8: warning: unused variable 'str' [-Wunused-variable] char str[256]; ^~~ settingsMode.cc:46:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ settingsMode.cc: In member function 'virtual void SettingsMode::display()': settingsMode.cc:126:9: warning: enumeration value 'NUM_SUBSCREENS' not handled in switch [-Wswitch] switch(subscreen) { ^ settingsMode.cc:82:7: warning: unused variable 'w' [-Wunused-variable] int w,h,i; ^ settingsMode.cc:82:9: warning: unused variable 'h' [-Wunused-variable] int w,h,i; ^ settingsMode.cc:85:13: warning: unused variable 'settings' [-Wunused-variable] Settings *settings=Settings::settings; ^~~~~~~~ settingsMode.cc:100:7: warning: unused variable 'opt' [-Wunused-variable] int opt; ^~~ settingsMode.cc: In member function 'virtual void SettingsMode::mouseDown(int, int, int)': settingsMode.cc:364:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_GOT_FLAG); ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-gamer.o `test -f 'gamer.cc' || echo './'`gamer.cc settings.cc:34:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *Settings::languageCodes[6]={"","sv_SE","de_DE","it_IT","fr_FR", "sk_SK"}; ^ settings.cc:34:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] settings.cc:34:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] settings.cc:34:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] settings.cc:34:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] settings.cc:34:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] settings.cc:36:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *Settings::languageNames[6]={"Default","Svenska","Deutsch","Italiano","Francais" "Slovak"}; ^ settings.cc:36:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] settings.cc:36:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] settings.cc:36:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] settings.cc:36:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-smartTrigger.o `test -f 'smartTrigger.cc' || echo './'`smartTrigger.cc settings.cc: In constructor 'Settings::Settings()': settings.cc:68:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&version,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:69:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&sfxVolume,sizeof(double),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:70:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&musicVolume,sizeof(double),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:71:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&mouseSensitivity,sizeof(double),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:72:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&gfx_details,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:73:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&showFPS,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:74:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&is_windowed,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:75:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&resolution,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:77:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&colorDepth,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:79:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&joystickIndex,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:80:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&joy_center,sizeof(int),2,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:81:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&joy_left,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:82:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&joy_right,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:83:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&joy_up,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:84:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&joy_down,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:87:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&rotateSteering,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:90:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&ignoreMouse,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:91:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&doReflections,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:94:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&language,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc: In member function 'void Settings::loadLevelSet(char*)': settings.cc:147:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(levelSets[nLevelSets].name,256,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:150:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(levelSets[nLevelSets].startLevel,256,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc:153:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(levelSets[nLevelSets].startLevelName,256,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ settings.cc: In member function 'void Settings::loadLevelSets()': settings.cc:100:6: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 248 [-Wformat-truncation=] void Settings::loadLevelSets() { ^~~~~~~~ In file included from /usr/include/stdio.h:861:0, from general.h:23, from settings.cc:21: /usr/include/bits/stdio2.h:68:44: note: '__builtin___snprintf_chk' output 9 or more bytes (assuming 264) into a destination of size 256 __bos (__s), __fmt, __va_arg_pack ()); ^ settings.cc:100:6: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 235 [-Wformat-truncation=] void Settings::loadLevelSets() { ^~~~~~~~ In file included from /usr/include/stdio.h:861:0, from general.h:23, from settings.cc:21: /usr/include/bits/stdio2.h:68:44: note: '__builtin___snprintf_chk' output 21 or more bytes (assuming 276) into a destination of size 255 __bos (__s), __fmt, __va_arg_pack ()); ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-pipe.o `test -f 'pipe.cc' || echo './'`pipe.cc setupMode.cc: In static member function 'static void SetupMode::init()': setupMode.cc:64:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ setupMode.cc: In member function 'virtual void SetupMode::display()': setupMode.cc:101:7: warning: unused variable 'opt' [-Wunused-variable] int opt; ^~~ setupMode.cc:103:7: warning: unused variable 'w' [-Wunused-variable] int w,h; ^ setupMode.cc:103:9: warning: unused variable 'h' [-Wunused-variable] int w,h; ^ setupMode.cc: In member function 'virtual void SetupMode::key(int)': setupMode.cc:280:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(len == 19) { playEffect(SFX_PLAYER_DIES); return; } ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-pipeConnector.o `test -f 'pipeConnector.cc' || echo './'`pipeConnector.cc gamer.cc: In member function 'void Gamer::reloadNames()': gamer.cc:176:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;id_name)-4;i++) ~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-diamond.o `test -f 'diamond.cc' || echo './'`diamond.cc In file included from smartTrigger.cc:22:0: smartTrigger.h: In constructor 'SmartTrigger::SmartTrigger(Real, Real, Real, SCM, SCM)': smartTrigger.h:36:16: warning: 'SmartTrigger::leaving' will be initialized after [-Wreorder] SCM entering,leaving; ^~~~~~~ smartTrigger.h:34:7: warning: 'int SmartTrigger::wasIn' [-Wreorder] int wasIn; ^~~~~ smartTrigger.cc:29:1: warning: when initialized here [-Wreorder] SmartTrigger::SmartTrigger(Real x,Real y,Real radius,SCM entering,SCM leaving) ^~~~~~~~~~~~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-helpMode.o `test -f 'helpMode.cc' || echo './'`helpMode.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-animator.o `test -f 'animator.cc' || echo './'`animator.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-cactus.o `test -f 'cactus.cc' || echo './'`cactus.cc diamond.cc: In member function 'virtual void Diamond::onGet()': diamond.cc:105:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_GOT_FLAG); ^ diamond.cc:111:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] new Sign("Save point",6.0,1.0,60.0,signPos); ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-splash.o `test -f 'splash.cc' || echo './'`splash.cc helpMode.cc: In member function 'virtual void HelpMode::display()': helpMode.cc:179:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] {_("Tunnel:"), _("Takes you places, sometimes with great speed.")}}; ^ helpMode.cc:179:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] helpMode.cc:179:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] helpMode.cc:179:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] helpMode.cc:114:8: warning: unused variable 'str' [-Wunused-variable] char str[256]; ^~~ helpMode.cc:115:7: warning: unused variable 'w' [-Wunused-variable] int w,h; ^ helpMode.cc:115:9: warning: unused variable 'h' [-Wunused-variable] int w,h; ^ helpMode.cc: In member function 'virtual void HelpMode::idle(Real)': helpMode.cc:231:7: warning: unused variable 'mouseX' [-Wunused-variable] int mouseX, mouseY; ^~~~~~ helpMode.cc:231:15: warning: unused variable 'mouseY' [-Wunused-variable] int mouseX, mouseY; ^~~~~~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-teleport.o `test -f 'teleport.cc' || echo './'`teleport.cc In file included from animator.cc:23:0: animator.h: In constructor 'Animator::Animator(Real, Real, Real, Real, Real, int, SCM)': animator.h:42:18: warning: 'Animator::length' will be initialized after [-Wreorder] Real position, length; ^~~~~~ animator.h:42:8: warning: 'Real Animator::position' [-Wreorder] Real position, length; ^~~~~~~~ animator.cc:27:1: warning: when initialized here [-Wreorder] Animator::Animator(Real length,Real position,Real direction,Real v0, Real v1, int repeat,SCM fun) ^~~~~~~~ In file included from animator.cc:23:0: animator.h:42:8: warning: 'Animator::position' will be initialized after [-Wreorder] Real position, length; ^~~~~~~~ animator.h:41:8: warning: 'Real Animator::direction' [-Wreorder] Real direction; ^~~~~~~~~ animator.cc:27:1: warning: when initialized here [-Wreorder] Animator::Animator(Real length,Real position,Real direction,Real v0, Real v1, int repeat,SCM fun) ^~~~~~~~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-bird.o `test -f 'bird.cc' || echo './'`bird.cc cactus.cc: In member function 'virtual void Cactus::draw()': cactus.cc:63:10: warning: unused variable 'd1' [-Wunused-variable] double d1=Game::current->gameTime*1.0,d2=3.0,d3=0.5; ^~ cactus.cc:63:41: warning: unused variable 'd2' [-Wunused-variable] double d1=Game::current->gameTime*1.0,d2=3.0,d3=0.5; ^~ cactus.cc:63:48: warning: unused variable 'd3' [-Wunused-variable] double d1=Game::current->gameTime*1.0,d2=3.0,d3=0.5; ^~ cactus.cc: In member function 'virtual void Cactus::tick(Real)': cactus.cc:327:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_CACTUS_DIE); ^ cactus.cc:285:11: warning: unused variable 'p' [-Wunused-variable] Player *p = Game::current->player1; ^ splash.cc: In constructor 'Splash::Splash(double*, double*, GLfloat*, double, double)': splash.cc:30:9: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-fountain.o `test -f 'fountain.cc' || echo './'`fountain.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-sideSpike.o `test -f 'sideSpike.cc' || echo './'`sideSpike.cc teleport.cc: In member function 'virtual void Teleport::draw()': teleport.cc:59:10: warning: unused variable 'd1' [-Wunused-variable] double d1=Game::current->gameTime*1.0,d2=3.0,d3=0.5; ^~ teleport.cc:59:41: warning: unused variable 'd2' [-Wunused-variable] double d1=Game::current->gameTime*1.0,d2=3.0,d3=0.5; ^~ teleport.cc:59:48: warning: unused variable 'd3' [-Wunused-variable] double d1=Game::current->gameTime*1.0,d2=3.0,d3=0.5; ^~ bird.cc: In member function 'virtual void Bird::draw2()': bird.cc:106:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] bindTexture("wings.png"); ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-colorModifier.o `test -f 'colorModifier.cc' || echo './'`colorModifier.cc bird.cc: In member function 'virtual void Bird::tick(Real)': bird.cc:164:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_BIRD_DIE); ^ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-heightModifier.o `test -f 'heightModifier.cc' || echo './'`heightModifier.cc sideSpike.cc: In member function 'virtual void SideSpike::tick(Real)': sideSpike.cc:168:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_SPIKE, 0.66); ^ sideSpike.cc:170:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] playEffect(SFX_SPIKE, 0.66*(9.-dist)/3.); ^ sideSpike.cc:136:15: warning: unused variable 'dx' [-Wunused-variable] double dist,dx,dy,speed,h; ^~ sideSpike.cc:136:18: warning: unused variable 'dy' [-Wunused-variable] double dist,dx,dy,speed,h; ^~ sideSpike.cc:136:21: warning: unused variable 'speed' [-Wunused-variable] double dist,dx,dy,speed,h; ^~~~~ sideSpike.cc:137:7: warning: variable 'is_sinking' set but not used [-Wunused-but-set-variable] int is_sinking=0; ^~~~~~~~~~ sideSpike.cc:142:10: warning: unused variable 'x' [-Wunused-variable] double x=position[0],y=position[1],z=position[2]; ^ sideSpike.cc:142:24: warning: unused variable 'y' [-Wunused-variable] double x=position[0],y=position[1],z=position[2]; ^ sideSpike.cc:178:16: warning: variable 'bx' set but not used [-Wunused-but-set-variable] double sx,sy,bx,by; ^~ sideSpike.cc:178:19: warning: variable 'by' set but not used [-Wunused-but-set-variable] double sx,sy,bx,by; ^~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-sparkle2d.o `test -f 'sparkle2d.cc' || echo './'`sparkle2d.cc sideSpike.cc:265:2: warning: 'ol' may be used uninitialized in this function [-Wmaybe-uninitialized] if (ol && (aod < ball->radius + 0.1)) { ^~ sideSpike.cc:261:8: warning: 'od' may be used uninitialized in this function [-Wmaybe-uninitialized] aod = -od; ~~~~^~~~~ sideSpike.cc:249:16: warning: 'sy' may be used uninitialized in this function [-Wmaybe-uninitialized] (sy-ball->position[1])*(sy-ball->position[1])); ~~~^~~~~~~~~~~~~~~~~~~ sideSpike.cc:248:16: warning: 'sx' may be used uninitialized in this function [-Wmaybe-uninitialized] dist= sqrt((sx-ball->position[0])*(sx-ball->position[0]) + ~~~^~~~~~~~~~~~~~~~~~~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-image.o `test -f 'image.cc' || echo './'`image.cc image.cc: In function 'Image* ImageOpen(char*)': image.cc:62:67: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(stderr, "Cannot allocate '%d' bytes.\n", sizeof(Image)); ^ image.cc: In function 'IMAGE* ImageLoad(char*)': image.cc:233:67: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(stderr, "Cannot allocate '%d' bytes.\n", sizeof(IMAGE)); ^ image.cc:256:94: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(stderr, "Cannot allocate '%d' bytes.\n", sx * image->sizeY * sizeof(unsigned int)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ image.cc: In function 'void read_2d_image_rgb(char*, unsigned char**, int*, int*)': image.cc:286:134: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(stderr, "Cannot allocate '%d' bytes for image '%s'\n", sizeof(unsigned char)*base_image->sizeX*base_image->sizeY*4, image); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ image.cc: In function 'Image* ImageOpen(char*)': image.cc:73:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(image, 1, 12, image->file); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ image.cc:108:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(image->rowStart, 1, x, image->file); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ image.cc:109:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(image->rowSize, 1, x, image->file); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ image.cc: In function 'void ImageGetRow(Image*, unsigned char*, int, int)': image.cc:150:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(image->tmp[0], 1, (unsigned int)image->rowSize[y+z*image->sizeY], ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ image->file); ~~~~~~~~~~~~ image.cc:182:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, image->sizeX, image->file); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-font.o `test -f 'font.cc' || echo './'`font.cc g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-calibrateJoystickMode.o `test -f 'calibrateJoystickMode.cc' || echo './'`calibrateJoystickMode.cc heightModifier.cc: In member function 'virtual void HeightModifier::tick(Real)': heightModifier.cc:78:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ heightModifier.cc:138:22: warning: 'cor3' may be used uninitialized in this function [-Wmaybe-uninitialized] c3.heights[cor3] = v; ~~~~~~~~~~~~~~~~~^~~ heightModifier.cc:136:22: warning: 'cor2' may be used uninitialized in this function [-Wmaybe-uninitialized] c2.heights[cor2] = v; ~~~~~~~~~~~~~~~~~^~~ heightModifier.cc:134:22: warning: 'cor1' may be used uninitialized in this function [-Wmaybe-uninitialized] c1.heights[cor1] = v; ~~~~~~~~~~~~~~~~~^~~ heightModifier.cc:81:27: warning: 'y3' may be used uninitialized in this function [-Wmaybe-uninitialized] int x1, y1, x2, y2, x3, y3; ^~ In file included from heightModifier.cc:30:0: map.h:69:34: warning: 'x3' may be used uninitialized in this function [-Wmaybe-uninitialized] return cells[(x<0?0:(x>=width?width-1:x))+width*(y<0?0:(y>=height?height-1:y))]; ~~~~~~~~~^~~~~~~~~~~ heightModifier.cc:81:23: note: 'x3' was declared here int x1, y1, x2, y2, x3, y3; ^~ heightModifier.cc:81:19: warning: 'y2' may be used uninitialized in this function [-Wmaybe-uninitialized] int x1, y1, x2, y2, x3, y3; ^~ In file included from heightModifier.cc:30:0: map.h:69:34: warning: 'x2' may be used uninitialized in this function [-Wmaybe-uninitialized] return cells[(x<0?0:(x>=width?width-1:x))+width*(y<0?0:(y>=height?height-1:y))]; ~~~~~~~~~^~~~~~~~~~~ heightModifier.cc:81:15: note: 'x2' was declared here int x1, y1, x2, y2, x3, y3; ^~ heightModifier.cc:81:11: warning: 'y1' may be used uninitialized in this function [-Wmaybe-uninitialized] int x1, y1, x2, y2, x3, y3; ^~ In file included from heightModifier.cc:30:0: map.h:69:34: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized] return cells[(x<0?0:(x>=width?width-1:x))+width*(y<0?0:(y>=height?height-1:y))]; ~~~~~~~~~^~~~~~~~~~~ heightModifier.cc:81:7: note: 'x1' was declared here int x1, y1, x2, y2, x3, y3; ^~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-menusystem.o `test -f 'menusystem.cc' || echo './'`menusystem.cc sparkle2d.cc: In member function 'void Sparkle2D::draw()': sparkle2d.cc:195:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] bindTexture("glitter.png"); ^ sparkle2d.cc:190:10: warning: unused variable 'sparkleTex' [-Wunused-variable] GLuint sparkleTex; ^~~~~~~~~~ g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -DSHARE_DIR=\"/usr/share/trackballs\" -DPACKAGE=\"trackballs\" -DVERSION=\"1.1.4\" -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -pthread -I./ -I../ -DALT_HIGHSCORES=\"~\" -DDEFAULT_RESOLUTION=1 -c -o trackballs-weather.o `test -f 'weather.cc' || echo './'`weather.cc font.cc: In member function 'int Font::figureFontInfo(void*, int, int)': font.cc:133:28: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset(char_access,0,2048); ^ font.cc: In member function 'int Font::l_getTextWidth(const char*, float)': font.cc:530:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i