<86>Apr 12 08:19:17 userdel[29695]: delete user 'rooter' <86>Apr 12 08:19:17 userdel[29695]: removed group 'rooter' owned by 'rooter' <86>Apr 12 08:19:17 userdel[29695]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 12 08:19:17 groupadd[29703]: group added to /etc/group: name=rooter, GID=561 <86>Apr 12 08:19:17 groupadd[29703]: group added to /etc/gshadow: name=rooter <86>Apr 12 08:19:17 groupadd[29703]: new group: name=rooter, GID=561 <86>Apr 12 08:19:17 useradd[29710]: new user: name=rooter, UID=561, GID=561, home=/root, shell=/bin/bash <86>Apr 12 08:19:17 userdel[29722]: delete user 'builder' <86>Apr 12 08:19:17 userdel[29722]: removed group 'builder' owned by 'builder' <86>Apr 12 08:19:17 userdel[29722]: removed shadow group 'builder' owned by 'builder' <86>Apr 12 08:19:17 groupadd[29733]: group added to /etc/group: name=builder, GID=562 <86>Apr 12 08:19:17 groupadd[29733]: group added to /etc/gshadow: name=builder <86>Apr 12 08:19:17 groupadd[29733]: new group: name=builder, GID=562 <86>Apr 12 08:19:17 useradd[29740]: new user: name=builder, UID=562, GID=562, home=/usr/src, shell=/bin/bash <13>Apr 12 08:19:25 rpmi: libogg-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598661 installed <13>Apr 12 08:19:25 rpmi: libglvnd-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 12 08:19:25 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Apr 12 08:19:25 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Apr 12 08:19:25 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Apr 12 08:19:25 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Apr 12 08:19:25 rpmi: libidn2-2.1.1-alt1 sisyphus+221274.100.1.2 1549951289 installed <13>Apr 12 08:19:25 rpmi: libOpenGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 12 08:19:25 rpmi: libGLES-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 12 08:19:25 rpmi: libflac8-1.3.2-alt2 sisyphus+220898.4400.11.1 1551973321 installed <13>Apr 12 08:19:26 rpmi: libogg-devel-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598661 installed <13>Apr 12 08:19:26 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633314 installed <13>Apr 12 08:19:26 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed <13>Apr 12 08:19:26 rpmi: libopenal1-1.19.1-alt1 sisyphus+222956.100.1.1 1551298524 installed <13>Apr 12 08:19:26 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Apr 12 08:19:26 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Apr 12 08:19:26 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Apr 12 08:19:26 rpmi: liblz4-1:1.8.3-alt2 sisyphus+221902.4200.4.1 1550599659 installed <13>Apr 12 08:19:26 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Apr 12 08:19:26 rpmi: libgcrypt20-1.8.4-alt1 sisyphus+225621.500.1.1 1553521735 installed <13>Apr 12 08:19:26 rpmi: libsystemd-1:241-alt4 sisyphus+226361.200.3.1 1554170427 installed <13>Apr 12 08:19:26 rpmi: libdbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918047 installed <13>Apr 12 08:19:26 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Apr 12 08:19:26 rpmi: libalsa-1:1.1.8-alt2 sisyphus+221894.200.4.1 1550583286 installed <13>Apr 12 08:19:26 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Apr 12 08:19:26 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615009 installed <13>Apr 12 08:19:26 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Apr 12 08:19:26 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Apr 12 08:19:26 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Apr 12 08:19:26 rpmi: libX11-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615005 installed <13>Apr 12 08:19:26 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Apr 12 08:19:26 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Apr 12 08:19:26 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Apr 12 08:19:26 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Apr 12 08:19:26 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Apr 12 08:19:26 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Apr 12 08:19:28 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Apr 12 08:19:29 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615005 installed <13>Apr 12 08:19:29 rpmi: libpulseaudio-12.2-alt1 1535623585 installed <13>Apr 12 08:19:29 rpmi: libSDL-1.2.14-alt7 1483707272 installed <13>Apr 12 08:19:29 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Apr 12 08:19:29 rpmi: libpciaccess-1:0.14-alt1 1528969252 installed <13>Apr 12 08:19:29 rpmi: libdrm-1:2.4.97-alt1 sisyphus+220483.100.1.1 1549270242 installed <13>Apr 12 08:19:29 rpmi: libGLX-mesa-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553767902 installed <13>Apr 12 08:19:29 rpmi: libGLX-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 12 08:19:29 rpmi: libGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 12 08:19:29 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Apr 12 08:19:29 rpmi: libgbm-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553767902 installed <13>Apr 12 08:19:29 rpmi: libEGL-mesa-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553767902 installed <13>Apr 12 08:19:29 rpmi: libEGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 12 08:19:29 rpmi: libglvnd-devel-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634542 installed <13>Apr 12 08:19:29 rpmi: libEGL-devel-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553767902 installed <13>Apr 12 08:19:29 rpmi: libGL-devel-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553767902 installed <13>Apr 12 08:19:29 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Apr 12 08:19:29 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Apr 12 08:19:30 rpmi: libstdc++8-devel-8.3.1-alt2 sisyphus+224979.100.1.1 1552540396 installed <13>Apr 12 08:19:31 rpmi: gcc8-c++-8.3.1-alt2 sisyphus+224979.100.1.1 1552540396 installed <13>Apr 12 08:19:31 rpmi: rpm-macros-cmake-3.13.4-alt1 sisyphus+220827.100.1.2 1549497636 installed <13>Apr 12 08:19:31 rpmi: cmake-modules-3.13.4-alt1 sisyphus+220827.100.1.2 1549497610 installed <13>Apr 12 08:19:31 rpmi: libuv-1.23.2-alt1 sisyphus+222662.100.1.1 1550983208 installed <13>Apr 12 08:19:31 rpmi: librhash-1.3.5-alt2 1505156279 installed <13>Apr 12 08:19:31 rpmi: libjsoncpp19-1.8.4-alt2.S1 1518769525 installed <13>Apr 12 08:19:31 rpmi: publicsuffix-list-dafsa-20190329-alt1 sisyphus+226347.100.1.2 1554127434 installed <13>Apr 12 08:19:31 rpmi: libpsl-0.20.2-alt2 sisyphus+222635.100.1.1 1550951841 installed <13>Apr 12 08:19:31 rpmi: libnghttp2-1.34.0-alt1 sisyphus+222625.100.1.1 1550947259 installed <13>Apr 12 08:19:31 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Apr 12 08:19:31 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Apr 12 08:19:31 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Apr 12 08:19:31 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus+226738.100.2.1 1554554568 installed <13>Apr 12 08:19:31 rpmi: libbrotlidec-1.0.7-alt1 sisyphus+226738.100.2.1 1554554568 installed <13>Apr 12 08:19:31 rpmi: libnettle6-3.4.1-alt1 sisyphus+226533.100.2.1 1554512222 installed <13>Apr 12 08:19:31 rpmi: libarchive13-3.3.1-alt2 sisyphus.219343.100 1547461970 installed <13>Apr 12 08:19:31 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 12 08:19:31 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Apr 12 08:19:31 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 12 08:19:31 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 12 08:19:31 rpmi: ca-certificates-2019.03.31-alt1 sisyphus+226302.100.1.1 1554055265 installed <13>Apr 12 08:19:31 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Apr 12 08:19:31 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 12 08:19:32 rpmi: libcrypto1.1-1.1.1b-alt1 sisyphus+225327.200.2.1 1553099317 installed <13>Apr 12 08:19:32 rpmi: libssl1.1-1.1.1b-alt1 sisyphus+225327.200.2.1 1553099317 installed <86>Apr 12 08:19:32 groupadd[21167]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 12 08:19:32 groupadd[21167]: group added to /etc/gshadow: name=_keytab <86>Apr 12 08:19:32 groupadd[21167]: new group: name=_keytab, GID=499 <13>Apr 12 08:19:32 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746516 installed <86>Apr 12 08:19:32 groupadd[21308]: group added to /etc/group: name=sasl, GID=498 <86>Apr 12 08:19:32 groupadd[21308]: group added to /etc/gshadow: name=sasl <86>Apr 12 08:19:32 groupadd[21308]: new group: name=sasl, GID=498 <13>Apr 12 08:19:32 rpmi: libsasl2-3-2.1.27-alt1 sisyphus+223971.100.1.1 1551928460 installed <13>Apr 12 08:19:32 rpmi: libldap-2.4.46-alt1.1 sisyphus+219907.4400.1.1 1548349979 installed <13>Apr 12 08:19:32 rpmi: libcurl-7.64.1-alt1 sisyphus+225825.100.1.1 1553777011 installed <13>Apr 12 08:19:32 rpmi: cmake-3.13.4-alt1 sisyphus+220827.100.1.2 1549497636 installed <13>Apr 12 08:19:32 rpmi: gcc-c++-8-alt1 sisyphus+222164.100.1.1 1550685959 installed <13>Apr 12 08:19:32 rpmi: libSDL-devel-1.2.14-alt7 1483707272 installed <13>Apr 12 08:19:32 rpmi: libjpeg-devel-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Apr 12 08:19:33 rpmi: libopenal-devel-1.19.1-alt1 sisyphus+222956.100.1.1 1551298524 installed <13>Apr 12 08:19:33 rpmi: libpng-devel-1.6.36-alt1 sisyphus+219478.100.1.1 1547633314 installed <13>Apr 12 08:19:33 rpmi: libvorbis-devel-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/lugaru-0.0.r262-alt2.2.nosrc.rpm Installing lugaru-0.0.r262-alt2.2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.98531 + 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.98531 + 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=lib -DLUGARU_INSTALL_PREFIX=/usr/share/games/lugaru -DLIB_SUFFIX=64 -- The C compiler identification is GNU 8.3.1 -- The CXX compiler identification is GNU 8.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 CMake Warning (dev) at /usr/share/cmake/Modules/FindOpenGL.cmake:270 (message): Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when available. Run "cmake --help-policy CMP0072" for policy details. Use the cmake_policy command to set the policy and suppress this warning. FindOpenGL found both a legacy GL library: OPENGL_gl_LIBRARY: /usr/lib/libGL.so and GLVND libraries for OpenGL and GLX: OPENGL_opengl_LIBRARY: /usr/lib/libOpenGL.so OPENGL_glx_LIBRARY: /usr/lib/libGLX.so OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for compatibility with CMake 3.10 and below the legacy GL library will be used. Call Stack (most recent call first): CMakeLists.txt:163 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found OpenGL: /usr/lib/libOpenGL.so -- Found OpenAL: /usr/lib/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/lib/libSDL.so;-lpthread (found version "1.2.14") -- Found ZLIB: /usr/lib/libz.so (found version "1.2.11") -- Found PNG: /usr/lib/libpng.so (found version "1.6.36") -- Found JPEG: /usr/lib/libjpeg.so (found version "62") -- Looking for vorbis_bitrate_addblock in vorbis -- Looking for vorbis_bitrate_addblock in vorbis - found -- Found OggVorbis: /usr/lib/libogg.so;/usr/lib/libvorbis.so;/usr/lib/libvorbisfile.so;/usr/lib/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 + make -j8 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/Frustum.cpp.o /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; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Frustum.cpp: At global scope: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Frustum.cpp:33:15: warning: 't' defined but not used [-Wunused-variable] 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' [ 32%] Building C object CMakeFiles/lugaru.dir/Source/pack.c.o 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' [ 17%] Building CXX object CMakeFiles/lugaru.dir/Source/Lights.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28, 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: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28, 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}; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.cpp: At global scope: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.cpp:29:15: warning: 'zattenuation' defined but not used [-Wunused-variable] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.cpp:28:15: warning: 'lattenuation' defined but not used [-Wunused-variable] static float lattenuation[]={0.5f}; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.cpp:27:15: warning: 'cattenuation' defined but not used [-Wunused-variable] static float cattenuation[]={1.5f}; ^~~~~~~~~~~~ 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' [ 35%] Building C object CMakeFiles/lugaru.dir/Source/pack_private.c.o 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' [ 42%] Building C object CMakeFiles/lugaru.dir/Source/private.c.o 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' [ 25%] 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, 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: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Objects.h:25, 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 ; ^~ /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:720:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(terrain.patchobjectnum[patchx][patchz]) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Objects.cpp:731:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(shadowed[i]>0){ ^~ /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; ^~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Objects.cpp: At global scope: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Objects.cpp:702:27: warning: 'total' defined but not used [-Wunused-variable] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Objects.cpp:702:15: warning: 'brightness' defined but not used [-Wunused-variable] static float brightness, total; ^~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Objects.cpp:88:15: warning: 'j' defined but not used [-Wunused-variable] static int i,j; ^ 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' [ 50%] Building C object CMakeFiles/lugaru.dir/Source/Random.c.o 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' [ 14%] Building CXX object CMakeFiles/lugaru.dir/Source/Globals.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Globals.cpp:25: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Globals.cpp:25: /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 ; ^~ 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' [ 10%] Building CXX object CMakeFiles/lugaru.dir/Source/GameInitDispose.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28, 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: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28, 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 ; ^~ /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/GameInitDispose.cpp: At global scope: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp:1350:17: warning: 'texsize' defined but not used [-Wunused-variable] static int i,j,texsize; ^~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp:892:40: warning: 'maxprogress' defined but not used [-Wunused-variable] static float loadprogress,minprogress,maxprogress; ^~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp:892:28: warning: 'minprogress' defined but not used [-Wunused-variable] static float loadprogress,minprogress,maxprogress; ^~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp:652:22: warning: 'time' defined but not used [-Wunused-variable] static AbsoluteTime time = {0,0}; ^~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp:651:40: warning: 'maxprogress' defined but not used [-Wunused-variable] static float loadprogress,minprogress,maxprogress; ^~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameInitDispose.cpp:651:28: warning: 'minprogress' defined but not used [-Wunused-variable] static float loadprogress,minprogress,maxprogress; ^~~~~~~~~~~ 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' [ 46%] Building CXX object CMakeFiles/lugaru.dir/Source/Quaternions.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:22: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.h:27: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.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/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; ^~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp: At global scope: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:509:15: warning: 'total' defined but not used [-Wunused-variable] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:508:21: warning: 'a3' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:508:18: warning: 'a2' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:508:15: warning: 'a1' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:479:15: warning: 'total' defined but not used [-Wunused-variable] static float total,denom,mu; ^~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:478:21: warning: 'a3' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:478:18: warning: 'a2' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:478:15: warning: 'a1' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:454:15: warning: 'total' defined but not used [-Wunused-variable] static float total,denom,mu; ^~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:453:21: warning: 'a3' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:453:18: warning: 'a2' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:453:15: warning: 'a1' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:424:15: warning: 'total' defined but not used [-Wunused-variable] static float total,denom,mu; ^~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:423:21: warning: 'a3' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:423:18: warning: 'a2' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:423:15: warning: 'a1' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:394:15: warning: 'total' defined but not used [-Wunused-variable] static float total,denom,mu; ^~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:393:21: warning: 'a3' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:393:18: warning: 'a2' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:393:15: warning: 'a1' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:287:15: warning: 'total' defined but not used [-Wunused-variable] static float total,denom,mu; ^~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:286:21: warning: 'a3' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:286:18: warning: 'a2' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Quaternions.cpp:286:15: warning: 'a1' defined but not used [-Wunused-variable] static float a1,a2,a3; ^~ 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' [ 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, 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: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skybox.h:25, 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 ; ^~ 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' [ 28%] Building CXX object CMakeFiles/lugaru.dir/Source/Models.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28, 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: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28, 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/Models.cpp: In member function 'int Model::LineCheckPossible(XYZ*, XYZ*, XYZ*, XYZ*, float*)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:132:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numpossible>0&&numpossible0){ ^~ /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 'void Model::UpdateVertexArray()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:290:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!flat) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:320:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(flat) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp: In member function 'void Model::UpdateVertexArrayNoTex()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:357:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!flat) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:381:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(flat) ^~ /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; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp: At global scope: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:1061:16: warning: 'distancemult' defined but not used [-Wunused-variable] static float distancemult; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:1060:16: warning: 'j' defined but not used [-Wunused-variable] static int i,j; ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Models.cpp:238:13: warning: 'i' defined but not used [-Wunused-variable] static int i,j; ^ 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' [ 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, 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: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Sprites.h:25, 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 ; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Sprites.cpp: In member function 'void Sprites::Draw()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Sprites.cpp:313:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(whichpatchx>0&&whichpatchz>0&&whichpatchx=typesleeping)&&player[k].playerdetail) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:412:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(frustum.SphereInFrustum(player[k].coords.x,player[k].coords.y,player[k].coords.z,player[k].scale*5)&&player[k].occluded<25) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:440:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!player[k].playerdetail) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:663:21: warning: too many arguments for format [-Wformat-extra-args] sprintf (string, " ",(int)(fps)); ^~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:666:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!tutoriallevel) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:709:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(tutoriallevel==1){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:778:24: 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:23: 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:1835:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:1839:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(alldead){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:1844:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:1848:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(alldead){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:1885:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:1889:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(numafterkill>0&&alldead){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:2297:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(campaignnumnext[i]) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:2303:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ipstream.ignore(256,':'); ^~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:2319:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(accountcampaignchoicesmade[accountactive]) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:2324:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' int whichlevelstart; ^~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:2688:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(accountcampaignchoicesmade[accountactive]) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:2699:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(campaignchoicenum>0) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:2823:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numaccounts) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:2836:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' sprintf (menustring[num], "Back"); ^~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:2872:9: warning: unused variable 'tempncl' [-Wunused-variable] int tempncl; ^~~~~~~ /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:3240:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(mainmenu==1||mainmenu==2) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:3247:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(mainmenu==3||mainmenu==4||mainmenu==5||mainmenu==6||mainmenu==7||mainmenu==8||mainmenu==9||mainmenu==10||mainmenu==11||mainmenu==13||mainmenu==17) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:3247:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:3257:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(nummenuitems>0) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:3257:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:3267:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(nummenuitems>0) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:3267:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:3283:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(mainmenu==1||mainmenu==2){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:3668:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(mainmenu==1||mainmenu==2) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:3707:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' glMatrixMode(GL_PROJECTION); // Select The Projection Matrix ^~~~~~~~~~~~ /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/GameDraw.cpp: At global scope: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:221:15: warning: 'changespeed' defined but not used [-Wunused-variable] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:220:15: warning: 'newbrightness' defined but not used [-Wunused-variable] static float newbrightness; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:219:17: warning: 'color' defined but not used [-Wunused-variable] static GLubyte color; ^~~~~ /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:1167:23: warning: '%s' directive writing up to 263 bytes into a region of size 256 [-Wformat-overflow=] sprintf (string, "%s: ", tempname); ^~~~~~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:25, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:22: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 3 and 266 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:1189:23: warning: '%s' directive writing up to 263 bytes into a region of size 256 [-Wformat-overflow=] sprintf (string, "%s", tempname); ^~~~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:25, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:22: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 1 and 264 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:1238:23: warning: '%s' directive writing up to 255 bytes into a region of size 250 [-Wformat-overflow=] sprintf (string, "Name: %s", registrationname); ^~~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Game.h:25, from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:22: /usr/include/bits/stdio2.h:33:34: note: '__builtin___sprintf_chk' output between 7 and 262 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameDraw.cpp:1173:19: 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); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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' [ 71%] Building CXX object CMakeFiles/lugaru.dir/Source/TGALoader.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28, 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: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28, 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 ; ^~ /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 of integer expressions of different signedness: 'GLuint' {aka 'unsigned int'} and 'int' [-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 of integer expressions of different signedness: 'GLuint' {aka 'unsigned int'} and 'int' [-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 of integer expressions of different signedness: 'GLuint' {aka 'unsigned int'} and 'int' [-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) ^~~~ 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' [ 64%] Building CXX object CMakeFiles/lugaru.dir/Source/Terrain.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28, 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: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Lights.h:28, 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::draw(int)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp:982:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!layer) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Terrain.cpp:992:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for(i=beginx;i2500){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp:585:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(tutoriallevel!=1||id==0) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp:610:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(objects.type[k]==treetrunktype){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp:648:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!joints[i].locked) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp:653:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(findLengthfast(&bounceness)>500)sprites.MakeSprite(cloudsprite, joints[i].position*(*scale)+*coords,joints[i].velocity*.06, 1,1,1, .5, .2); ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp:529:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(terrain.patchobjectnum[whichpatchx][whichpatchz]) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp:659:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' joints[i].realoldposition=joints[i].position*(*scale)+*coords; ^~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp:665:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(terrain.patchobjectnum[whichpatchx][whichpatchz]) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Skeleton.cpp:685:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for(i=0; i= 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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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:21: 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 of integer expressions of different signedness: 'ALsizei' {aka 'int'} and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-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 of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] for (int i = 0; i < num_channels; i++) ~~^~~~~~~~~~~~~~ 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' [ 82%] Building CXX object CMakeFiles/lugaru.dir/Source/Weapons.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.h:28, 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: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Weapons.h:28, 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:148:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(whichpatchx>0&&whichpatchz>0&&whichpatchx0&&whichpatchz>0&&whichpatchx0&&player[0].num_weapons<5) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:3458:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fpackf(tfile, "Bf Bf Bf", player[0].armorhead, player[0].armorhigh, player[0].armorlow); ^~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:3468:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numdialogues) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:3509:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(player[0].numclothes) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:3509:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:3518:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fpackf(tfile, "Bi", environment); ^~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:3522:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(objects.numobjects) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:3527:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fpackf(tfile, "Bi", numhotspots); ^~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:3528:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numhotspots) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:3537:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fpackf(tfile, "Bi", numplayers); ^~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:3541:16: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(player[j].num_weapons>0&&player[j].num_weapons<5) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:3545:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(player[j].numwaypoints<30){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:3538:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1&&numplayers1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:3931:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for(j=9;j1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:3956:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' alldone=0; ^~~~~~~ /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:4886:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:4895:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' int startpoint; ^~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:4938:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:4946:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' int startpoint; ^~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:5031:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:5039:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' player[closest].numclothes=0; ^~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:5153:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:5162:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(AddClothes((char *)mapname,0,1,&player[closest].skeleton.skinText[0],&player[closest].skeleton.skinsize)){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:5404:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(indialogue==-1&&(animation[player[0].targetanimation].height!=highheight)/*&&!hostile*/) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:5492:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' windvar+=multiplier; ^~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:6055:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:6061:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if(bonustime==0){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:6138:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(terrain.patchobjectnum[player[k].whichpatchx][player[k].whichpatchz]) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:6336:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(tempcollide&&terrain.patchobjectnum[player[k].whichpatchx][player[k].whichpatchz]&&(/*player[k].jumptogglekeydown*/1==1||player[k].aitype!=playercontrolled)) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:6336:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:6476:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(player[k].collide<=0){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:6986:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:6994:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(closest!=-1){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7043:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7052:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' player[closest].rotation+=multiplier*50; ^~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7061:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7069:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(IsKeyDown(theKeyMap, MAC_CONTROL_KEY))closest=0; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7097:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7105:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(closest!=-1){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7191:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7202:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(closest!=-1){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7257:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7268:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(closest!=-1){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7466:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7474:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(closestdist>0&&closest>=0){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7486:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(max_objects>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7494:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(closestdist>0&&closest>=0){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7634:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(player[numplayers].numclothes) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7645:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(player[numplayers].numclothes){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7686:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numpathpoints>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:7700:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!connected){ ^~ /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:7951:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8093:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' bool hasstaff=0; ^~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8102:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(player[i].skeleton.free) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8145:16: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(animation[player[k].targetanimation].attack==normalattack&&player[k].victim==&player[i]&&(!player[i].skeleton.free||player[k].targetanimation==killanim||player[k].targetanimation==crouchstabanim||player[k].targetanimation==swordgroundstabanim||player[k].targetanimation==staffgroundsmashanim||player[k].targetanimation==dropkickanim)){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8097:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8180:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!player[k].hasvictim){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8192:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(player[k].aitype==playercontrolled) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8199:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(animation[player[k].targetanimation].attack&&k==0){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8255:23: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(k==0) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8267:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(i==0) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8267:24: warning: this 'if' clause does not guard... [-Wmisleading-indentation] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8280:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if((player[i].skeleton.oldfree==1&&findLengthfast(&player[i].velocity)>1)||(player[k].skeleton.oldfree==1&&findLengthfast(&player[k].velocity)>1)||(player[i].skeleton.oldfree==0&&player[k].skeleton.oldfree==0)){ ^~ /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:8282:26: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(((player[i].targetanimation!=getupfrombackanim&&player[i].targetanimation!=getupfromfrontanim)||player[i].skeleton.free)&&((player[k].targetanimation!=getupfrombackanim&&player[k].targetanimation!=getupfromfrontanim)||player[k].skeleton.free)) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8331:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if((animation[player[i].targetanimation].attack==neutral||animation[player[i].targetanimation].attack==normalattack)&&(animation[player[k].targetanimation].attack==neutral||animation[player[k].targetanimation].attack==normalattack)){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8340:30: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(player[k].howactive==typeactive||hostile) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8355:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(player[i].howactive==typeactive||hostile) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8224:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8411:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for(k=0;k0&&(tutoriallevel!=1||cananger)&&hostile) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8956:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(player[i].howactive==typesleeping) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8957:16: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numenvsounds>0&&(tutoriallevel!=1||cananger)&&hostile) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:8965:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(player[i].aitype!=passivetype){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:9011:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(normaldotproduct(player[i].facing,player[j].coords-player[i].coords)>0) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:9017:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(player[i].lastseentime<=0){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:9116:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numenvsounds>0&&((tutoriallevel!=1||cananger)&&hostile)) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:9123:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!player[0].dead&&player[i].losupdatedelay<0&&!editorenabled&&player[i].occluded<2&&((tutoriallevel!=1||cananger)&&hostile)){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:9276:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!player[0].dead&&((tutoriallevel!=1||cananger)&&hostile)) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:9281:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!player[0].dead) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:9281:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:9327:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' player[i].leftkeydown=0; ^~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:9342:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(player[i].damage=2) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:9924:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i==0||!player[0].dead||player[i].weaponactive!=-1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:9953:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(player[i].isCrouch()&&weapons.bloody[player[i].weaponids[player[i].weaponactive]]&&bloodtoggle&&player[i].onterrain&&player[i].num_weapons&&player[i].weaponactive!=-1&&player[i].attackkeydown){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10007:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10016:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(target>=0)player[target].Reverse(); ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10037:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10046:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(target>=0)player[target].Reverse(); ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10178:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10187:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(target>=0)player[i].velocity.y=1; ^~ /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:10354:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numenvsounds!=0) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10363:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!slomo)OPENAL_SetFrequency(OPENAL_ALL, 22050); ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10410:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(tutorialstage<51) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10433:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(tutorialstage>=14&&tutorialstage<50) ^~ /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::TickOnce()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10521:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!mainmenu) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10529:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(mainmenu)rotation+=multiplier*5; ^~ /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:10678:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numhotspots) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10688:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(killhotspot==2)killhotspot=0; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10692:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numhotspots) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10700:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' int numalarmed=0; ^~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10701:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10705:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(numalarmed>maxalarmed)maxalarmed=numalarmed; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10713:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10719:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(alldead&&!player[0].dead&&maptype==mapkilleveryone){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10912:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(campaignnumnext[i]) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10918:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ipstream.ignore(256,':'); ^~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10938:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(accountcampaignchoicesmade[accountactive]) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10943:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' int whichlevelstart; ^~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10863:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(campaign) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10998:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(loading==3)loading=0; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:10863:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(campaign) ^ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:11044:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(terrain.patchobjectnum[player[0].whichpatchx][player[0].whichpatchz]) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:11051:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(terrain.patchobjectnum[player[0].whichpatchx][player[0].whichpatchz]) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:11051:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:11059:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' cameradist=findDistance(&viewer,&target); ^~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:11088:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(terrain.patchobjectnum[player[0].whichpatchx][player[0].whichpatchz]) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:11095:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(terrain.patchobjectnum[player[0].whichpatchx][player[0].whichpatchz]) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:11095:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:11103:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' cameradist=findDistance(&viewer,&target); ^~~~~~~~~~ /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; ^~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp: At global scope: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:6909:20: warning: 'temptexdetail' defined but not used [-Wunused-variable] static float temptexdetail; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:6767:38: warning: 'bigrefreshdelay' defined but not used [-Wunused-variable] static float keyrefreshdelay=0,bigrefreshdelay=0; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:6767:20: warning: 'keyrefreshdelay' defined but not used [-Wunused-variable] static float keyrefreshdelay=0,bigrefreshdelay=0; ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/GameTick.cpp:1662:21: warning: 'numgood' defined but not used [-Wunused-variable] static int target, numgood; ^~~~~~~ /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:5482:21: warning: 'whichsoundplay' may be used uninitialized in this function [-Wmaybe-uninitialized] PlaySoundEx( whichsoundplay, samp[whichsoundplay], NULL, true); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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, 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:3: 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; ~~~^~~~~~~~~ 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' [ 39%] Building CXX object CMakeFiles/lugaru.dir/Source/Person.cpp.o In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.h:28, 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: warning: ignoring #pragma mark [-Wunknown-pragmas] #pragma mark - In file included from /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.h:28, 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:476:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(creature==rabbittype) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:481:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(creature==wolftype) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:481:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:486:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' bleedy=bleedxint; ^~~~~~ /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 'void Person::DoBloodBig(float, int)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:502:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(tutoriallevel!=1||id==0) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:542:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(id==0&&howmuch>0){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:603:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(creature==rabbittype) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:614:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(creature==wolftype) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:614:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:626:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' startx+=offsetx; ^~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:645:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(creature==rabbittype) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:657:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(creature==wolftype) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:657:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:669:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' glBindTexture(GL_TEXTURE_2D,skeleton.drawmodel.textureptr); ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:675:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(creature==rabbittype) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:680:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(creature==wolftype) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:680:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:685:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' bleedy=bleedxint+offsetx; ^~~~~~ /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:819:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(creature==rabbittype) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:830:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(creature==wolftype) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:830:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:841:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' startx+=offsetx; ^~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:860:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(creature==rabbittype) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:879:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(creature==wolftype) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:879:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:898:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' glBindTexture(GL_TEXTURE_2D,skeleton.drawmodel.textureptr); ^~~~~~~~~~~~~ /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::Reverse()': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:1298:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(hasvictim) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:1341:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' velocity=0; ^~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp: In member function 'void Person::DoDamage(float)': /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:1422:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(tutoriallevel!=1||id==0) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:1461:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' speechdelay=.3; ^~~~~~~~~~~ /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' [-Wdangling-else] 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:2136:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(id==0) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:2145:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(animation[targetanimation].label[targetframe]==3){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:2085:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(tutoriallevel!=1||id==0) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:2155:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(tutoriallevel!=1||id==0) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:2157:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(targetanimation!=crouchstabanim&&targetanimation!=swordgroundstabanim&&targetanimation!=staffgroundsmashanim) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:2200:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if((!wasLanding()&&!wasLandhard())&¤tanimation!=getIdle()&&(isLanding()||isLandhard())){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:2263:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(weapons.owner[i]!=-1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:2269:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!fleshstuck){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:2396:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(findDistancefast(&victim->coords,&/*player[i].*/coords)<5&&victim->aitype==gethelptype&&(attackkeydown)&&!victim->skeleton.free&&victim->isRun()&&victim->runninghowlong>=1)dojumpattack=1; if(!hostile)dojumpattack=0; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:2396:201: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(findDistancefast(&victim->coords,&/*player[i].*/coords)<5&&victim->aitype==gethelptype&&(attackkeydown)&&!victim->skeleton.free&&victim->isRun()&&victim->runninghowlong>=1)dojumpattack=1; if(!hostile)dojumpattack=0; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:2395:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(hasvictim) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:2396:201: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(findDistancefast(&victim->coords,&/*player[i].*/coords)<5&&victim->aitype==gethelptype&&(attackkeydown)&&!victim->skeleton.free&&victim->isRun()&&victim->runninghowlong>=1)dojumpattack=1; if(!hostile)dojumpattack=0; ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:4561:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:4571:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(closestdist>0&&closest>=0&&closestdist<16){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:4616:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(numplayers>1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:4626:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(closestdist>0&&closest>=0&&closestdist<16){ ^~ /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:5474:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(tailmorphend!=0) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:5481:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(tailmorphend!=5) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:5481:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:5488:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(twitchdelay2<=0){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:5542:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(bloodtoggle&&!bled) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:5551:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' bled=1; ^~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:5792:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(bloodtoggle&&!bled) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:5801:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' bled=1; ^~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:5810:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(bloodtoggle&&!bled) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:5819:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' bled=1; ^~~~ /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:6048:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(objects.type[i]==firetype) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:6073:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(objects.type[i]==bushtype) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:6126:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(environment!=desertenvironment) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:6139:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' howmany=findLength(&velocity)*4; ^~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:6073:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(objects.type[i]==bushtype) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:6159:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' XYZ tempcoord; ^~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:6214:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(environment!=desertenvironment) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:6228:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' howmany=findLength(&velocity)*4; ^~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:6046:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(findLengthfast(&velocity)>.1) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:6250:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!skeleton.free){ ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:6418:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!dead&&targetanimation!=hurtidleanim) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:6427:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(weaponactive!=-1){ ^~ /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:7262:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(playerdetail) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:7266:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' glEnd(); ^~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:7309:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(canattack&&cananger) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:7314:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' glMatrixMode(GL_TEXTURE); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:7339:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(canattack&&cananger) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:7344:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' glMatrixMode(GL_TEXTURE); ^~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:7330:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!(animation[targetanimation].attack==normalattack||animation[targetanimation].attack==reversed)) ^~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:7361:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(tutoriallevel&&id!=0){ ^~ /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; ^~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp: At global scope: /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:6884:33: warning: 'weaponrotatemuscle2' defined but not used [-Wunused-variable] static int weaponrotatemuscle,weaponrotatemuscle2; ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:2243:20: warning: 'willwork' defined but not used [-Wunused-variable] static bool willwork; ^~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:938:15: warning: 'sizemult' defined but not used [-Wunused-variable] static float sizemult; ^~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:937:13: warning: 'which' defined but not used [-Wunused-variable] static int which; ^~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:936:50: warning: 'newnewendy' defined but not used [-Wunused-variable] static int newnewstartx,newnewstarty,newnewendx,newnewendy; ^~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:936:39: warning: 'newnewendx' defined but not used [-Wunused-variable] static int newnewstartx,newnewstarty,newnewendx,newnewendy; ^~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:936:26: warning: 'newnewstarty' defined but not used [-Wunused-variable] static int newnewstartx,newnewstarty,newnewendx,newnewendy; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:936:13: warning: 'newnewstartx' defined but not used [-Wunused-variable] static int newnewstartx,newnewstarty,newnewendx,newnewendy; ^~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:934:57: warning: 'sum' defined but not used [-Wunused-variable] static int newsize,totalsize,rowsize,bigstep,smallstep,sum; ^~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:934:47: warning: 'smallstep' defined but not used [-Wunused-variable] static int newsize,totalsize,rowsize,bigstep,smallstep,sum; ^~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:934:39: warning: 'bigstep' defined but not used [-Wunused-variable] static int newsize,totalsize,rowsize,bigstep,smallstep,sum; ^~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:934:31: warning: 'rowsize' defined but not used [-Wunused-variable] static int newsize,totalsize,rowsize,bigstep,smallstep,sum; ^~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:934:21: warning: 'totalsize' defined but not used [-Wunused-variable] static int newsize,totalsize,rowsize,bigstep,smallstep,sum; ^~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:933:13: warning: 'bytesPerPixel' defined but not used [-Wunused-variable] static int bytesPerPixel=3; ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:932:15: warning: 'temp' defined but not used [-Wunused-variable] static float temp; ^~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:711:23: warning: 'bleedyint' defined but not used [-Wunused-variable] static int bleedxint,bleedyint,i,j; ^~~~~~~~~ /usr/src/RPM/BUILD/lugaru-0.0.r262/Source/Person.cpp:711:13: warning: 'bleedxint' defined but not used [-Wunused-variable] static int bleedxint,bleedyint,i,j; ^~~~~~~~~ /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/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 >= set:lgkZiUfaKrM7cHknT5aNuoRoZF2SFVcFZJVhCVokZlmAcAnO9F0a8Mef, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_7.0.0), libgcc_s.so.1(GLIBC_2.0), libjpeg.so.62 >= set:jfvZgUYgm1WcNFYdTnUrdWC7, libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.1), libopenal.so.1 >= set:lgAZ9Av1mmHqFsFAOAT4t4PJIdaZ2iypJ3lSfWm1noaxsuK8rVv5DVrIWDd4CVjTpW0, libpng16.so.16 >= set:lhHMixNE878SveZi1CdMqyyUfHq63Vo9IczzaFz, libpng16.so.16(PNG16_0), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.21), libvorbisfile.so.3 >= 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.4zFmH8 Creating lugaru-debuginfo package Processing files: lugaru-data-0.0.r262-alt2.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.88398 + 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.DqqyjT 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.mTQhvg 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.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bqit3d find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.y3K88D find-requires: running scripts (debuginfo) Requires: lugaru = 0.0.r262-alt2.2, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libGLU.so.1), debug(libSDL-1.2.so.0), debug(libc.so.6), debug(libgcc_s.so.1), debug(libjpeg.so.62), debug(libm.so.6), debug(libopenal.so.1), debug(libpng16.so.16), debug(libstdc++.so.6), debug(libvorbisfile.so.3) Adding to lugaru-data a strict dependency on lugaru Wrote: /usr/src/RPM/RPMS/i586/lugaru-0.0.r262-alt2.2.i586.rpm Wrote: /usr/src/RPM/RPMS/noarch/lugaru-data-0.0.r262-alt2.2.noarch.rpm Wrote: /usr/src/RPM/RPMS/i586/lugaru-debuginfo-0.0.r262-alt2.2.i586.rpm 104.64user 5.81system 1:14.33elapsed 148%CPU (0avgtext+0avgdata 269004maxresident)k 0inputs+0outputs (0major+1072061minor)pagefaults 0swaps 123.32user 12.77system 1:40.93elapsed 134%CPU (0avgtext+0avgdata 269004maxresident)k 0inputs+0outputs (0major+1460025minor)pagefaults 0swaps --- lugaru-data-0.0.r262-alt2.2.noarch.rpm.repo 2018-03-15 14:33:53.000000000 +0000 +++ lugaru-data-0.0.r262-alt2.2.noarch.rpm.hasher 2019-04-12 08:20:55.254278996 +0000 @@ -455,2 +455,3 @@ /usr/share/games/lugaru/Data/config.txt 100644 +Requires: lugaru = 0.0.r262 Requires: lugaru = 0.0.r262-alt2.2