<86>Apr 14 00:43:40 userdel[99422]: delete user 'rooter' <86>Apr 14 00:43:40 userdel[99422]: removed group 'rooter' owned by 'rooter' <86>Apr 14 00:43:40 userdel[99422]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 14 00:43:40 groupadd[99437]: group added to /etc/group: name=rooter, GID=681 <86>Apr 14 00:43:40 groupadd[99437]: group added to /etc/gshadow: name=rooter <86>Apr 14 00:43:40 groupadd[99437]: new group: name=rooter, GID=681 <86>Apr 14 00:43:40 useradd[99451]: new user: name=rooter, UID=681, GID=681, home=/root, shell=/bin/bash <86>Apr 14 00:43:40 userdel[99492]: delete user 'builder' <86>Apr 14 00:43:40 userdel[99492]: removed group 'builder' owned by 'builder' <86>Apr 14 00:43:40 userdel[99492]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 00:43:40 groupadd[99511]: group added to /etc/group: name=builder, GID=682 <86>Apr 14 00:43:40 groupadd[99511]: group added to /etc/gshadow: name=builder <86>Apr 14 00:43:40 groupadd[99511]: new group: name=builder, GID=682 <86>Apr 14 00:43:40 useradd[99530]: new user: name=builder, UID=682, GID=682, home=/usr/src, shell=/bin/bash <13>Apr 14 00:43:43 rpmi: libogg-1.3.2-alt1 1416015875 installed <13>Apr 14 00:43:43 rpmi: xorg-xproto-devel-7.0.28-alt1 1448272470 installed <13>Apr 14 00:43:43 rpmi: libflac8-1.2.1-alt11.1 1434275120 installed <13>Apr 14 00:43:43 rpmi: libvorbis-1.3.4-alt1 1395615320 installed <13>Apr 14 00:43:43 rpmi: libmad-0.15.1b-alt8 1398374528 installed <13>Apr 14 00:43:43 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Apr 14 00:43:43 rpmi: libwrap-1:7.6-alt11 1297041305 installed <13>Apr 14 00:43:43 rpmi: libgsm-1.0.13-alt8 1365910842 installed <13>Apr 14 00:43:43 rpmi: libsndfile-1.0.28-alt1.M80P.1 p8.212938.100 1536756416 installed <13>Apr 14 00:43:43 rpmi: libjson-c-0.12-alt1 1401212997 installed <13>Apr 14 00:43:43 rpmi: liblz4-1:1.7.5-alt1 1488766699 installed <13>Apr 14 00:43:43 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Apr 14 00:43:43 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed <13>Apr 14 00:43:43 rpmi: libsystemd-1:237-alt2.M80P.6 p8+221965.100.2.1 1550786217 installed <13>Apr 14 00:43:43 rpmi: libdbus-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 14 00:43:43 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Apr 14 00:43:43 rpmi: libalsa-1:1.1.0-alt1.1.1 1454429213 installed <13>Apr 14 00:43:43 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531883 installed <13>Apr 14 00:43:43 rpmi: libxshmfence-1.2-alt1 1420972191 installed <13>Apr 14 00:43:43 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 14 00:43:43 rpmi: libpciaccess-1:0.13.4-alt1 1431681688 installed <13>Apr 14 00:43:43 rpmi: libdrm-1:2.4.89-alt1.M80P.1 1516609380 installed <13>Apr 14 00:43:43 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Apr 14 00:43:43 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Apr 14 00:43:43 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Apr 14 00:43:43 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 14 00:43:44 rpmi: libX11-3:1.6.3-alt1 1431956911 installed <13>Apr 14 00:43:44 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Apr 14 00:43:44 rpmi: libXxf86vm-1.1.3-alt1 1369984824 installed <13>Apr 14 00:43:44 rpmi: libpulseaudio-9.0-alt2 1469793979 installed <13>Apr 14 00:43:44 rpmi: libmikmod-3.3.8-alt1.1 1449204660 installed <13>Apr 14 00:43:44 rpmi: libXi-1.7.9-alt1.M80P.1 1515766146 installed <13>Apr 14 00:43:44 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Apr 14 00:43:44 rpmi: libXfixes-5.0.1-alt1 1369809606 installed <13>Apr 14 00:43:44 rpmi: libGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 00:43:44 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Apr 14 00:43:44 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Apr 14 00:43:44 rpmi: libXrandr-1.5.0-alt1 1431936188 installed <13>Apr 14 00:43:44 rpmi: libSDL-1.2.14-alt6.M80P.1 1483818219 installed <13>Apr 14 00:43:44 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Apr 14 00:43:44 rpmi: libfreeglut-3.0.0-alt1 1429173818 installed <13>Apr 14 00:43:45 rpmi: libxcb-devel-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 14 00:43:45 rpmi: libX11-devel-3:1.6.3-alt1 1431956911 installed <13>Apr 14 00:43:45 rpmi: libGL-devel-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 14 00:43:45 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Apr 14 00:43:45 rpmi: libSDL-devel-1.2.14-alt6.M80P.1 1483818219 installed <13>Apr 14 00:43:45 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Apr 14 00:43:45 rpmi: libstdc++5-devel-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 14 00:43:46 rpmi: gcc5-c++-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 14 00:43:46 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Apr 14 00:43:46 rpmi: libfreeglut-devel-3.0.0-alt1 1429173818 installed <13>Apr 14 00:43:46 rpmi: desktop-file-utils-0.22.0.patchset1-alt1 1412210843 installed Installing netherearth-0.52-alt2.qa1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.17124 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf netherearth-0.52 + echo 'Source #0 (netherearth-0.52.tar):' Source #0 (netherearth-0.52.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/netherearth-0.52.tar + cd netherearth-0.52 + echo 'Source #3 (netherearth-0.52-doc.tar):' Source #3 (netherearth-0.52-doc.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/netherearth-0.52-doc.tar + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (netherearth-0.52-alt.patch):' Patch #0 (netherearth-0.52-alt.patch): + /usr/bin/patch -p1 patching file 3dobject-ase.cpp patching file 3dobject.cpp patching file Makefile patching file bitmap.cpp patching file main.cpp + sed -e 's,@DATADIR@,/usr/share,g; s,@BINDIR@,/usr/bin,g' /usr/src/RPM/SOURCES/netherearth.run + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.17124 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd netherearth-0.52 + '[' -n '' ']' + NPROCS=8 + make -j8 make: Entering directory `/usr/src/RPM/BUILD/netherearth-0.52' g++ -c -pipe -Wall -g -O2 3dobject-ase.cpp -o 3dobject-ase.o g++ -c -pipe -Wall -g -O2 3dobject.cpp -o 3dobject.o g++ -c -pipe -Wall -g -O2 cmc.cpp -o cmc.o g++ -c -pipe -Wall -g -O2 nether.cpp -o nether.o g++ -c -pipe -Wall -g -O2 piece3dobject.cpp -o piece3dobject.o g++ -c -pipe -Wall -g -O2 vector.cpp -o vector.o g++ -c -pipe -Wall -g -O2 bitmap.cpp -o bitmap.o g++ -c -pipe -Wall -g -O2 bullet.cpp -o bullet.o 3dobject-ase.cpp: In member function 'bool C3DObject::loadASE(char*, char*)': 3dobject-ase.cpp:41:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MATERIAL_LIST",fp) || ^ 3dobject-ase.cpp:42:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] !lookfor("MATERIAL_COUNT",fp)) { ^ 3dobject-ase.cpp:57:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MATERIAL",fp) || ^ 3dobject-ase.cpp:58:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] !lookfor("MATERIAL_CLASS",fp) || ^ 3dobject-ase.cpp:71:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (lookforinside("MAP_DIFFUSE",fp) && ^ 3dobject-ase.cpp:72:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] lookfor("BITMAP",fp)) { ^ 3dobject-ase.cpp:95:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("NUMSUBMTLS",fp) || ^ 3dobject-ase.cpp:107:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("SUBMATERIAL",fp)) { ^ 3dobject-ase.cpp:111:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (lookforinside("MAP_DIFFUSE",fp) && ^ 3dobject-ase.cpp:112:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] lookfor("BITMAP",fp)) { ^ 3dobject-ase.cpp:137:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("GEOMOBJECT",fp) || ^ 3dobject-ase.cpp:138:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] !lookfor("MESH",fp)) { ^ 3dobject-ase.cpp:143:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_NUMVERTEX",fp) || ^ 3dobject-ase.cpp:152:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_NUMFACES",fp) || ^ 3dobject-ase.cpp:173:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_VERTEX_LIST",fp)) { ^ 3dobject-ase.cpp:182:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_VERTEX",fp) || ^ 3dobject-ase.cpp:193:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_FACE_LIST",fp)) { ^ 3dobject-ase.cpp:202:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_FACE",fp) || ^ 3dobject-ase.cpp:212:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_SMOOTHING",fp) || ^ 3dobject-ase.cpp:219:31: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_MTLID",fp) || ^ 3dobject-ase.cpp:229:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] int v=lookfor2("MESH_FACEMAPLIST","MESH_NUMTVERTEX",fp); ^ 3dobject-ase.cpp:229:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 3dobject-ase.cpp:241:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_FACEMAP",fp) || ^ 3dobject-ase.cpp:248:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_FACEMAPVERT",fp) || ^ 3dobject-ase.cpp:255:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_FACEMAPVERT",fp) || ^ 3dobject-ase.cpp:262:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_FACEMAPVERT",fp) || ^ 3dobject-ase.cpp:277:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] !lookfor("MESH_TVERTLIST",fp)) { ^ 3dobject-ase.cpp:284:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_TVERT",fp) || ^ 3dobject-ase.cpp:293:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_NUMTVFACES",fp) || ^ 3dobject-ase.cpp:295:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] !lookfor("MESH_TFACELIST",fp)) { ^ 3dobject-ase.cpp:305:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MESH_TFACE",fp) || ^ 3dobject-ase.cpp:326:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] if (!lookfor("MATERIAL_REF",fp) || ^ g++ -c -pipe -Wall -g -O2 glprintf.cpp -o glprintf.o cmc.cpp: In function 'bool plane_collision(float*, float*, float*, float*, float*, float*)': cmc.cpp:595:26: warning: operation on 'range_a[0]' may be undefined [-Wsequence-point] range_a[0]=range_a[0]=0; ^ cmc.cpp:661:26: warning: operation on 'range_b[0]' may be undefined [-Wsequence-point] range_b[0]=range_b[0]=0; ^ g++ -c -pipe -Wall -g -O2 main.cpp -o main.o nether.cpp: In member function 'void NETHER::loadobjects()': nether.cpp:249:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "models/grass2.ase","models/grass3.ase"}; ^ nether.cpp:249:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:249:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:249:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:249:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:249:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:249:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:249:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:249:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:249:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:249:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:249:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:252:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "models/flag.asc","models/highwall2.ase","models/warbase.ase"}; ^ nether.cpp:252:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:252:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:252:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:252:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:252:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:252:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:252:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:252:68: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:256:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "models/h-bipod-base.ase","models/h-bipod-rleg.ase","models/h-bipod-lleg.ase"}; ^ nether.cpp:256:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:256:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:256:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:256:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:256:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:256:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:256:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:256:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:256:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:256:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:260:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] "models/e-bipod-base.ase","models/e-bipod-rleg.ase","models/e-bipod-lleg.ase"}; ^ nether.cpp:260:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:260:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:260:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:260:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:260:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:260:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:260:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:260:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:260:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:260:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:261:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *bullnames[3]={"models/bullet1.asc","models/bullet2.asc","models/bullet3.asc"}; ^ nether.cpp:261:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:261:84: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:279:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] tile[i]=new C3DObject(tnames[i],"textures/"); ^ nether.cpp:297:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] building_tile[i]=new Shadow3DObject(bnames[i],"textures/"); ^ nether.cpp:308:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] piece_tile[0][i]=new Piece3DObject(pnames[i],"textures/"); ^ nether.cpp:311:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] piece_tile[1][i]=new Piece3DObject(pnames2[i],"textures/"); ^ nether.cpp:339:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ship=new Shadow3DObject("models/ship.asc","textures/"); ^ nether.cpp:339:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:346:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] bullet_tile[i]=new Piece3DObject(bullnames[i],"textures/"); ^ nether.cpp:356:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] construction_tile[0]=new C3DObject("models/construction1.asc","textures/"); ^ nether.cpp:356:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:357:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] construction_tile[1]=new C3DObject("models/construction2.asc","textures/"); ^ nether.cpp:357:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:358:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] construction_tile[2]=new C3DObject("models/construction3.asc","textures/"); ^ nether.cpp:358:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:363:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] message_tile[0]=new C3DObject("models/go.ase","textures/"); ^ nether.cpp:363:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:364:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] message_tile[1]=new C3DObject("models/youwin.ase","textures/"); ^ nether.cpp:364:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp:365:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] message_tile[2]=new C3DObject("models/gameover.ase","textures/"); ^ nether.cpp:365:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nether.cpp: In member function 'void NETHER::options_draw(int, int)': nether.cpp:1126:8: warning: unused variable 'lightpos2' [-Wunused-variable] float lightpos2[4]={0,0,1000,0}; ^ bullet.cpp: In member function 'bool NETHER::BulletCollision(BULLET*, ROBOT**)': bullet.cpp:184:19: warning: narrowing conversion of 'bullet->BULLET::pos.Vector::x' from 'double' to 'float' inside { } is ill-formed in C++11 [-Wnarrowing] bullet->pos.x,bullet->pos.y,0.3,1}; ^ bullet.cpp:184:33: warning: narrowing conversion of 'bullet->BULLET::pos.Vector::y' from 'double' to 'float' inside { } is ill-formed in C++11 [-Wnarrowing] bullet->pos.x,bullet->pos.y,0.3,1}; ^ nether.cpp: In member function 'bool NETHER::gamecycle(int, int)': nether.cpp:467:54: warning: iteration 322u invokes undefined behavior [-Waggressive-loop-optimizations] for(i=0;inormalize(); ^ myglutaux.cpp:68:25: warning: array subscript has type 'char' [-Wchar-subscripts] if (characters[text[i]]!=NULL) { ^ myglutaux.cpp:69:22: warning: array subscript has type 'char' [-Wchar-subscripts] characters[text[i]]->draw(r,g,b); ^ myglutaux.cpp: In function 'void DistributeVector(Vector, Vector, Vector*, Vector*)': myglutaux.cpp:308:9: warning: variable 'norma' set but not used [-Wunused-but-set-variable] double norma; ^ menu.cpp: In member function 'void NETHER::newmenu(int)': menu.cpp:26:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbutton(TIME_BUTTON,70,455,130,40,"Day: 0","Time: 00:00",0.8f,0,0); ^ menu.cpp:26:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:28:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(STATUS_BUTTON,70,400,130,50,"STATUS","INSG HUMN",0.0,0,0); ^ menu.cpp:28:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:29:71: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(RESOURCE_BUTTON,70,200,130,30,"RESOURCES",0,0.0,0,0); ^ menu.cpp:34:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ROBOT1_BUTTON,70,350,130,40,"DIRECT "," CONTROL",0,0,0.8f); ^ menu.cpp:34:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:35:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ROBOT2_BUTTON,70,300,130,40,"GIVE "," ORDERS",0,0,0.8f); ^ menu.cpp:35:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:36:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ROBOT3_BUTTON,70,250,130,40,"COMBAT "," MODE",0,0,0.8f); ^ menu.cpp:36:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:37:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ROBOT4_BUTTON,70,200,130,40,"LEAVE "," ROBOT",0,0,0.8f); ^ menu.cpp:37:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:42:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(COMBAT1_BUTTON,70,350,130,40,"NUCLEAR "," BOMB",0,0,0.8f); ^ menu.cpp:42:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:43:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(COMBAT2_BUTTON,70,300,130,40,"FIRE "," PHASERS",0,0,0.8f); ^ menu.cpp:43:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:44:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(COMBAT3_BUTTON,70,250,130,40,"FIRE "," MISSILES",0,0,0.8f); ^ menu.cpp:44:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:45:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(COMBAT4_BUTTON,70,200,130,40,"FIRE "," CANNON",0,0,0.8f); ^ menu.cpp:45:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:46:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(COMBAT5_BUTTON,70,150,130,40,"MOVE "," ROBOT",0,0,0.8f); ^ menu.cpp:46:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:47:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(COMBAT6_BUTTON,70,100,130,40,"STOP "," COMBAT",0,0,0.8f); ^ menu.cpp:47:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:52:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS1_BUTTON,70,350,130,40,"STOP AND "," DEFEND",0,0,0.8f); ^ menu.cpp:52:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:53:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS2_BUTTON,70,300,130,40,"ADVANCE "," ?? MILES",0,0,0.8f); ^ menu.cpp:53:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:54:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS3_BUTTON,70,250,130,40,"RETREAT "," ?? MILES",0,0,0.8f); ^ menu.cpp:54:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:55:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS4_BUTTON,70,200,130,40,"SEARCH & "," DESTROY",0,0,0.8f); ^ menu.cpp:55:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:56:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS5_BUTTON,70,150,130,40,"SEARCH & "," CAPTURE",0,0,0.8f); ^ menu.cpp:56:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:62:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS_BUTTON,70,400,130,40,"ADVANCE "," ?? MILES",0,0,0.8f); ^ menu.cpp:62:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:64:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS_BUTTON,70,400,130,40,"RETREAT "," ?? MILES",0,0,0.8f); ^ menu.cpp:64:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:69:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS_BUTTON,70,400,130,40,"SEARCH & "," DESTROY",0,0,0.8f); ^ menu.cpp:69:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:71:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(TARGET1_BUTTON,70,300,130,40,"ENEMY "," ROBOTS",0,0,0.8f); ^ menu.cpp:71:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:72:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(TARGET2_BUTTON,70,250,130,40,"ENEMY ","FACTORIES",0,0,0.8f); ^ menu.cpp:72:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:73:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(TARGET3_BUTTON,70,200,130,40,"ENEMY "," WARBASES",0,0,0.8f); ^ menu.cpp:73:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:78:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(ORDERS_BUTTON,70,400,130,40,"SEARCH & "," CAPTURE",0,0,0.8f); ^ menu.cpp:78:80: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:80:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(TARGET1_BUTTON,70,300,130,40,"NEUTRAL ","FACTORIES",0,0,0.8f); ^ menu.cpp:80:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:81:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(TARGET2_BUTTON,70,250,130,40,"ENEMY ","FACTORIES",0,0,0.8f); ^ menu.cpp:81:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] menu.cpp:82:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] newbuttondelayed(TARGET3_BUTTON,70,200,130,40,"ENEMY "," WARBASES",0,0,0.8f); ^ menu.cpp:82:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] nethercycle.cpp: In member function 'bool NETHER::cycle(unsigned char*)': nethercycle.cpp:1407:10: warning: unused variable 'damage' [-Wunused-variable] int damage=0; ^ g++ -c -pipe -Wall -g -O2 particles.cpp -o particles.o netherdebug.cpp: In member function 'bool NETHER::save_debug_report(char*)': netherdebug.cpp:110:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *tractions[3]={"BIPOD","TRACKS","ANTIGRAV"}; ^ netherdebug.cpp:110:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] netherdebug.cpp:110:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] netherdebug.cpp:111:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char *pieces[5]={"CANNONS","MISSILES","PHASERS","NUCLEAR","ELECTRONICS"}; ^ netherdebug.cpp:111:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] netherdebug.cpp:111:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] netherdebug.cpp:111:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] netherdebug.cpp:111:75: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] g++ -c -pipe -Wall -g -O2 construction.cpp -o construction.o g++ -c -pipe -Wall -g -O2 quaternion.cpp -o quaternion.o g++ -c -pipe -Wall -g -O2 radar.cpp -o radar.o g++ -c -pipe -Wall -g -O2 enemy_ai.cpp -o enemy_ai.o g++ -c -pipe -Wall -g -O2 robot_ai.cpp -o robot_ai.o g++ -c -pipe -Wall -g -O2 robots.cpp -o robots.o g++ -c -pipe -Wall -g -O2 shadow3dobject.cpp -o shadow3dobject.o enemy_ai.cpp: In member function 'void NETHER::AI_enemy()': enemy_ai.cpp:33:6: warning: variable 'state' set but not used [-Wunused-but-set-variable] int state=AI_STATE_EXPANDING; ^ radar.cpp:106:7: warning: "/*" within comment [-Wcomment] } /* if */ ^ shadow3dobject.cpp: In member function 'void Shadow3DObject::ComputeShadow(Vector)': shadow3dobject.cpp:73:17: warning: variable 'pry_ncaras' set but not used [-Wunused-but-set-variable] int *pry_caras,pry_ncaras; ^ robots.cpp:331:4: warning: "/*" within comment [-Wcomment] } /* switch */ ^ robots.cpp:361:4: warning: "/*" within comment [-Wcomment] } /* switch */ ^ enemy_ai.cpp:172:39: warning: 'robot_distance_sum' may be used uninitialized in this function [-Wmaybe-uninitialized] if (less_robots_around_warbase==0 || robot_distance_sum_current>robot_distance_sum) { ^ enemy_ai.cpp:132:38: warning: 'distance_to_enemy' may be used uninitialized in this function [-Wmaybe-uninitialized] closest_to_enemy_warbase->pos.ypos-b->pos).norma()ROBOT::pos.Vector::x' from 'double' to 'float' inside { } is ill-formed in C++11 [-Wnarrowing] r->pos.x,r->pos.y,r->pos.z,1}; ^ robots.cpp:425:23: warning: narrowing conversion of 'r->ROBOT::pos.Vector::y' from 'double' to 'float' inside { } is ill-formed in C++11 [-Wnarrowing] r->pos.x,r->pos.y,r->pos.z,1}; ^ robots.cpp:425:32: warning: narrowing conversion of 'r->ROBOT::pos.Vector::z' from 'double' to 'float' inside { } is ill-formed in C++11 [-Wnarrowing] r->pos.x,r->pos.y,r->pos.z,1}; ^ robots.cpp:436:14: warning: narrowing conversion of '((NETHER*)this)->NETHER::shipp.Vector::x' from 'double' to 'float' inside { } is ill-formed in C++11 [-Wnarrowing] shipp.x,shipp.y,shipp.z,1}; ^ robots.cpp:436:22: warning: narrowing conversion of '((NETHER*)this)->NETHER::shipp.Vector::y' from 'double' to 'float' inside { } is ill-formed in C++11 [-Wnarrowing] shipp.x,shipp.y,shipp.z,1}; ^ robots.cpp:436:30: warning: narrowing conversion of '((NETHER*)this)->NETHER::shipp.Vector::z' from 'double' to 'float' inside { } is ill-formed in C++11 [-Wnarrowing] shipp.x,shipp.y,shipp.z,1}; ^ robots.cpp: In member function 'bool ROBOT::bullethit(int)': robots.cpp:611:18: warning: 'damage' may be used uninitialized in this function [-Wmaybe-uninitialized] strength-=damage; ^ robot_ai.cpp: In member function 'int NETHER::AI_searchengine(Vector, int, int, Vector, int, int)': robot_ai.cpp:545:19: warning: 'mincost2' may be used uninitialized in this function [-Wmaybe-uninitialized] if (first2 || ^ robot_ai.cpp:534:66: warning: 'mincost' may be used uninitialized in this function [-Wmaybe-uninitialized] ((op->newpos+Vector(0.5,0.5,0)-goalpos).norma()==closer && op->costdeadend && bestop->deadend && closer!=0)) { ^ robot_ai.cpp:473:66: warning: 'mincost' may be used uninitialized in this function [-Wmaybe-uninitialized] ((op->newpos+Vector(0.5,0.5,0)-goalpos).norma()==closer && op->costdeadend && bestop->deadend && closer!=0)) { ^ robot_ai.cpp:415:33: warning: 'mincost' may be used uninitialized in this function [-Wmaybe-uninitialized] (op->newpos.y==further && op->costnewpos.ynewpos.y==further && op->costnewpos.y>further || ^ robot_ai.cpp: In member function 'int NETHER::AI_program_capture(int, Vector*, Vector, int, int, bool, int, bool*)': robot_ai.cpp:783:19: warning: 'minimumdistance' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!anygoal || distance