<86>Apr 21 00:42:48 userdel[15498]: delete user 'rooter' <86>Apr 21 00:42:48 userdel[15498]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 21 00:42:48 groupadd[15521]: group added to /etc/group: name=rooter, GID=531 <86>Apr 21 00:42:48 groupadd[15521]: group added to /etc/gshadow: name=rooter <86>Apr 21 00:42:48 groupadd[15521]: new group: name=rooter, GID=531 <86>Apr 21 00:42:48 useradd[15535]: new user: name=rooter, UID=531, GID=531, home=/root, shell=/bin/bash <86>Apr 21 00:42:48 userdel[15551]: delete user 'builder' <86>Apr 21 00:42:48 userdel[15551]: removed group 'builder' owned by 'builder' <86>Apr 21 00:42:48 groupadd[15569]: group added to /etc/group: name=builder, GID=532 <86>Apr 21 00:42:48 groupadd[15569]: group added to /etc/gshadow: name=builder <86>Apr 21 00:42:48 groupadd[15569]: new group: name=builder, GID=532 <86>Apr 21 00:42:48 useradd[15582]: new user: name=builder, UID=532, GID=532, home=/usr/src, shell=/bin/bash <13>Apr 21 00:42:53 rpmi: libogg-1.3.2-alt1 1416015875 installed <13>Apr 21 00:42:53 rpmi: xorg-xproto-devel-7.0.31-alt0.M80P.1 p8+226471.100.1.1 1554301566 installed <13>Apr 21 00:42:53 rpmi: libflac8-1.2.1-alt11.1 1434275120 installed <13>Apr 21 00:42:53 rpmi: libvorbis-1.3.4-alt1 1395615320 installed <13>Apr 21 00:42:53 rpmi: libmad-0.15.1b-alt8 1398374528 installed <13>Apr 21 00:42:53 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Apr 21 00:42:53 rpmi: libwrap-1:7.6-alt11 1297041305 installed <13>Apr 21 00:42:53 rpmi: libgsm-1.0.13-alt8 1365910842 installed <13>Apr 21 00:42:53 rpmi: libsndfile-1.0.28-alt1.M80P.1 p8.212938.100 1536756416 installed <13>Apr 21 00:42:53 rpmi: libjson-c-0.12-alt1 1401212997 installed <13>Apr 21 00:42:53 rpmi: liblz4-1:1.7.5-alt1 1488766699 installed <13>Apr 21 00:42:53 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Apr 21 00:42:53 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed <13>Apr 21 00:42:53 rpmi: libsystemd-1:239-alt1.M80P.1 p8+226956.200.2.1 1555431492 installed <13>Apr 21 00:42:53 rpmi: libdbus-1.10.24-alt4.M80P.1 1518773282 installed <13>Apr 21 00:42:53 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Apr 21 00:42:53 rpmi: libalsa-1:1.1.0-alt1.1.1 1454429213 installed <13>Apr 21 00:42:53 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531883 installed <13>Apr 21 00:42:53 rpmi: libxshmfence-1.2-alt1 1420972191 installed <13>Apr 21 00:42:53 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 21 00:42:53 rpmi: libpciaccess-1:0.13.4-alt1 1431681688 installed <13>Apr 21 00:42:53 rpmi: libdrm-1:2.4.89-alt1.M80P.1 1516609380 installed <13>Apr 21 00:42:54 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Apr 21 00:42:54 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Apr 21 00:42:54 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Apr 21 00:42:54 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 21 00:42:54 rpmi: libX11-3:1.6.3-alt1 1431956911 installed <13>Apr 21 00:42:54 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Apr 21 00:42:54 rpmi: libXxf86vm-1.1.3-alt1 1369984824 installed <13>Apr 21 00:42:54 rpmi: libpulseaudio-9.0-alt2 1469793979 installed <13>Apr 21 00:42:54 rpmi: libmikmod-3.3.8-alt1.1 1449204660 installed <13>Apr 21 00:42:54 rpmi: libXi-1.7.9-alt1.M80P.1 1515766146 installed <13>Apr 21 00:42:54 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Apr 21 00:42:54 rpmi: libXfixes-5.0.1-alt1 1369809606 installed <13>Apr 21 00:42:54 rpmi: libGL-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 21 00:42:54 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Apr 21 00:42:54 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Apr 21 00:42:54 rpmi: libXrandr-1.5.0-alt1 1431936188 installed <13>Apr 21 00:42:54 rpmi: libSDL-1.2.14-alt6.M80P.1 1483818219 installed <13>Apr 21 00:42:54 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Apr 21 00:42:54 rpmi: libfreeglut-3.0.0-alt1 1429173818 installed <13>Apr 21 00:42:56 rpmi: libxcb-devel-1.12-alt2 p8.218219.300 1545313310 installed <13>Apr 21 00:42:56 rpmi: libX11-devel-3:1.6.3-alt1 1431956911 installed <13>Apr 21 00:42:56 rpmi: libGL-devel-4:18.0.5-alt1.M80P.1 p8+226404.100.1.1 1554206332 installed <13>Apr 21 00:42:56 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Apr 21 00:42:56 rpmi: libSDL-devel-1.2.14-alt6.M80P.1 1483818219 installed <13>Apr 21 00:42:56 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Apr 21 00:42:57 rpmi: libstdc++5-devel-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 21 00:42:58 rpmi: gcc5-c++-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 21 00:42:58 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Apr 21 00:42:58 rpmi: libfreeglut-devel-3.0.0-alt1 1429173818 installed <13>Apr 21 00:42:58 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.98718 + 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.98718 + 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 g++ -c -pipe -Wall -g -O2 glprintf.cpp -o glprintf.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)) { ^ piece3dobject.cpp: In member function 'void Piece3DObject::ComputeShadow(int, Vector, int*, int*, float**, int**, CMC*)': piece3dobject.cpp:171:17: warning: variable 'pry_ncaras' set but not used [-Wunused-but-set-variable] int *pry_caras,pry_ncaras; ^ 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) || ^ 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}; ^ g++ -c -pipe -Wall -g -O2 main.cpp -o main.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 mainmenu.cpp -o mainmenu.o g++ -c -pipe -Wall -g -O2 maps.cpp -o maps.o cmc.cpp:712:6: warning: 'range_b[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (range_b[1]normalize(); ^ 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); ^ 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] 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; ^ g++ -c -pipe -Wall -g -O2 particles.cpp -o particles.o g++ -c -pipe -Wall -g -O2 construction.cpp -o construction.o 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 quaternion.cpp -o quaternion.o g++ -c -pipe -Wall -g -O2 radar.cpp -o radar.o radar.cpp:106:7: warning: "/*" within comment [-Wcomment] } /* if */ ^ 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 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; ^ g++ -c -pipe -Wall -g -O2 shadow3dobject.cpp -o shadow3dobject.o robots.cpp:331:4: warning: "/*" within comment [-Wcomment] } /* switch */ ^ robots.cpp:361:4: warning: "/*" within comment [-Wcomment] } /* switch */ ^ 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: In member function 'bool NETHER::RobotCollision(ROBOT*, bool)': robots.cpp:425:14: warning: narrowing conversion of 'r->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}; ^ 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()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