<86>Mar 10 01:59:13 userdel[11434]: delete user 'rooter' <86>Mar 10 01:59:13 groupadd[11448]: group added to /etc/group: name=rooter, GID=657 <86>Mar 10 01:59:13 groupadd[11448]: group added to /etc/gshadow: name=rooter <86>Mar 10 01:59:13 groupadd[11448]: new group: name=rooter, GID=657 <86>Mar 10 01:59:13 useradd[11472]: new user: name=rooter, UID=657, GID=657, home=/root, shell=/bin/bash <86>Mar 10 01:59:13 userdel[11511]: delete user 'builder' <86>Mar 10 01:59:13 userdel[11511]: removed group 'builder' owned by 'builder' <86>Mar 10 01:59:13 userdel[11511]: removed shadow group 'builder' owned by 'builder' <86>Mar 10 01:59:14 groupadd[11537]: group added to /etc/group: name=builder, GID=658 <86>Mar 10 01:59:14 groupadd[11537]: group added to /etc/gshadow: name=builder <86>Mar 10 01:59:14 groupadd[11537]: new group: name=builder, GID=658 <86>Mar 10 01:59:14 useradd[11566]: new user: name=builder, UID=658, GID=658, home=/usr/src, shell=/bin/bash <13>Mar 10 01:59:16 rpmi: libogg-1.3.2-alt1 1416015875 installed <13>Mar 10 01:59:16 rpmi: xorg-xproto-devel-7.0.28-alt1 1448272470 installed <13>Mar 10 01:59:16 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Mar 10 01:59:16 rpmi: libidn2-2.0.4-alt3.M80P.1 1520307194 installed <13>Mar 10 01:59:16 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Mar 10 01:59:17 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Mar 10 01:59:17 rpmi: libvorbis-1.3.4-alt1 1395615320 installed <13>Mar 10 01:59:17 rpmi: libogg-devel-1.3.2-alt1 1416015875 installed <13>Mar 10 01:59:17 rpmi: zlib-devel-1.2.8-alt1 1371079009 installed <13>Mar 10 01:59:17 rpmi: libpng15-1.5.28-alt1 1484572014 installed <13>Mar 10 01:59:17 rpmi: libopenal1-1.17.2-alt0.M80P.1 1482080827 installed <13>Mar 10 01:59:17 rpmi: libjpeg-2:1.3.1-alt0.1 1388074033 installed <13>Mar 10 01:59:17 rpmi: libwrap-1:7.6-alt11 1297041305 installed <13>Mar 10 01:59:17 rpmi: libgsm-1.0.13-alt8 1365910842 installed <13>Mar 10 01:59:17 rpmi: libsndfile-1.0.28-alt1.M80P.1 p8.212938.100 1536756416 installed <13>Mar 10 01:59:17 rpmi: libjson-c-0.12-alt1 1401212997 installed <13>Mar 10 01:59:17 rpmi: liblz4-1:1.7.5-alt1 1488766699 installed <13>Mar 10 01:59:17 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Mar 10 01:59:17 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed <13>Mar 10 01:59:17 rpmi: libsystemd-1:237-alt2.M80P.6 p8+221965.100.2.1 1550786217 installed <13>Mar 10 01:59:17 rpmi: libdbus-1.10.24-alt4.M80P.1 1518773282 installed <13>Mar 10 01:59:17 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Mar 10 01:59:17 rpmi: libalsa-1:1.1.0-alt1.1.1 1454429213 installed <13>Mar 10 01:59:17 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531883 installed <13>Mar 10 01:59:17 rpmi: libxshmfence-1.2-alt1 1420972191 installed <13>Mar 10 01:59:17 rpmi: libpciaccess-1:0.13.4-alt1 1431681688 installed <13>Mar 10 01:59:17 rpmi: libdrm-1:2.4.89-alt1.M80P.1 1516609380 installed <13>Mar 10 01:59:17 rpmi: libX11-locales-3:1.6.3-alt1 1431956885 installed <13>Mar 10 01:59:17 rpmi: libXdmcp-1.1.1-alt1 1334617699 installed <13>Mar 10 01:59:17 rpmi: libXau-1.0.8-alt1 1369565807 installed <13>Mar 10 01:59:17 rpmi: libxcb-1.12-alt2 p8.218219.300 1545313310 installed <13>Mar 10 01:59:17 rpmi: libX11-3:1.6.3-alt1 1431956911 installed <13>Mar 10 01:59:17 rpmi: libXext-1.3.3-alt1 1409902932 installed <13>Mar 10 01:59:17 rpmi: libXxf86vm-1.1.3-alt1 1369984824 installed <13>Mar 10 01:59:17 rpmi: libXdamage-1.1.3-alt4 1297162596 installed <13>Mar 10 01:59:17 rpmi: libXfixes-5.0.1-alt1 1369809606 installed <13>Mar 10 01:59:17 rpmi: libGL-4:17.3.9-alt0.M80P.1 1526555825 installed <13>Mar 10 01:59:17 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Mar 10 01:59:17 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Mar 10 01:59:17 rpmi: libXrandr-1.5.0-alt1 1431936188 installed <13>Mar 10 01:59:18 rpmi: libxcb-devel-1.12-alt2 p8.218219.300 1545313310 installed <13>Mar 10 01:59:18 rpmi: libX11-devel-3:1.6.3-alt1 1431956911 installed <13>Mar 10 01:59:18 rpmi: libGL-devel-4:17.3.9-alt0.M80P.1 1526555825 installed <13>Mar 10 01:59:18 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Mar 10 01:59:18 rpmi: libpulseaudio-9.0-alt2 1469793979 installed <13>Mar 10 01:59:18 rpmi: libSDL-1.2.14-alt6.M80P.1 1483818219 installed <13>Mar 10 01:59:18 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Mar 10 01:59:19 rpmi: libstdc++5-devel-5.3.1-alt3 1457662528 installed <13>Mar 10 01:59:19 rpmi: libjsoncpp1-1.7.2-alt3.M80P.1 1518818590 installed <13>Mar 10 01:59:19 rpmi: publicsuffix-list-dafsa-20181106-alt1 p8.216229.100 1541669077 installed <13>Mar 10 01:59:19 rpmi: libpsl-0.18.0-alt0.M80P.1 1502785107 installed <13>Mar 10 01:59:19 rpmi: libnghttp2-1.8.0-alt1 1456818805 installed <13>Mar 10 01:59:19 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Mar 10 01:59:19 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Mar 10 01:59:19 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Mar 10 01:59:19 rpmi: libbrotlicommon0-1.0.4-alt0.M80P.1 1528205024 installed <13>Mar 10 01:59:19 rpmi: libbrotlidec0-1.0.4-alt0.M80P.1 1528205024 installed <13>Mar 10 01:59:19 rpmi: libnettle6-3.4.1-alt1 p8.217493.100 1544204548 installed <13>Mar 10 01:59:19 rpmi: liblzo2-2.08-alt1 1405435908 installed <13>Mar 10 01:59:19 rpmi: libarchive13-3.2.1-alt1 1467155787 installed <13>Mar 10 01:59:19 rpmi: rpm-macros-cmake-3.6.3-alt0.1.M80P.1 1505734848 installed <13>Mar 10 01:59:19 rpmi: cmake-modules-3.6.3-alt0.1.M80P.1 1505734959 installed <13>Mar 10 01:59:20 rpmi: gcc5-c++-5.3.1-alt3 1457662528 installed <13>Mar 10 01:59:20 rpmi: libSDL-devel-1.2.14-alt6.M80P.1 1483818219 installed <13>Mar 10 01:59:20 rpmi: libjpeg-devel-2:1.3.1-alt0.1 1388074033 installed <13>Mar 10 01:59:20 rpmi: libopenal-devel-1.17.2-alt0.M80P.1 1482080827 installed <13>Mar 10 01:59:20 rpmi: libpng-devel-1.5.28-alt1 1484572014 installed <13>Mar 10 01:59:20 rpmi: libvorbis-devel-1.3.4-alt1 1395615320 installed <86>Mar 10 01:59:20 groupadd[37067]: group added to /etc/group: name=_keytab, GID=499 <86>Mar 10 01:59:20 groupadd[37067]: group added to /etc/gshadow: name=_keytab <86>Mar 10 01:59:20 groupadd[37067]: new group: name=_keytab, GID=499 <13>Mar 10 01:59:20 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Mar 10 01:59:20 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Mar 10 01:59:20 groupadd[37179]: group added to /etc/group: name=sasl, GID=498 <86>Mar 10 01:59:20 groupadd[37179]: group added to /etc/gshadow: name=sasl <86>Mar 10 01:59:20 groupadd[37179]: new group: name=sasl, GID=498 <13>Mar 10 01:59:20 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Mar 10 01:59:20 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Mar 10 01:59:20 rpmi: libcurl-7.64.0-alt1 p8+220788.100.1.1 1549495393 installed <13>Mar 10 01:59:20 rpmi: cmake-3.6.3-alt0.1.M80P.1 1505734848 installed Installing lugaru-0.0.r262-alt2.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.95275 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf lugaru-0.0.r262 + echo 'Source #0 (lugaru-0.0.r262.tar):' Source #0 (lugaru-0.0.r262.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/lugaru-0.0.r262.tar + cd lugaru-0.0.r262 + /bin/chmod -c -Rf u+rwX,go-w . + find . -name .DS_Store -exec rm '{}' ';' + sed -i '/chdirToAppPath(argv\[0\]);/s@.*@ chdir("/usr/share/games/lugaru");@' Source/OpenGL_Windows.cpp + sed -i '/ConvertFileName(mapname), "wb"/s@ConvertFileName(mapname), "wb"@ConvertFileName(mapname, "w"), "wb"@' Source/GameInitDispose.cpp + mkdir build + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.95275 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd lugaru-0.0.r262 + cd build + cmake .. -DCMAKE_SKIP_RPATH:BOOL=yes -DCMAKE_BUILD_TYPE=MinSizeRel '-DCMAKE_C_FLAGS:STRING=-pipe -Wall -O2' '-DCMAKE_CXX_FLAGS:STRING=-pipe -Wall -O2' -DCMAKE_INSTALL_PREFIX=/usr -DLIB_DESTINATION=lib64 -DLUGARU_INSTALL_PREFIX=/usr/share/games/lugaru -DLIB_SUFFIX=64 -- The C compiler identification is GNU 5.3.1 -- The CXX compiler identification is GNU 5.3.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found OpenGL: /usr/lib64/libGL.so -- Found OpenAL: /usr/lib64/libopenal.so -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found SDL: /usr/lib64/libSDL.so;-lpthread (found version "1.2.14") -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8") -- Found PNG: /usr/lib64/libpng.so (found version "1.5.28") -- Found JPEG: /usr/lib64/libjpeg.so -- Looking for vorbis_bitrate_addblock in vorbis -- Looking for vorbis_bitrate_addblock in vorbis - found -- Found OggVorbis: /usr/lib64/libogg.so;/usr/lib64/libvorbis.so;/usr/lib64/libvorbisfile.so;/usr/lib64/libvorbisenc.so -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: LIB_DESTINATION LIB_SUFFIX -- Build files have been written to: /usr/src/RPM/BUILD/lugaru-0.0.r262/build + '[' -n '' ']' + NPROCS=8 + make -j8 make: Entering directory `/usr/src/RPM/BUILD/lugaru-0.0.r262/build' make[1]: Entering directory `/usr/src/RPM/BUILD/lugaru-0.0.r262/build' make[2]: Entering directory `/usr/src/RPM/BUILD/lugaru-0.0.r262/build' Scanning dependencies of target lugaru make[2]: Leaving directory `/usr/src/RPM/BUILD/lugaru-0.0.r262/build' make[2]: Entering directory `/usr/src/RPM/BUILD/lugaru-0.0.r262/build' [ 7%] Building CXX object CMakeFiles/lugaru.dir/Source/GameInitDispose.cpp.o [ 10%] Building CXX object CMakeFiles/lugaru.dir/Source/Frustum.cpp.o [ 10%] Building CXX object CMakeFiles/lugaru.dir/Source/GameDraw.cpp.o [ 14%] Building CXX object CMakeFiles/lugaru.dir/Source/GameTick.cpp.o [ 17%] Building CXX object CMakeFiles/lugaru.dir/Source/Globals.cpp.o [ 21%] Building CXX object CMakeFiles/lugaru.dir/Source/Lights.cpp.o [ 25%] Building CXX object CMakeFiles/lugaru.dir/Source/Models.cpp.o [ 28%] Building CXX object CMakeFiles/lugaru.dir/Source/Objects.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Objects.h:25:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Objects.cpp:22: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27:0: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.h:27, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:49, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp:22: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27:0: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.h:27, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:49, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:22: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27:0: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Globals.cpp:25:0: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27:0: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.h:27, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:49, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:31: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27:0: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:6817:7: warning: "/*" within comment [-Wcomment] /*int temppoint=0; ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.h:27, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:49, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:22: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27:0: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.cpp:23: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27:0: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Frustum.cpp: In member function 'void FRUSTUM::GetFrustum()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Frustum.cpp:33:15: warning: unused variable 't' [-Wunused-variable] static float t; ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.h:27, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:49, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp:22: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:374:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:413:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.h:27, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:49, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:22: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:374:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:413:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Globals.cpp:25:0: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:374:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:413:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp: In member function 'void Game::LoadingScreen()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp:668:9: warning: unused variable 'size' [-Wunused-variable] float size=1; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp:651:28: warning: unused variable 'minprogress' [-Wunused-variable] static float loadprogress,minprogress,maxprogress; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp:651:40: warning: unused variable 'maxprogress' [-Wunused-variable] static float loadprogress,minprogress,maxprogress; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp:652:22: warning: unused variable 'time' [-Wunused-variable] static AbsoluteTime time = {0,0}; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp: In member function 'void Game::FadeLoadingScreen(float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp:892:28: warning: unused variable 'minprogress' [-Wunused-variable] static float loadprogress,minprogress,maxprogress; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp:892:40: warning: unused variable 'maxprogress' [-Wunused-variable] static float loadprogress,minprogress,maxprogress; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp:894:8: warning: unused variable 'size' [-Wunused-variable] float size=1; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp: In member function 'void Game::LoadStuff()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp:1350:17: warning: unused variable 'texsize' [-Wunused-variable] static int i,j,texsize; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp: In constructor 'Game::Game()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp:1927:6: warning: unused variable 'campaignchoicesmade' [-Wunused-variable] int campaignchoicesmade; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp: In member function 'long long int Game::MD5_string(char*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:185:7: warning: unused variable 'temp2' [-Wunused-variable] char temp2[256]=""; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp: In member function 'int Game::DrawGLScene()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:297:13: warning: variable 'color2' set but not used [-Wunused-but-set-variable] RGBColor color2; ^ [ 32%] Building C object CMakeFiles/lugaru.dir/Source/pack.c.o /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:663:35: warning: too many arguments for format [-Wformat-extra-args] sprintf (string, " ",(int)(fps)); ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:778:92: warning: too many arguments for format [-Wformat-extra-args] sprintf (string, "While in the air, you can press crouch to flip.",KeyToChar(jumpkey)); ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:991:81: warning: too many arguments for format [-Wformat-extra-args] sprintf (string, "Press 'tab' to skip to the next item.",KeyToChar(jumpkey)); ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:1486:8: warning: variable 'whichclosest' set but not used [-Wunused-but-set-variable] int whichclosest; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:2872:9: warning: unused variable 'tempncl' [-Wunused-variable] int tempncl; ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.h:27, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:49, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:22: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:374:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:413:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:3062:9: warning: unused variable 'temp' [-Wunused-variable] char temp[255]; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:219:17: warning: unused variable 'color' [-Wunused-variable] static GLubyte color; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:220:15: warning: unused variable 'newbrightness' [-Wunused-variable] static float newbrightness; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:221:15: warning: unused variable 'changespeed' [-Wunused-variable] static float changespeed; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp: In member function 'int Model::SphereCheckPossible(XYZ*, float, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:238:13: warning: unused variable 'i' [-Wunused-variable] static int i,j; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp: In member function 'bool Model::loadnotex(char*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:432:6: warning: variable 'oldvertexNum' set but not used [-Wunused-but-set-variable] int oldvertexNum,oldTriangleNum; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:432:19: warning: variable 'oldTriangleNum' set but not used [-Wunused-but-set-variable] int oldvertexNum,oldTriangleNum; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp: In member function 'bool Model::load(char*, bool)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:516:6: warning: variable 'oldvertexNum' set but not used [-Wunused-but-set-variable] int oldvertexNum,oldTriangleNum; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:516:19: warning: variable 'oldTriangleNum' set but not used [-Wunused-but-set-variable] int oldvertexNum,oldTriangleNum; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp: In member function 'bool Model::loaddecal(char*, bool)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:602:6: warning: variable 'oldvertexNum' set but not used [-Wunused-but-set-variable] int oldvertexNum,oldTriangleNum; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:602:19: warning: variable 'oldTriangleNum' set but not used [-Wunused-but-set-variable] int oldvertexNum,oldTriangleNum; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp: In member function 'bool Model::loadraw(char*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:710:6: warning: variable 'oldvertexNum' set but not used [-Wunused-but-set-variable] int oldvertexNum,oldTriangleNum; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:710:19: warning: variable 'oldTriangleNum' set but not used [-Wunused-but-set-variable] int oldvertexNum,oldTriangleNum; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp: In member function 'void Model::drawdecals(GLuint, GLuint, GLuint, GLuint)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:1060:16: warning: unused variable 'j' [-Wunused-variable] static int i,j; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:1061:16: warning: unused variable 'distancemult' [-Wunused-variable] static float distancemult; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:1063:16: warning: variable 'viewdistsquared' set but not used [-Wunused-but-set-variable] static float viewdistsquared; ^ [ 35%] Building C object CMakeFiles/lugaru.dir/Source/pack_private.c.o [ 39%] Building CXX object CMakeFiles/lugaru.dir/Source/Person.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.cpp:23: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:374:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:413:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.cpp: In function 'void SetUpLight(Light*, int)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.cpp:27:15: warning: unused variable 'cattenuation' [-Wunused-variable] static float cattenuation[]={1.5f}; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.cpp:28:15: warning: unused variable 'lattenuation' [-Wunused-variable] static float lattenuation[]={0.5f}; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.cpp:29:15: warning: unused variable 'zattenuation' [-Wunused-variable] static float zattenuation[]={0.0f}; ^ [ 42%] Building C object CMakeFiles/lugaru.dir/Source/private.c.o [ 46%] Building CXX object CMakeFiles/lugaru.dir/Source/Quaternions.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Objects.h:25:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Objects.cpp:22: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:374:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:413:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:22:0: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27:0: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - ^ [ 50%] Building C object CMakeFiles/lugaru.dir/Source/Random.c.o /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Objects.cpp: In member function 'void Objects::Draw()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Objects.cpp:88:15: warning: unused variable 'j' [-Wunused-variable] static int i,j; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Objects.cpp: In member function 'void Objects::DoShadows()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Objects.cpp:701:14: warning: unused variable 'todivide' [-Wunused-variable] int i,j,k,l,todivide; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Objects.cpp:702:15: warning: unused variable 'brightness' [-Wunused-variable] static float brightness, total; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Objects.cpp:702:27: warning: unused variable 'total' [-Wunused-variable] static float brightness, total; ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.h:27, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:49, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:31: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:374:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:413:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp: In member function 'void Game::Loadlevel(char*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:1119:25: warning: the address of 'numdialogueboxes' will always evaluate as 'true' [-Waddress] if(numdialogueboxes) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:1129:13: warning: unused variable 'doneread' [-Wunused-variable] bool doneread; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:1220:8: warning: variable 'whichclosest' set but not used [-Wunused-but-set-variable] int whichclosest; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:1409:8: warning: variable 'texsize' set but not used [-Wunused-but-set-variable] int texsize; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:876:13: warning: variable 'oldlevel' set but not used [-Wunused-but-set-variable] static int oldlevel; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:879:6: warning: unused variable 'lameint' [-Wunused-variable] int lameint; ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:23: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27:0: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp: In member function 'void Game::Tick()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:3476:31: warning: the address of 'numdialogueboxes' will always evaluate as 'true' [-Waddress] if(numdialogueboxes) ^ [ 53%] Building CXX object CMakeFiles/lugaru.dir/Source/Skeleton.cpp.o /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:4392:13: warning: unused variable 'whichdi' [-Wunused-variable] int whichdi; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7882:12: warning: unused variable 'closest' [-Wunused-variable] int closest=-1; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7883:14: warning: unused variable 'closestdist' [-Wunused-variable] float closestdist=-1; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7884:14: warning: unused variable 'distance' [-Wunused-variable] float distance; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8285:62: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if((i!=0||player[i].skeleton.free)&&(k!=0||player[k].skeleton.free)||(animation[player[i].targetanimation].height==highheight&&animation[player[k].targetanimation].height==highheight)){ ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8574:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(!editorenabled&&(whichlevel!=-2&&(IsKeyDown(theKeyMap, MAC_Z_KEY)&&IsKeyDown(theKeyMap, MAC_COMMAND_KEY)&&debugmode&&!editorenabled)||(IsKeyDown(theKeyMap, jumpkey)&&!respawnkeydown&&!oldattackkey&&player[0].dead))){ ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:9512:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(player[i].occluded>=2) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8672:15: warning: unused variable 'pause' [-Wunused-variable] bool pause; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:6767:20: warning: unused variable 'keyrefreshdelay' [-Wunused-variable] static float keyrefreshdelay=0,bigrefreshdelay=0; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:6767:38: warning: unused variable 'bigrefreshdelay' [-Wunused-variable] static float keyrefreshdelay=0,bigrefreshdelay=0; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:6909:20: warning: unused variable 'temptexdetail' [-Wunused-variable] static float temptexdetail; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:1660:14: warning: variable 'oldkey' set but not used [-Wunused-but-set-variable] static bool oldkey; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:1662:21: warning: unused variable 'numgood' [-Wunused-variable] static int target, numgood; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp: In member function 'void Game::TickOnceAfter()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10587:18: warning: variable 'gLoc' set but not used [-Wunused-but-set-variable] static float gLoc[3]; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10588:18: warning: variable 'vel' set but not used [-Wunused-but-set-variable] static float vel[3]; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10863:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(campaign) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10539:15: warning: variable 'brotate' set but not used [-Wunused-but-set-variable] static float brotate; ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:22:0: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:374:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:413:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp: In function 'bool LineFacet(Vector, Vector, Vector, Vector, Vector, Vector*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:286:15: warning: unused variable 'a1' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:286:18: warning: unused variable 'a2' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:286:21: warning: unused variable 'a3' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:287:15: warning: unused variable 'total' [-Wunused-variable] static float total,denom,mu; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp: In function 'bool LineFacet(XYZ, XYZ, XYZ, XYZ, XYZ, XYZ*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:393:15: warning: unused variable 'a1' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:393:18: warning: unused variable 'a2' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:393:21: warning: unused variable 'a3' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:394:15: warning: unused variable 'total' [-Wunused-variable] static float total,denom,mu; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp: In function 'float LineFacetd(XYZ, XYZ, XYZ, XYZ, XYZ, XYZ*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:423:15: warning: unused variable 'a1' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:423:18: warning: unused variable 'a2' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:423:21: warning: unused variable 'a3' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:424:15: warning: unused variable 'total' [-Wunused-variable] static float total,denom,mu; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp: In function 'float LineFacetd(XYZ, XYZ, XYZ, XYZ, XYZ, XYZ, XYZ*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:453:15: warning: unused variable 'a1' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:453:18: warning: unused variable 'a2' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:453:21: warning: unused variable 'a3' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:454:15: warning: unused variable 'total' [-Wunused-variable] static float total,denom,mu; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp: In function 'float LineFacetd(XYZ*, XYZ*, XYZ*, XYZ*, XYZ*, XYZ*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:478:15: warning: unused variable 'a1' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:478:18: warning: unused variable 'a2' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:478:21: warning: unused variable 'a3' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:479:15: warning: unused variable 'total' [-Wunused-variable] static float total,denom,mu; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp: In function 'float LineFacetd(XYZ*, XYZ*, XYZ*, XYZ*, XYZ*, XYZ*, XYZ*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:508:15: warning: unused variable 'a1' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:508:18: warning: unused variable 'a2' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:508:21: warning: unused variable 'a3' [-Wunused-variable] static float a1,a2,a3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:509:15: warning: unused variable 'total' [-Wunused-variable] static float total,denom,mu; ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.h:27, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:49, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp:23: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27:0: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:3583:47: warning: 'endsize' may be used uninitialized in this function [-Wmaybe-uninitialized] glVertex3f(lineend.x-offset.x*endsize, lineend.y-offset.y*endsize, 0.0f); ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:1173:127: warning: 'starty' may be used uninitialized in this function [-Wmaybe-uninitialized] text.glPrint(startx-2*7.6*strlen(string)*screenwidth/1024,starty,string,1,1.5*screenwidth/1024,screenwidth,screenheight); ^ [ 57%] Building CXX object CMakeFiles/lugaru.dir/Source/Skybox.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skybox.h:25:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skybox.cpp:22: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27:0: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:23: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:374:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:413:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp: In member function 'void Person::DoBlood(float, int)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:475:8: warning: unused variable 'texdetailint' [-Wunused-variable] int texdetailint=realtexdetail; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp: In member function 'bool Person::DoBloodBigWhere(float, int, XYZ)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:711:13: warning: unused variable 'bleedxint' [-Wunused-variable] static int bleedxint,bleedyint,i,j; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:711:23: warning: unused variable 'bleedyint' [-Wunused-variable] static int bleedxint,bleedyint,i,j; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp: In member function 'void Person::DoMipmaps(int, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:931:10: warning: unused variable 'k' [-Wunused-variable] int i,j,k; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:932:15: warning: unused variable 'temp' [-Wunused-variable] static float temp; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:933:13: warning: unused variable 'bytesPerPixel' [-Wunused-variable] static int bytesPerPixel=3; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:934:13: warning: variable 'newsize' set but not used [-Wunused-but-set-variable] static int newsize,totalsize,rowsize,bigstep,smallstep,sum; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:934:21: warning: unused variable 'totalsize' [-Wunused-variable] static int newsize,totalsize,rowsize,bigstep,smallstep,sum; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:934:31: warning: unused variable 'rowsize' [-Wunused-variable] static int newsize,totalsize,rowsize,bigstep,smallstep,sum; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:934:39: warning: unused variable 'bigstep' [-Wunused-variable] static int newsize,totalsize,rowsize,bigstep,smallstep,sum; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:934:47: warning: unused variable 'smallstep' [-Wunused-variable] static int newsize,totalsize,rowsize,bigstep,smallstep,sum; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:934:57: warning: unused variable 'sum' [-Wunused-variable] static int newsize,totalsize,rowsize,bigstep,smallstep,sum; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:935:33: warning: variable 'newendx' set but not used [-Wunused-but-set-variable] static int newstartx,newstarty,newendx,newendy; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:936:13: warning: unused variable 'newnewstartx' [-Wunused-variable] static int newnewstartx,newnewstarty,newnewendx,newnewendy; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:936:26: warning: unused variable 'newnewstarty' [-Wunused-variable] static int newnewstartx,newnewstarty,newnewendx,newnewendy; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:936:39: warning: unused variable 'newnewendx' [-Wunused-variable] static int newnewstartx,newnewstarty,newnewendx,newnewendy; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:936:50: warning: unused variable 'newnewendy' [-Wunused-variable] static int newnewstartx,newnewstarty,newnewendx,newnewendy; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:937:13: warning: unused variable 'which' [-Wunused-variable] static int which; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:938:15: warning: unused variable 'sizemult' [-Wunused-variable] static float sizemult; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp: In member function 'void Person::FootLand(int, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:1703:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(opacity>=1||skiddelay<=0) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp: In member function 'void Person::DoAnimations()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:4652:16: warning: unused variable 'ycoords' [-Wunused-variable] float ycoords=oldcoords.y; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:4669:16: warning: unused variable 'ycoords' [-Wunused-variable] float ycoords=oldcoords.y; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:2243:20: warning: unused variable 'willwork' [-Wunused-variable] static bool willwork; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp: In member function 'void Person::DoStuff()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:6041:8: warning: unused variable 'xy' [-Wunused-variable] int xy=1; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:5767:9: warning: variable 'gLoc' set but not used [-Wunused-but-set-variable] float gLoc[3]; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:5768:9: warning: variable 'vel' set but not used [-Wunused-but-set-variable] float vel[3]; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:5002:13: warning: variable 'texdetailint' set but not used [-Wunused-but-set-variable] static int texdetailint; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp: In member function 'int Person::DrawSkeleton()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:6884:33: warning: unused variable 'weaponrotatemuscle2' [-Wunused-variable] static int weaponrotatemuscle,weaponrotatemuscle2; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp: In constructor 'Person::Person()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:7816:13: warning: right operand of comma operator has no effect [-Wunused-value] bleedx = 0,bleedy; ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.h:27, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:49, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp:23: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:374:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:413:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ [ 60%] Building CXX object CMakeFiles/lugaru.dir/Source/Sprites.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Sprites.h:25:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Sprites.cpp:22: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27:0: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp: In member function 'float Skeleton::DoConstraints(XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp:173:13: warning: unused variable 'oldpos' [-Wunused-variable] static XYZ oldpos[100]; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp:176:15: warning: unused variable 'soundvolume' [-Wunused-variable] static float soundvolume; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp:177:19: warning: unused variable 'l' [-Wunused-variable] static int i,j,k,l,m; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp:181:15: warning: unused variable 'r2' [-Wunused-variable] static float r2=.08; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp:184:15: warning: unused variable 'distance' [-Wunused-variable] static float distance; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp: In member function 'void Skeleton::Load(char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, bool)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp:1150:17: warning: variable 'tempmuscle' set but not used [-Wunused-but-set-variable] static int i,j,tempmuscle; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp:1151:6: warning: variable 'newload' set but not used [-Wunused-but-set-variable] int newload; ^ [ 64%] Building CXX object CMakeFiles/lugaru.dir/Source/Terrain.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skybox.h:25:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skybox.cpp:22: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:374:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:413:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Sprites.h:25:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Sprites.cpp:22: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:374:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:413:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ [ 67%] Building CXX object CMakeFiles/lugaru.dir/Source/Text.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.h:27, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:49, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp:22: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27:0: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - ^ [ 71%] Building CXX object CMakeFiles/lugaru.dir/Source/TGALoader.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Text.h:27:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Text.cpp:23: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27:0: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.h:27, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:49, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/TGALoader.cpp:23: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27:0: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.h:27, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:49, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp:22: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:374:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:413:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp: In member function 'int Terrain::lineTerrain(XYZ, XYZ, XYZ*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp:57:15: warning: unused variable 'slope' [-Wunused-variable] static float slope; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp:59:13: warning: unused variable 'numtris' [-Wunused-variable] static int numtris=(size-1)*(size-1)*2; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp: In member function 'void Terrain::UpdateTransparencyother(int, int)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp:181:15: warning: unused variable 'distance' [-Wunused-variable] static float distance; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp: In member function 'float Terrain::getHeight(float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp:773:15: warning: unused variable 'height1' [-Wunused-variable] static float height1,height2; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp:773:23: warning: unused variable 'height2' [-Wunused-variable] static float height1,height2; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp: In member function 'float Terrain::getHeightExtrude(float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp:828:15: warning: unused variable 'height1' [-Wunused-variable] static float height1,height2; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp:828:23: warning: unused variable 'height2' [-Wunused-variable] static float height1,height2; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp: In member function 'void Terrain::drawdecals()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp:1020:16: warning: unused variable 'j' [-Wunused-variable] static int i,j; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp:1024:16: warning: unused variable 'patch_size' [-Wunused-variable] static float patch_size=size/subdivision*scale; ^ [ 75%] Building C object CMakeFiles/lugaru.dir/Source/unpack.c.o /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/unpack.c: In function 'vfunpackf': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/unpack.c:71:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer, n_bytes, 1, file); ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.h:27, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:49, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/TGALoader.cpp:23: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:374:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:413:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ [ 78%] Building C object CMakeFiles/lugaru.dir/Source/unpack_private.c.o /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/TGALoader.cpp: In function 'TGAImageRec* LoadTGA(char*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/TGALoader.cpp:250:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( GLuint i = 0; i < int( imageSize ); i += bytesPerPixel ) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/TGALoader.cpp:262:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( GLuint k = 0; k < int( imageSize); k += bytesPerPixel*texture.sizeX*texdetail ) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/TGALoader.cpp:264:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( GLuint i = 0; i < int( imageSize/texture.sizeY ); i += bytesPerPixel*texdetail ) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/TGALoader.cpp:193:11: warning: unused variable 'type' [-Wunused-variable] GLuint type = GL_RGBA; // Set The Default GL Mode To RBGA (32 BPP) ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Text.h:27:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Text.cpp:23: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:374:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:413:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ [ 82%] Building CXX object CMakeFiles/lugaru.dir/Source/Weapons.cpp.o [ 85%] Building CXX object CMakeFiles/lugaru.dir/Source/OpenGL_Windows.cpp.o /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Text.cpp: In member function 'void Text::LoadFontTexture(const char*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Text.cpp:29:10: warning: unused variable 'type' [-Wunused-variable] GLuint type; ^ [ 89%] Building CXX object CMakeFiles/lugaru.dir/Source/openal_wrapper.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.cpp:23: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27:0: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - ^ [ 92%] Building CXX object CMakeFiles/lugaru.dir/Source/WinInput.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.h:27, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:49, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/OpenGL_Windows.cpp:35: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27:0: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'void OPENAL_3D_Listener_SetAttributes(const float*, const float*, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:188:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < num_channels; i++) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'signed char OPENAL_3D_SetAttributes(int, const float*, const float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:198:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((channel < 0) || (channel >= num_channels)) return false; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'signed char OPENAL_Init(int, int, unsigned int)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:258:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < num_channels; i++) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'void OPENAL_Close()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:272:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < num_channels; i++) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'OPENAL_SAMPLE* OPENAL_GetCurrentSample(int)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:296:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((channel < 0) || (channel >= num_channels)) return NULL; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'signed char OPENAL_GetPaused(int)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:303:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((channel < 0) || (channel >= num_channels)) return false; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'unsigned int OPENAL_GetLoopMode(int)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:315:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((channel < 0) || (channel >= num_channels)) return 0; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'signed char OPENAL_IsPlaying(int)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:326:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((channel < 0) || (channel >= num_channels)) return false; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'int OPENAL_PlaySoundEx(int, OPENAL_SAMPLE*, OPENAL_DSPUNIT*, signed char)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:339:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < num_channels; i++) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:351:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((channel < 0) || (channel >= num_channels)) return -1; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'void* decode_to_pcm(const char*, ALenum&, ALsizei&, ALuint&)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:377:19: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] if (ptr) *ptr = NULL; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:435:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (size >= allocated) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'OPENAL_SAMPLE* OPENAL_Sample_Load(int, const char*, unsigned int, int, int)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:468:12: warning: unused variable 'bufferName' [-Wunused-variable] ALuint bufferName = 0; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'void OPENAL_Sample_Free(OPENAL_SAMPLE*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:500:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < num_channels; i++) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'signed char OPENAL_Sample_SetMinMaxDistance(OPENAL_SAMPLE*, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:533:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < num_channels; i++) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'signed char OPENAL_SetFrequency(int, int)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:550:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < num_channels; i++) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:555:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((channel < 0) || (channel >= num_channels)) return false; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'signed char OPENAL_SetVolume(int, int)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:569:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < num_channels; i++) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:574:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((channel < 0) || (channel >= num_channels)) return false; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'signed char OPENAL_SetPaused(int, signed char)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:589:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < num_channels; i++) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:594:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((channel < 0) || (channel >= num_channels)) return false; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'signed char OPENAL_StopSound(int)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:625:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < num_channels; i++) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:630:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((channel < 0) || (channel >= num_channels)) return false; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp: In function 'signed char OPENAL_Stream_Stop(OPENAL_STREAM*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/openal_wrapper.cpp:660:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < num_channels; i++) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/WinInput.cpp: In function 'const char* KeyToChar(short unsigned int)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/WinInput.cpp:365:13: warning: unused variable 'i' [-Wunused-variable] static int i; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/WinInput.cpp: In function 'char KeyToSingleChar(short unsigned int)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/WinInput.cpp:671:13: warning: unused variable 'i' [-Wunused-variable] static int i; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/WinInput.cpp: In function 'char Shift(char)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/WinInput.cpp:855:13: warning: unused variable 'i' [-Wunused-variable] static int i; ^ [ 96%] Building CXX object CMakeFiles/lugaru.dir/Source/MacCompatibility.cpp.o /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/MacCompatibility.cpp: In function 'int locateOneElement(char*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/MacCompatibility.cpp:157:12: warning: unused variable 'rc' [-Wunused-variable] char **rc; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/MacCompatibility.cpp:158:12: warning: unused variable 'i' [-Wunused-variable] char **i; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/MacCompatibility.cpp: In function 'int locateCorrectCase(char*, bool)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/MacCompatibility.cpp:235:37: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (ptr = strchr(ptr + 1, '/')) ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.cpp:23: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:374:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:413:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.cpp: In member function 'void Weapons::DoStuff()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.cpp:217:14: warning: unused variable 'caught' [-Wunused-variable] bool caught=0; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.cpp:337:14: warning: unused variable 'distance' [-Wunused-variable] float distance; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.cpp:75:15: warning: unused variable 'moveamount' [-Wunused-variable] static float moveamount; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.cpp:76:6: warning: variable 'closestline' set but not used [-Wunused-but-set-variable] int closestline; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.cpp:83:15: warning: unused variable 'proportion' [-Wunused-variable] static float proportion; ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.h:27, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:49, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/OpenGL_Windows.cpp:35: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:373:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:374:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h: In function 'bool sphere_line_intersection(XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:15: warning: unused variable 'x' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:19: warning: unused variable 'y' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:412:23: warning: unused variable 'z' [-Wunused-variable] static float x , y , z; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:413:24: warning: unused variable 'mu' [-Wunused-variable] static float a, b, c, mu, i ; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/OpenGL_Windows.cpp: In function 'char* calcBaseDir(const char*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/OpenGL_Windows.cpp:1282:17: warning: unused variable 'ptr' [-Wunused-variable] const char *ptr = strrchr((char *)argv0, '/'); ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/OpenGL_Windows.cpp: In function 'bool load_png(const char*, TGAImageRec&)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/OpenGL_Windows.cpp:1667:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < width; j++) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/OpenGL_Windows.cpp:1621:16: warning: unused variable 'rows' [-Wunused-variable] png_byte **rows = NULL; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/OpenGL_Windows.cpp: In function 'int main(int, char**)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/OpenGL_Windows.cpp:1334:34: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir("/usr/share/games/lugaru"); ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/OpenGL_Windows.cpp: In function 'void launch_web_browser(const char*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/OpenGL_Windows.cpp:1217:16: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.cpp:868:31: warning: 'whichsound' may be used uninitialized in this function [-Wmaybe-uninitialized] OPENAL_3D_SetAttributes(channels[whichsound], gLoc, vel); ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.cpp:824:31: warning: 'whichsound' may be used uninitialized in this function [-Wmaybe-uninitialized] OPENAL_3D_SetAttributes(channels[whichsound], gLoc, vel); ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.cpp:769:24: warning: 'whichsound' may be used uninitialized in this function [-Wmaybe-uninitialized] OPENAL_SetPaused(channels[whichsound], false); ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.cpp:715:24: warning: 'whichsound' may be used uninitialized in this function [-Wmaybe-uninitialized] OPENAL_SetPaused(channels[whichsound], false); ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.cpp:628:28: warning: 'whichsound' may be used uninitialized in this function [-Wmaybe-uninitialized] OPENAL_SetPaused(channels[whichsound], false); ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.cpp:587:28: warning: 'whichsound' may be used uninitialized in this function [-Wmaybe-uninitialized] OPENAL_SetPaused(channels[whichsound], false); ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.cpp:545:26: warning: 'whichsound' may be used uninitialized in this function [-Wmaybe-uninitialized] OPENAL_SetPaused(channels[whichsound], false); ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.cpp:508:26: warning: 'whichsound' may be used uninitialized in this function [-Wmaybe-uninitialized] OPENAL_SetPaused(channels[whichsound], false); ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/OpenGL_Windows.cpp: At global scope: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/OpenGL_Windows.cpp:240:23: warning: 'fullscreen' defined but not used [-Wunused-variable] static bool g_button, fullscreen = true; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp: In member function 'void Person::DoAnimations()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:2132:160: warning: 'whichsound' may be used uninitialized in this function [-Wmaybe-uninitialized] if(whichsound!=knifeswishsound&&(targetanimation==staffhitanim||targetanimation==staffgroundsmashanim||targetanimation==staffspinhitanim))OPENAL_SetVolume(channels[whichsound], 256); ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp: In member function 'void Game::Tick()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:5485:26: warning: 'whichsoundplay' may be used uninitialized in this function [-Wmaybe-uninitialized] OPENAL_SetPaused(channels[whichsoundplay], false); ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7603:47: warning: 'legprop' may be used uninitialized in this function [-Wmaybe-uninitialized] player[numplayers].proportionlegs=1.1*legprop; ^ In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28:0, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.h:27, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:49, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:31: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:205:7: warning: 'armprop' may be used uninitialized in this function [-Wmaybe-uninitialized] z=add; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:1673:26: note: 'armprop' was declared here float headprop,bodyprop,armprop,legprop; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7594:47: warning: 'bodyprop' may be used uninitialized in this function [-Wmaybe-uninitialized] player[numplayers].proportionbody=1.1*bodyprop; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7593:47: warning: 'headprop' may be used uninitialized in this function [-Wmaybe-uninitialized] player[numplayers].proportionhead=1.1*headprop; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp: In member function 'void Person::DoStuff()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:6215:21: warning: 'howmany' may be used uninitialized in this function [-Wmaybe-uninitialized] for(j=0;j= set:jhZbnzj5, libSDL-1.2.so.0()(64bit) >= set:lgkZiUfaKrM7cHknT5aNuoRoZF2SFVcFZJVhCVokZlmAcAnO9F0a8Mef, libc.so.6(GLIBC_2.11)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libjpeg.so.62()(64bit) >= set:jfvZgUYgm1WcNFYdTnUrdWC7, libm.so.6(GLIBC_2.2.5)(64bit), libopenal.so.1()(64bit) >= set:lgAZ9Av1mmHqFsFAOAT4t4PJIdaZ2iypJ3lSfWm1noaxsuK8rVv5DVrIWDd4CVjTpW0, libpng15.so.15()(64bit) >= set:lhHMixNE878SveZi1CdMqyyUfHq63Vo9IczzaFz, libpng15.so.15(PNG15_0)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libvorbisfile.so.3()(64bit) >= set:jggM0DyjqojI2, rtld(GNU_HASH), rtld(GNU_UNIQUE) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.N8tr7t Creating lugaru-debuginfo package Processing files: lugaru-data-0.0.r262-alt2.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.55148 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd lugaru-0.0.r262 + DOCDIR=/usr/src/tmp/lugaru-buildroot/usr/share/doc/lugaru-data-0.0.r262 + export DOCDIR + rm -rf /usr/src/tmp/lugaru-buildroot/usr/share/doc/lugaru-data-0.0.r262 + /bin/mkdir -p /usr/src/tmp/lugaru-buildroot/usr/share/doc/lugaru-data-0.0.r262 + cp -prL CONTENT-LICENSE.txt /usr/src/tmp/lugaru-buildroot/usr/share/doc/lugaru-data-0.0.r262 + chmod -R go-w /usr/src/tmp/lugaru-buildroot/usr/share/doc/lugaru-data-0.0.r262 + chmod -R a+rX /usr/src/tmp/lugaru-buildroot/usr/share/doc/lugaru-data-0.0.r262 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2iCBK9 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.BtDV8R find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: lugaru = 0.0.r262 Processing files: lugaru-debuginfo-0.0.r262-alt2.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QrDQhD find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HZzUbr find-requires: running scripts (debuginfo) Requires: lugaru = 0.0.r262-alt2.1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libGLU.so.1), debug64(libSDL-1.2.so.0), debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libjpeg.so.62), debug64(libm.so.6), debug64(libopenal.so.1), debug64(libpng15.so.15), debug64(libstdc++.so.6), debug64(libvorbisfile.so.3) Adding to lugaru-data a strict dependency on lugaru Wrote: /usr/src/RPM/RPMS/x86_64/lugaru-0.0.r262-alt2.1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/noarch/lugaru-data-0.0.r262-alt2.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/x86_64/lugaru-debuginfo-0.0.r262-alt2.1.x86_64.rpm 41.05user 2.39system 0:37.34elapsed 116%CPU (0avgtext+0avgdata 245032maxresident)k 0inputs+0outputs (0major+784800minor)pagefaults 0swaps 52.38user 5.80system 0:53.68elapsed 108%CPU (0avgtext+0avgdata 245032maxresident)k 0inputs+0outputs (0major+1254435minor)pagefaults 0swaps --- lugaru-0.0.r262-alt2.1.x86_64.rpm.repo 2012-10-05 05:01:56.000000000 +0000 +++ lugaru-0.0.r262-alt2.1.x86_64.rpm.hasher 2019-03-10 02:00:00.722561538 +0000 @@ -15,5 +15,5 @@ Requires: libpng15.so.15(PNG15_0)(64bit) -Requires: libpthread.so.0(GLIBC_2.2.5)(64bit) Requires: libstdc++.so.6(CXXABI_1.3)(64bit) Requires: libstdc++.so.6(GLIBCXX_3.4)(64bit) +Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) Requires: libvorbisfile.so.3()(64bit) >= set:jggM0DyjqojI2 --- lugaru-data-0.0.r262-alt2.1.noarch.rpm.repo 2012-10-05 05:02:19.000000000 +0000 +++ lugaru-data-0.0.r262-alt2.1.noarch.rpm.hasher 2019-03-10 02:00:00.840561601 +0000 @@ -456,2 +456,3 @@ Requires: lugaru = 0.0.r262 +Requires: lugaru = 0.0.r262-alt2.1 Requires: rpmlib(PayloadIsLzma) --- lugaru-debuginfo-0.0.r262-alt2.1.x86_64.rpm.repo 2012-10-05 05:01:56.000000000 +0000 +++ lugaru-debuginfo-0.0.r262-alt2.1.x86_64.rpm.hasher 2019-03-10 02:00:00.996561686 +0000 @@ -11,3 +11,2 @@ Requires: debug64(libpng15.so.15) -Requires: debug64(libpthread.so.0) Requires: debug64(libstdc++.so.6)