<86>Feb 11 00:52:13 userdel[97506]: delete user 'rooter' <86>Feb 11 00:52:13 userdel[97506]: removed group 'rooter' owned by 'rooter' <86>Feb 11 00:52:13 groupadd[97529]: group added to /etc/group: name=rooter, GID=579 <86>Feb 11 00:52:13 groupadd[97529]: group added to /etc/gshadow: name=rooter <86>Feb 11 00:52:13 groupadd[97529]: new group: name=rooter, GID=579 <86>Feb 11 00:52:13 useradd[97557]: new user: name=rooter, UID=579, GID=579, home=/root, shell=/bin/bash <86>Feb 11 00:52:13 userdel[97645]: delete user 'builder' <86>Feb 11 00:52:13 userdel[97645]: removed group 'builder' owned by 'builder' <86>Feb 11 00:52:13 userdel[97645]: removed shadow group 'builder' owned by 'builder' <86>Feb 11 00:52:13 groupadd[97671]: group added to /etc/group: name=builder, GID=580 <86>Feb 11 00:52:13 groupadd[97671]: group added to /etc/gshadow: name=builder <86>Feb 11 00:52:13 groupadd[97671]: new group: name=builder, GID=580 <86>Feb 11 00:52:13 useradd[97693]: new user: name=builder, UID=580, GID=580, home=/usr/src, shell=/bin/bash <13>Feb 11 00:52:17 rpmi: libglvnd-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Feb 11 00:52:17 rpmi: libogg-1.3.3-alt1 sisyphus.217914.100 1545006089 installed <13>Feb 11 00:52:17 rpmi: libflac8-1.3.2-alt1 1507623526 installed <13>Feb 11 00:52:17 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Feb 11 00:52:17 rpmi: libjpeg-2:1.5.1-alt1 1498218302 installed <13>Feb 11 00:52:17 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Feb 11 00:52:17 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Feb 11 00:52:17 rpmi: libwayland-server-1.16.0-alt1 1535614868 installed <13>Feb 11 00:52:17 rpmi: libtiff5-4.0.3-alt1 1348347498 installed <13>Feb 11 00:52:17 rpmi: libOpenGL-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Feb 11 00:52:17 rpmi: libGLES-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Feb 11 00:52:17 rpmi: libmad-0.15.1b-alt9 sisyphus.218643.100 1545854954 installed <13>Feb 11 00:52:17 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Feb 11 00:52:17 rpmi: libpng15-1.5.28-alt2 1497966592 installed <13>Feb 11 00:52:17 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Feb 11 00:52:17 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333060 installed <13>Feb 11 00:52:17 rpmi: liblz4-1:1.8.3-alt2 sisyphus.217095.200 1547082320 installed <13>Feb 11 00:52:17 rpmi: libgpg-error-1.31-alt1.S1 1529015796 installed <13>Feb 11 00:52:17 rpmi: libgcrypt20-1.8.3-alt4 sisyphus.218050.200 1545223148 installed <13>Feb 11 00:52:17 rpmi: libsystemd-1:240-alt4 sisyphus.219244.100 1547241418 installed <13>Feb 11 00:52:17 rpmi: libdbus-1.12.12-alt1 sisyphus.217336.100 1544000947 installed <13>Feb 11 00:52:17 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Feb 11 00:52:17 rpmi: libalsa-1:1.1.8-alt1 sisyphus+219888.100.4.1 1548752822 installed <13>Feb 11 00:52:17 rpmi: libxshmfence-1.2-alt2 1518613549 installed <13>Feb 11 00:52:17 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Feb 11 00:52:17 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Feb 11 00:52:17 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Feb 11 00:52:17 rpmi: libxcb-1.13.1-alt1 sisyphus.214413.100 1539170828 installed <13>Feb 11 00:52:18 rpmi: libX11-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Feb 11 00:52:18 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Feb 11 00:52:18 rpmi: libpulseaudio-12.2-alt1 1535623578 installed <13>Feb 11 00:52:18 rpmi: libmikmod-3.3.11.1-alt2 1502706813 installed <13>Feb 11 00:52:18 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Feb 11 00:52:18 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Feb 11 00:52:18 rpmi: libXfixes-5.0.3-alt1 sisyphus.216396.300 1542022144 installed <13>Feb 11 00:52:18 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Feb 11 00:52:18 rpmi: libXrandr-1.5.0-alt1 1431936188 installed <13>Feb 11 00:52:18 rpmi: libSDL-1.2.14-alt7 1483707267 installed <13>Feb 11 00:52:18 rpmi: libSDL_image-1.2.12-alt1 1347907933 installed <13>Feb 11 00:52:18 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Feb 11 00:52:18 rpmi: libSDL_net-1.2.8-alt1 1333963621 installed <13>Feb 11 00:52:19 rpmi: libxcb-devel-1.13.1-alt1 sisyphus.214413.100 1539170828 installed <13>Feb 11 00:52:19 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus.214413.200 1539171080 installed <13>Feb 11 00:52:19 rpmi: libwayland-client-1.16.0-alt1 1535614868 installed <13>Feb 11 00:52:19 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed <13>Feb 11 00:52:19 rpmi: libdrm-1:2.4.97-alt1 sisyphus+220483.100.1.1 1549270237 installed <13>Feb 11 00:52:19 rpmi: libGLX-mesa-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549272358 installed <13>Feb 11 00:52:19 rpmi: libGLX-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Feb 11 00:52:19 rpmi: libGL-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Feb 11 00:52:19 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Feb 11 00:52:19 rpmi: libgbm-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549272358 installed <13>Feb 11 00:52:19 rpmi: libEGL-mesa-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549272358 installed <13>Feb 11 00:52:19 rpmi: libEGL-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Feb 11 00:52:19 rpmi: libglvnd-devel-7:1.1.0-alt3 sisyphus.215982.100 1541498630 installed <13>Feb 11 00:52:19 rpmi: libEGL-devel-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549272358 installed <13>Feb 11 00:52:19 rpmi: libGL-devel-4:18.3.3-alt1 sisyphus+220483.200.1.1 1549272358 installed <13>Feb 11 00:52:19 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Feb 11 00:52:19 rpmi: libSDL-devel-1.2.14-alt7 1483707267 installed <13>Feb 11 00:52:19 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus.218115.200 1545282875 installed <13>Feb 11 00:52:19 rpmi: libstdc++8-devel-8.2.1-alt4 sisyphus+221014.100.1.1 1549626167 installed <13>Feb 11 00:52:20 rpmi: gcc8-c++-8.2.1-alt4 sisyphus+221014.100.1.1 1549626167 installed <13>Feb 11 00:52:20 rpmi: gcc-c++-8-alt1 sisyphus.214000.40 1542664792 installed <13>Feb 11 00:52:20 rpmi: libSDL_image-devel-1.2.12-alt1 1347907933 installed <13>Feb 11 00:52:20 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Feb 11 00:52:20 rpmi: libSDL_net-devel-1.2.8-alt1 1333963621 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/bloboats-1.0.2-alt2.nosrc.rpm Installing bloboats-1.0.2-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.27179 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf bloboats-1.0.2 + echo 'Source #0 (bloboats-1.0.2.tar.gz):' Source #0 (bloboats-1.0.2.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/bloboats-1.0.2.tar.gz + /bin/tar -xf - + cd bloboats-1.0.2 + /bin/chmod -c -Rf u+rwX,go-w . + sed -i s/ghostfile=false/ghostfile=NULL/ src/menu.cpp + cat + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.34527 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd bloboats-1.0.2 + make -j8 PREFIX= DATADIR=/usr/share/bloboats make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' echo "datadir /usr/share/bloboats" >bloboats.dirs echo "privatedir ~/.bloboats" >>bloboats.dirs chmod 644 bloboats.dirs echo "#define DEFAULT_CONFIGFILE \"/etc/bloboats.dirs\"" >src/compiling_settings.h echo "#define SOUND 1" >> src/compiling_settings.h echo "#define MUSIC 1" >> src/compiling_settings.h echo "#define DEBUG 0" >> src/compiling_settings.h make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/mouse.o src/mouse.cpp make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/window.o src/window.cpp In file included from src/window.h:24, from src/window.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from src/window.h:24, from src/window.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/vec.o src/vec.cpp src/vec.cpp: In member function 'void vec::display()': src/vec.cpp:62:10: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'vec*' [-Wformat=] printf ("Vector at %s: x:%f y:%f\n", this, x, y); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/wall.o src/wall.cpp In file included from src/wall.h:24, from src/wall.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from src/wall.h:24, from src/wall.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/particle.o src/particle.cpp In file included from src/wall.h:24, from src/particle.h:24, from src/particle.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from src/wall.h:24, from src/particle.h:24, from src/particle.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/compat.o src/compat.cpp make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/spring.o src/spring.cpp In file included from src/graphics.h:28, from src/spring.h:23, from src/spring.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from src/graphics.h:28, from src/spring.h:23, from src/spring.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/main.o src/main.cpp In file included from src/main.cpp:21: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from src/main.cpp:21: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 src/main.cpp: In function 'int main(int, char**)': src/main.cpp:200:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] SDL_Surface *icon = Graphics.LoadPicture( Path->data("images/icon.png") ); ^ src/main.cpp:224:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Window.SetTitle("Bloboats", "Bloboats"); ^ src/main.cpp:224:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/graphics.o src/graphics.cpp In file included from src/graphics.h:28, from src/graphics.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from src/graphics.h:28, from src/graphics.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/keyboard.o src/keyboard.cpp In file included from src/window.h:24, from src/keyboard.h:26, from src/keyboard.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from src/window.h:24, from src/keyboard.h:26, from src/keyboard.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/model.o src/model.cpp In file included from src/graphics.h:28, from src/model.h:27, from src/model.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from src/graphics.h:28, from src/model.h:27, from src/model.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/model_tex.o src/model_tex.cpp In file included from src/model_tex.h:23, from src/model_tex.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from src/model_tex.h:23, from src/model_tex.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/font.o src/font.cpp In file included from src/font.h:26, from src/font.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from src/font.h:26, from src/font.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 src/font.cpp: In member function 'void font::Initialize(int)': src/font.cpp:49:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texID = Graphics.maketexture( Path->data("fonts/font.png") ); ^ src/font.cpp:52:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] texID = Graphics.maketexture( Path->data("fonts/font2.png") ); ^ make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/player.o src/player.cpp make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/config.o src/config.cpp src/config.cpp: In member function 'void config::load()': src/config.cpp:71:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] FILE *fp = fopen( Path->priv("config.dat"), "r"); ^ src/config.cpp: In member function 'void config::save()': src/config.cpp:166:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] FILE *fp = fopen( Path->priv("config.dat"), "w+"); ^ src/config.cpp: In member function 'void config::load()': src/config.cpp:74:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "resolution %d\n", &temp); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/media.o src/media.cpp src/media.cpp: In member function 'void media::LoadStuff()': src/media.cpp:65:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] vroom = sound::LoadWAV( Path->data("sounds/vroom.wav") ); ^ src/media.cpp:66:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] finish = sound::LoadWAV( Path->data("sounds/finish.wav") ); ^ src/media.cpp:67:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] splash = sound::LoadWAV( Path->data("sounds/splash.wav") ); ^ src/media.cpp:68:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menuselect = sound::LoadWAV( Path->data("sounds/menuselect.wav") ); ^ src/media.cpp:69:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menuenter = sound::LoadWAV( Path->data("sounds/menuenter.wav") ); ^ src/media.cpp:70:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] clonk = sound::LoadWAV( Path->data("sounds/clonk.wav") ); ^ src/media.cpp:71:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] roarr = sound::LoadWAV( Path->data("sounds/roarr.wav") ); ^ src/media.cpp:72:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] explosion = sound::LoadWAV( Path->data("sounds/explosion.wav") ); ^ src/media.cpp:73:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] bump = sound::LoadWAV( Path->data("sounds/bump.wav") ); ^ src/media.cpp:76:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music[0] = sound::LoadMusic( Path->data("sounds/music0.ogg") ); ^ src/media.cpp:77:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music[1] = sound::LoadMusic( Path->data("sounds/music1.ogg") ); ^ src/media.cpp:78:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music[2] = sound::LoadMusic( Path->data("sounds/music2.ogg") ); ^ src/media.cpp:79:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] music[3] = sound::LoadMusic( Path->data("sounds/music3.ogg") ); ^ make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/sound.o src/sound.cpp src/sound.cpp: In function 'Mix_Chunk* sound::LoadWAV(char*)': src/sound.cpp:70:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1plus: some warnings being treated as errors make: *** [: src/sound.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/level.o src/level.cpp In file included from src/level.h:24, from src/level.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from src/level.h:24, from src/level.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/models/canvas.o src/models/canvas.cpp In file included from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/canvas.h:24, from src/models/canvas.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/canvas.h:24, from src/models/canvas.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/path.o src/path.cpp make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/menutext.o src/menutext.cpp In file included from src/window.h:24, from src/menutext.h:39, from src/menutext.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from src/window.h:24, from src/menutext.h:39, from src/menutext.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/models/paatti.o src/models/paatti.cpp In file included from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/paatti.h:23, from src/models/paatti.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from src/models/../graphics.h:28, from src/models/../model.h:27, from src/models/paatti.h:23, from src/models/paatti.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 src/models/paatti.cpp: In constructor 'paatti::paatti(double, double, double, double, char*)': src/models/paatti.cpp:53:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (!loadmodel( "models/paatti.mdl" , cx, cy, angle, scale, hardness, -400.0) ) { ^ src/models/paatti.cpp:54:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fprintf (stderr, "Couldn't interpret \"%s\"! Critical!\n", Path->data("models/paatti.mdl") ); ^ make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/game.o src/game.cpp In file included from src/game.h:24, from src/game.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from src/game.h:24, from src/game.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' make: Entering directory '/usr/src/RPM/BUILD/bloboats-1.0.2' g++ -g `sdl-config --cflags` -o bin/bloboats -O2 -c -o src/menu.o src/menu.cpp In file included from src/game.h:24, from src/menu.h:24, from src/menu.cpp:20: /usr/include/SDL/SDL_opengl.h:116: warning: "GL_GLEXT_VERSION" redefined #define GL_GLEXT_VERSION 29 In file included from /usr/include/GL/gl.h:2055, from /usr/include/SDL/SDL_opengl.h:46, from src/game.h:24, from src/menu.h:24, from src/menu.cpp:20: /usr/include/GL/glext.h:54: note: this is the location of the previous definition #define GL_GLEXT_VERSION 20180725 src/menu.cpp: In member function 'void menu::mainmenu()': src/menu.cpp:76:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] blobcanvas = new canvas( vec(-10.0, 25.0), 30.0, 30.0*0.43, 15, 15, "images/bloboats.png" ); ^ src/menu.cpp:99:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (! Path->copydir( Path->data("defaults/private"), Path->privdir, 0) ) { ^ src/menu.cpp:111:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] FILE *fp = fopen( Path->priv("players.dat") , "r"); ^ src/menu.cpp:131:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Player[i].setnick(""); ^ src/menu.cpp:137:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Player[i].setnick(""); ^ src/menu.cpp:207:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[6]={ menutext("PLAY GAME"), menutext("SELECT PLAYER"), menutext("VIEW RECORDS"), menutext("SCOREBOARD"), ^ src/menu.cpp:207:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[6]={ menutext("PLAY GAME"), menutext("SELECT PLAYER"), menutext("VIEW RECORDS"), menutext("SCOREBOARD"), ^ src/menu.cpp:207:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[6]={ menutext("PLAY GAME"), menutext("SELECT PLAYER"), menutext("VIEW RECORDS"), menutext("SCOREBOARD"), ^ src/menu.cpp:207:118: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[6]={ menutext("PLAY GAME"), menutext("SELECT PLAYER"), menutext("VIEW RECORDS"), menutext("SCOREBOARD"), ^ src/menu.cpp:208:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("OPTIONS"),menutext("QUIT") }; ^ src/menu.cpp:208:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("OPTIONS"),menutext("QUIT") }; ^ src/menu.cpp: In member function 'void menu::options()': src/menu.cpp:366:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[items]={ menutext("*OPTIONS"), menutext("RESOLUTION"), menutext("SHOW GHOST"), ^ src/menu.cpp:366:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[items]={ menutext("*OPTIONS"), menutext("RESOLUTION"), menutext("SHOW GHOST"), ^ src/menu.cpp:366:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[items]={ menutext("*OPTIONS"), menutext("RESOLUTION"), menutext("SHOW GHOST"), ^ src/menu.cpp:367:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("DECORATION"), menutext("CONTROLS"), menutext("SOUND OPTIONS"),/* menutext("UPLOAD SCORES"), */menutext("BACK") }; ^ src/menu.cpp:367:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("DECORATION"), menutext("CONTROLS"), menutext("SOUND OPTIONS"),/* menutext("UPLOAD SCORES"), */menutext("BACK") }; ^ src/menu.cpp:367:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("DECORATION"), menutext("CONTROLS"), menutext("SOUND OPTIONS"),/* menutext("UPLOAD SCORES"), */menutext("BACK") }; ^ src/menu.cpp:367:122: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("DECORATION"), menutext("CONTROLS"), menutext("SOUND OPTIONS"),/* menutext("UPLOAD SCORES"), */menutext("BACK") }; ^ src/menu.cpp:420:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] s = state("*SHOW GHOST?", Config.showghost); ^ src/menu.cpp: In member function 'bool menu::quit(bool)': src/menu.cpp:491:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[3]={ menutext("*QUIT?"), menutext("YES"), menutext("NO") }; ^ src/menu.cpp:491:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[3]={ menutext("*QUIT?"), menutext("YES"), menutext("NO") }; ^ src/menu.cpp:491:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[3]={ menutext("*QUIT?"), menutext("YES"), menutext("NO") }; ^ src/menu.cpp: In member function 'int menu::state(char*, int)': src/menu.cpp:588:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[3]={ menutext(text), menutext("YES"), menutext("NO") }; ^ src/menu.cpp:588:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[3]={ menutext(text), menutext("YES"), menutext("NO") }; ^ src/menu.cpp: In member function 'void menu::playgame()': src/menu.cpp:690:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item[0].settext("*SELECT LEVEL"); ^ src/menu.cpp:696:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item[levelcount+1].settext("BACK"); ^ src/menu.cpp: In member function 'void menu::simulate(Uint32, char*)': src/menu.cpp:1060:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] recfile = fopen( Path->priv("records/last.brc"), "wb"); ^ src/menu.cpp:1073:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] sprintf (tpath, "%s%d%s", Path->data("levels/meri"), level, ".tdt"); ^ src/menu.cpp:1298:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] copylevel( Path->priv("records/last.brc"), ghostpath); ^ src/menu.cpp: In member function 'void menu::levelstats(Uint32)': src/menu.cpp:1321:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[items]={ menutext( title ), menutext("PLAY"), menutext("PLAY NEXT"), ^ src/menu.cpp:1321:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[items]={ menutext( title ), menutext("PLAY"), menutext("PLAY NEXT"), ^ src/menu.cpp:1322:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("REPLAY LAST"), menutext("SAVE REPLAY"), menutext("SCOREBOARD"), ^ src/menu.cpp:1322:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("REPLAY LAST"), menutext("SAVE REPLAY"), menutext("SCOREBOARD"), ^ src/menu.cpp:1322:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("REPLAY LAST"), menutext("SAVE REPLAY"), menutext("SCOREBOARD"), ^ src/menu.cpp:1323:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("BACK") }; ^ src/menu.cpp: In member function 'void menu::resolution()': src/menu.cpp:1587:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item.push_back(menutext("*RESOLUTION:")); ^ src/menu.cpp:1591:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item.push_back(menutext("")); ^ src/menu.cpp:1592:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item.push_back("BACK"); ^ src/menu.cpp:1689:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (Config.fullscreen) item[items-2].settext("WINDOWED"); ^ src/menu.cpp:1690:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else item[items-2].settext("FULLSCREEN"); ^ src/menu.cpp: In member function 'void menu::decoration()': src/menu.cpp:1710:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("*DECORATION?"), ^ src/menu.cpp:1711:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("YES"), ^ src/menu.cpp:1712:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("NO"), ^ src/menu.cpp:1713:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("NEGATIVE") }; ^ src/menu.cpp: In member function 'void menu::showghost()': src/menu.cpp:1804:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("*SHOW GHOST?"), ^ src/menu.cpp:1805:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("YES"), ^ src/menu.cpp:1806:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("NO") }; ^ src/menu.cpp: In member function 'bool menu::selectplayer()': src/menu.cpp:1896:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item[0].settext("*SELECT PLAYER:"); ^ src/menu.cpp:1899:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else item[i+1].settext("ENTER NAME"); ^ src/menu.cpp:1901:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item[7].settext("BACK"); ^ src/menu.cpp:1981:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item[selection].settext("ENTER NAME"); ^ src/menu.cpp: In member function 'bool menu::entername(int)': src/menu.cpp:2027:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item[0].settext("*ENTER NAME:"); ^ src/menu.cpp:2028:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item[1].settext(""); ^ src/menu.cpp: In member function 'bool menu::eraseplayer(int)': src/menu.cpp:2156:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext(""), ^ src/menu.cpp:2157:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("YES"), ^ src/menu.cpp:2158:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("NO") }; ^ src/menu.cpp: In member function 'void menu::scoreboard(Uint32)': src/menu.cpp:2307:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[2]={menutext( (char*)levelname[level].c_str() ), menutext("BACK") }; ^ src/menu.cpp: In member function 'bool menu::saverecord(Uint32)': src/menu.cpp:2435:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item[0].settext("*FILE NAME:"); ^ src/menu.cpp:2436:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item[1].settext(""); ^ src/menu.cpp:2499:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] sprintf (to, Path->priv("records/%s.brc"), path); ^ src/menu.cpp:2503:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ok = state("*OVERWRITE?", 1); ^ src/menu.cpp:2506:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] copylevel( Path->priv("records/last.brc"), to); ^ src/menu.cpp: In member function 'void menu::loadrecord()': src/menu.cpp:2550:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item[0].settext("*FILE NAME:"); ^ src/menu.cpp:2551:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item[1].settext(""); ^ src/menu.cpp: In member function 'void menu::savetimes_player()': src/menu.cpp:2659:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] FILE *fp = fopen( Path->priv("players.dat"), "w"); ^ src/menu.cpp: In member function 'void menu::savetimes_public()': src/menu.cpp:2697:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] FILE *fp = fopen( Path->priv("levels.dat"), "w"); ^ src/menu.cpp:2711:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fprintf (stderr, "Couldn't save \"%s\"\n", Path->priv("levels.dat") ); ^ src/menu.cpp: In member function 'void menu::allhigh()': src/menu.cpp:2725:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item[0].settext("*SCOREBOARD"); ^ src/menu.cpp:2751:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item[levelcount+1].settext("BACK"); ^ src/menu.cpp: In member function 'void menu::viewrecordlist()': src/menu.cpp:2935:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item.push_back( menutext("*SELECT RECORD") ); ^ src/menu.cpp:2939:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DIR *dir = opendir( Path->priv("records/") ); ^ src/menu.cpp:2957:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (compat::Str_CheckLastChars(p->d_name, ".brc")) { ^ src/menu.cpp:2978:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] item.push_back(menutext("BACK")); ^ src/menu.cpp:3081:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] int i = state("*DELETE RECORD?", 0); ^ src/menu.cpp: In member function 'void menu::drawcanvas()': src/menu.cpp:3248:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Font.WriteString("-", Window.width - 40, 10.0, 30); ^ src/menu.cpp:3249:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] Font.WriteString("-", Window.width - 40, 40.0, 30); ^ src/menu.cpp: In member function 'void menu::loadtimes_public()': src/menu.cpp:3267:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] FILE *fp = fopen(Path->priv("levels.dat"), "r"); ^ src/menu.cpp:3270:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] string origpath = Path->data("defaults/private/levels.dat"); ^ src/menu.cpp:3271:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] string newpath = Path->priv("levels.dat"); ^ src/menu.cpp:3278:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fp = fopen(Path->priv("levels.dat"), "r"); ^ src/menu.cpp:3309:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] fprintf (stderr, "Error in \"%s\". Critical!\n", Path->priv("levels.dat") ); ^ src/menu.cpp: In member function 'void menu::controls()': src/menu.cpp:3332:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[items]={ menutext("*CONTROLS"), menutext("THRUST"), menutext("REVERSE"), ^ src/menu.cpp:3332:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[items]={ menutext("*CONTROLS"), menutext("THRUST"), menutext("REVERSE"), ^ src/menu.cpp:3332:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[items]={ menutext("*CONTROLS"), menutext("THRUST"), menutext("REVERSE"), ^ src/menu.cpp:3333:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("C-CWISE"), menutext("CWISE"), menutext("JUMP"), menutext("TURN"), ^ src/menu.cpp:3333:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("C-CWISE"), menutext("CWISE"), menutext("JUMP"), menutext("TURN"), ^ src/menu.cpp:3333:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("C-CWISE"), menutext("CWISE"), menutext("JUMP"), menutext("TURN"), ^ src/menu.cpp:3333:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("C-CWISE"), menutext("CWISE"), menutext("JUMP"), menutext("TURN"), ^ src/menu.cpp:3334:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("ZOOM IN"), menutext("ZOOM OUT"), menutext("PAUSE"), menutext("BACK") }; ^ src/menu.cpp:3334:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("ZOOM IN"), menutext("ZOOM OUT"), menutext("PAUSE"), menutext("BACK") }; ^ src/menu.cpp:3334:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("ZOOM IN"), menutext("ZOOM OUT"), menutext("PAUSE"), menutext("BACK") }; ^ src/menu.cpp:3334:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext("ZOOM IN"), menutext("ZOOM OUT"), menutext("PAUSE"), menutext("BACK") }; ^ src/menu.cpp:3378:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] setkey( KEY_THRUST, "*THRUST KEY?" ); ^ src/menu.cpp:3381:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] setkey( KEY_REVERSE, "*REVERSE KEY?" ); ^ src/menu.cpp:3384:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] setkey( KEY_CCW, "*C-CWISE KEY?" ); ^ src/menu.cpp:3387:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] setkey( KEY_CW, "*CWISE KEY?" ); ^ src/menu.cpp:3390:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] setkey( KEY_JUMP, "*JUMP KEY?" ); ^ src/menu.cpp:3393:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] setkey( KEY_TURN, "*TURN KEY?" ); ^ src/menu.cpp:3396:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] setkey( KEY_ZOOMIN, "*ZOOM IN KEY?" ); ^ src/menu.cpp:3399:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] setkey( KEY_ZOOMOUT, "*ZOOM OUT KEY?" ); ^ src/menu.cpp:3402:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] setkey( KEY_PAUSE, "*PAUSE KEY?" ); ^ src/menu.cpp: In member function 'void menu::soundoptions()': src/menu.cpp:3623:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[items]={ menutext("*SOUND OPTIONS:"), menutext(""), menutext(""), menutext("BACK") }; ^ src/menu.cpp:3623:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[items]={ menutext("*SOUND OPTIONS:"), menutext(""), menutext(""), menutext("BACK") }; ^ src/menu.cpp:3623:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[items]={ menutext("*SOUND OPTIONS:"), menutext(""), menutext(""), menutext("BACK") }; ^ src/menu.cpp:3623:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] menutext item[items]={ menutext("*SOUND OPTIONS:"), menutext(""), menutext(""), menutext("BACK") }; ^ make: Leaving directory '/usr/src/RPM/BUILD/bloboats-1.0.2' error: Bad exit status from /usr/src/tmp/rpm-tmp.34527 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.34527 (%build) Command exited with non-zero status 1 10.24user 0.83system 0:05.32elapsed 207%CPU (0avgtext+0avgdata 152180maxresident)k 0inputs+0outputs (0major+383261minor)pagefaults 0swaps hsh-rebuild: rebuild of `bloboats-1.0.2-alt2.src.rpm' failed. Command exited with non-zero status 1 22.66user 3.67system 0:29.02elapsed 90%CPU (0avgtext+0avgdata 152180maxresident)k 17480inputs+0outputs (0major+780838minor)pagefaults 0swaps