Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/stratagus.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672349280.292707/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fenf4jyv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fenf4jyv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e9fc63a0a6f04a9b837bebcc55052f6b', '-D', '/var/lib/mock/fedora-rawhide-i686-1672349280.292707/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fenf4jyv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/stratagus.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1660176000 Wrote: /builddir/build/SRPMS/stratagus-3.3.2-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/stratagus.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672349280.292707/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fenf4jyv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fenf4jyv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '65f3a0728b8d46dd88884aeea2c76da4', '-D', '/var/lib/mock/fedora-rawhide-i686-1672349280.292707/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fenf4jyv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/stratagus.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1660176000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.p1voe5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf stratagus-3.3.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/stratagus-3.3.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd stratagus-3.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/stratagus-0001-Fix-binaries-path.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + iconv -f iso8859-1 -t utf8 doc/guichan-copyright.txt + mv -f doc/guichan-copyright.utf8 doc/guichan-copyright.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TMOzAh + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd stratagus-3.3.2 + mkdir build + pushd build ~/build/BUILD/stratagus-3.3.2/build ~/build/BUILD/stratagus-3.3.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DBUILD_SHARED_LIBS:BOOL=ON .. -DENABLE_DEV=ON -DLUA_INCLUDE_DIR=/usr/include/lua-5.1 -- The C compiler identification is GNU 13.0.0 -- The CXX compiler identification is GNU 13.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test HAS_17_FS -- Performing Test HAS_17_FS - Failed -- Performing Test HAS_EXP_17_FS_WITH_STDC -- Performing Test HAS_EXP_17_FS_WITH_STDC - Success -- Found Lua51: /usr/lib/liblua-5.1.so;/usr/lib/libm.so (found version "5.1.5") -- Found program tolua++: /usr/bin/tolua++ -- Found library tolua++: /usr/lib/libtolua++.so -- Found ZLIB: /usr/lib/libz.so (found version "1.2.13") -- Found PNG: /usr/lib/libpng.so (found version "1.6.37") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- sdl2 found: includes in /usr/include/SDL2, library in /usr/lib/libSDL2.so -- Found SDL2_mixer: /usr/lib/libSDL2_mixer.so (found version "2.6.2") -- Found SDL2_image: /usr/lib/libSDL2_image.so (found version "2.6.2") -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Found BZip2: /usr/lib/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Could not find StackTrace -- Found MNG: /usr/lib/libmng.so -- 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 -- theora found: includes in /usr/include, library in /usr/lib/libtheora.so;/usr/lib/libogg.so;/usr/lib/libvorbis.so -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Looking for sys/types.h CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFile.cmake:82 (message): Policy CMP0075 is not set: Include file check macros honor CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy details. Use the cmake_policy command to set the policy and suppress this warning. CMAKE_REQUIRED_LIBRARIES is set to: stdc++fs For compatibility with CMake 3.11 and below this check is ignoring it. Call Stack (most recent call first): /usr/share/cmake/Modules/CheckTypeSize.cmake:257 (check_include_file) CMakeLists.txt:917 (check_type_size) This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of errno_t -- Check size of errno_t - failed -- Looking for strcpy_s -- Looking for strcpy_s - not found -- Looking for strncpy_s -- Looking for strncpy_s - not found -- Looking for strcasestr -- Looking for strcasestr - found -- Looking for strnlen -- Looking for strnlen - found -- Looking for getopt -- Looking for getopt - found -- Looking for strcat_s -- Looking for strcat_s - not found ================================== Debug mode: No (Enable by param -DCMAKE_BUILD_TYPE=Debug) Profiling mode: No (Enable by param -DCMAKE_BUILD_TYPE=Profile) Strip executables: No (Enable by param -DENABLE_STRIP=ON) Static linking: No (Enable by param -DENABLE_STATIC=ON) Place game files in: user directory (Place in game directory with -DENABLE_USEGAMEDIR=ON) Parallel building in MSVC: Yes (Disable by param -DENABLE_MULTIBUILD=OFF) Platform: Linux Redirect stdio: Unsupported on this platform Touchscreen input: No (Enable by param -DENABLE_TOUCHSCREEN=ON) Eager load: No (Enable by param -DEAGER_LOAD=ON) Doxygen documentation: No (Enable by param -DENABLE_DOC=ON) Game development files: Yes (Disable by param -DENABLE_DEV=OFF) Upx packer: No (Enable by param -DENABLE_UPX=ON) NSIS Installer: Unsupported on this platform Bzip2: Found and enabled (Disable by param -DWITH_BZIP2=OFF) Mng: Found and enabled (Disable by param -DWITH_MNG=OFF) Ogg/Vorbis: Found and enabled (Disable by param -DWITH_OGGVORBIS=OFF) StackTrace: Not Found Theora: Found and enabled (Disable by param -DWITH_THEORA=OFF) OpenMP: Found and enabled (Disable by param -DWITH_OPENMP=OFF) ================================== -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/stratagus-3.3.2/build + make -j2 /usr/bin/cmake -S/builddir/build/BUILD/stratagus-3.3.2 -B/builddir/build/BUILD/stratagus-3.3.2/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles /builddir/build/BUILD/stratagus-3.3.2/build//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/genversion.dir/build.make CMakeFiles/genversion.dir/depend make -f CMakeFiles/png2stratagus.dir/build.make CMakeFiles/png2stratagus.dir/depend make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles/genversion.dir/DependInfo.cmake --color= make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles/png2stratagus.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/genversion.dir/build.make CMakeFiles/genversion.dir/build make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/png2stratagus.dir/build.make CMakeFiles/png2stratagus.dir/build make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 0%] Building CXX object CMakeFiles/genversion.dir/tools/genversion.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/genversion.dir/tools/genversion.cpp.o -MF CMakeFiles/genversion.dir/tools/genversion.cpp.o.d -o CMakeFiles/genversion.dir/tools/genversion.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/tools/genversion.cpp [ 1%] Building CXX object CMakeFiles/png2stratagus.dir/tools/png2stratagus.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -std=gnu++17 -MD -MT CMakeFiles/png2stratagus.dir/tools/png2stratagus.cpp.o -MF CMakeFiles/png2stratagus.dir/tools/png2stratagus.cpp.o.d -o CMakeFiles/png2stratagus.dir/tools/png2stratagus.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/tools/png2stratagus.cpp /builddir/build/BUILD/stratagus-3.3.2/tools/genversion.cpp: In function 'int main(int, char**)': /builddir/build/BUILD/stratagus-3.3.2/tools/genversion.cpp:70:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | fscanf(file, "%s", git_rev); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/tools/genversion.cpp:79:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | fscanf(file, "%s", git_rev); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ [ 1%] Linking CXX executable genversion /usr/bin/cmake -E cmake_link_script CMakeFiles/genversion.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/genversion.dir/tools/genversion.cpp.o -o genversion make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 1%] Built target genversion make -f CMakeFiles/version-generated.h.dir/build.make CMakeFiles/version-generated.h.dir/depend make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles/version-generated.h.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/version-generated.h.dir/build.make CMakeFiles/version-generated.h.dir/build make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2 && /builddir/build/BUILD/stratagus-3.3.2/build/genversion /builddir/build/BUILD/stratagus-3.3.2/build/version-generated.h 3.3.2 Cannot get git revision -1 -1 -1 -1 - 3 3 2 0 ver update [genversion] update needed make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 1%] Built target version-generated.h make -f CMakeFiles/stratagus.dir/build.make CMakeFiles/stratagus.dir/depend make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 2%] Generating tolua.cpp cd /builddir/build/BUILD/stratagus-3.3.2/src/tolua && /usr/bin/tolua++ -L stratagus.lua -o /builddir/build/BUILD/stratagus-3.3.2/build/tolua.cpp stratagus.pkg ** tolua warning: Mapping variable to global may degrade performance. cd /builddir/build/BUILD/stratagus-3.3.2 && /builddir/build/BUILD/stratagus-3.3.2/build/genversion /builddir/build/BUILD/stratagus-3.3.2/build/version-generated.h 3.3.2 Cannot get git revision [genversion] update needed cd /builddir/build/BUILD/stratagus-3.3.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles/stratagus.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/stratagus.dir/build.make CMakeFiles/stratagus.dir/build make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 2%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_attack.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_attack.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_attack.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_attack.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_attack.cpp [ 2%] Linking CXX executable png2stratagus /usr/bin/cmake -E cmake_link_script CMakeFiles/png2stratagus.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/png2stratagus.dir/tools/png2stratagus.cpp.o -o png2stratagus /usr/lib/libpng.so /usr/lib/libz.so make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 2%] Built target png2stratagus [ 3%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_board.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_board.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_board.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_board.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_board.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_attack.cpp:45: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_board.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_attack.cpp:57: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_board.cpp:48: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 3%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_build.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_build.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_build.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_build.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_build.cpp [ 4%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_built.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_built.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_built.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_built.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_built.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_build.cpp:43: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_built.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_build.cpp:51: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 4%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_defend.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_defend.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_defend.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_defend.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_defend.cpp [ 4%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_die.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_die.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_die.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_die.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_die.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_defend.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_die.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_die.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_defend.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 5%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_explore.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_explore.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_explore.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_explore.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_explore.cpp [ 5%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_follow.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_follow.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_follow.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_follow.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_follow.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_explore.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_follow.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_explore.cpp:47: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_follow.cpp:47: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 6%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_move.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_move.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_move.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_move.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_move.cpp [ 6%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_patrol.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_patrol.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_patrol.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_patrol.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_patrol.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_move.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_patrol.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_move.cpp:51: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_patrol.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 7%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_repair.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_repair.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_repair.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_repair.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_repair.cpp [ 7%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_research.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_research.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_research.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_research.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_research.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_repair.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_research.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_repair.cpp:49: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_research.cpp:47: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 8%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_resource.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_resource.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_resource.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_resource.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_resource.cpp [ 8%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_spellcast.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_spellcast.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_spellcast.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_spellcast.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_spellcast.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_resource.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_spellcast.cpp:45: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_resource.cpp:52: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/action/action_resource.cpp: In member function 'int COrder_Resource::StopGathering(CUnit&)': /builddir/build/BUILD/stratagus-3.3.2/src/action/action_resource.cpp:921:24: warning: unused variable 'depot' [-Wunused-variable] 921 | CUnit *depot = FindDeposit(unit, 1000, unit.CurrentResource); | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/action/action_resource.cpp: In member function 'bool COrder_Resource::WaitInDepot(CUnit&)': /builddir/build/BUILD/stratagus-3.3.2/src/action/action_resource.cpp:1090:27: warning: unused variable 'range' [-Wunused-variable] 1090 | const int range = 15; | ^~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_spellcast.cpp:56: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 9%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_still.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_still.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_still.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_still.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_still.cpp [ 9%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_train.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_train.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_train.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_train.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_train.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_still.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_train.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_still.cpp:50: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_train.cpp:48: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 9%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_unload.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_unload.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_unload.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_unload.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_unload.cpp [ 10%] Building CXX object CMakeFiles/stratagus.dir/src/action/action_upgradeto.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/action_upgradeto.cpp.o -MF CMakeFiles/stratagus.dir/src/action/action_upgradeto.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/action_upgradeto.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/action_upgradeto.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_unload.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_upgradeto.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_unload.cpp:47: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/action_upgradeto.cpp:48: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 10%] Building CXX object CMakeFiles/stratagus.dir/src/action/actions.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/actions.cpp.o -MF CMakeFiles/stratagus.dir/src/action/actions.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/actions.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp [ 11%] Building CXX object CMakeFiles/stratagus.dir/src/action/command.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/command.cpp.o -MF CMakeFiles/stratagus.dir/src/action/command.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/command.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/command.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_die.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:62: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:75: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:85: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h: In function 'void print_backtrace(int)': /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h:10:9: warning: unused variable 'j' [-Wunused-variable] 10 | int j, nptrs; | ^ In file included from /usr/include/stdio.h:906, from /usr/include/c++/13/cstdio:42, from /usr/include/c++/13/ext/string_conversions.h:45, from /usr/include/c++/13/bits/basic_string.h:4072, from /usr/include/c++/13/string:54, from /builddir/build/BUILD/stratagus-3.3.2/src/include/stratagus.h:37, from /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:38: In function 'fprintf', inlined from 'DumpUnitInfo(CUnit&)' at /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:521:9: /usr/include/bits/stdio2.h:79:24: warning: 'currentAction' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp: In function 'DumpUnitInfo(CUnit&)': /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:494:21: note: 'currentAction' was declared here 494 | const char *currentAction; | ^~~~~~~~~~~~~ [ 11%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/command.cpp:52: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ [ 12%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_attack.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_attack.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_attack.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_attack.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_attack.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation.cpp:72: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_attack.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_attack.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_attack.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 12%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_die.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_die.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_die.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_die.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_die.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_die.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_die.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_die.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 13%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_exactframe.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_exactframe.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_exactframe.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_exactframe.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_exactframe.cpp [ 13%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_frame.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_frame.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_frame.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_frame.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_frame.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_exactframe.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_exactframe.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_exactframe.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 13%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_goto.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_goto.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_goto.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_goto.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_goto.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_frame.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_frame.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_goto.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_goto.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_goto.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 14%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_ifvar.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_ifvar.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_ifvar.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_ifvar.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_ifvar.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_frame.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_ifvar.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_ifvar.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_ifvar.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_label.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_label.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_label.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_label.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_label.cpp /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 15%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_luacallback.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_luacallback.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_luacallback.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_luacallback.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_luacallback.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_label.h:35, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_label.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_label.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 15%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_move.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_move.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_move.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_move.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_move.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_luacallback.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_luacallback.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_luacallback.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_move.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_move.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_move.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 16%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_randomgoto.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_randomgoto.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_randomgoto.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_randomgoto.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomgoto.cpp [ 16%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_randomrotate.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_randomrotate.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_randomrotate.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_randomrotate.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomrotate.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_randomgoto.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomgoto.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomgoto.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_randomrotate.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomrotate.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomrotate.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 17%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_randomsound.cpp.o [ 17%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_randomwait.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_randomsound.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_randomsound.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_randomsound.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomsound.cpp /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_randomwait.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_randomwait.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_randomwait.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomwait.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_randomwait.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomwait.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomwait.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_randomsound.h:37, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomsound.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ [ 18%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_rotate.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_rotate.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_rotate.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_rotate.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_rotate.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_randomsound.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_rotate.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_rotate.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_rotate.cpp:43: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/actions.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_rotate.cpp:40: In function 'operator+(Vec2T const&, Vec2T const&)Vec2T', inlined from 'CAnimation_Rotate::Action(CUnit&, int&, int) const' at /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_rotate.cpp:73:64: /builddir/build/BUILD/stratagus-3.3.2/src/include/vec2i.h:106:18: warning: 'target' may be used uninitialized [-Wmaybe-uninitialized] 106 | Vec2T res(lhs); | ^~~ /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_rotate.cpp: In member function 'CAnimation_Rotate::Action(CUnit&, int&, int) const': /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_rotate.cpp:63:24: note: 'target' was declared here 63 | CUnit *target; | ^~~~~~ [ 18%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_setplayervar.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_setplayervar.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_setplayervar.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_setplayervar.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_setplayervar.cpp [ 18%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_setvar.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_setvar.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_setvar.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_setvar.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_setvar.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_setplayervar.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_setplayervar.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_setplayervar.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_setvar.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_setvar.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_setvar.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 19%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_sound.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_sound.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_sound.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_sound.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_sound.cpp [ 19%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_spawnmissile.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_spawnmissile.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_spawnmissile.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_spawnmissile.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_spawnmissile.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_sound.h:35, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_sound.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_spawnmissile.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_spawnmissile.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_spawnmissile.cpp:47: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_sound.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 20%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_spawnunit.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_spawnunit.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_spawnunit.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_spawnunit.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_spawnunit.cpp [ 20%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_unbreakable.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_unbreakable.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_unbreakable.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_unbreakable.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_unbreakable.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_spawnunit.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_spawnunit.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_spawnunit.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_unbreakable.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_unbreakable.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_unbreakable.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 21%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_wait.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_wait.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_wait.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_wait.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_wait.cpp [ 21%] Building CXX object CMakeFiles/stratagus.dir/src/animation/animation_wiggle.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/animation/animation_wiggle.cpp.o -MF CMakeFiles/stratagus.dir/src/animation/animation_wiggle.cpp.o.d -o CMakeFiles/stratagus.dir/src/animation/animation_wiggle.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_wiggle.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_wait.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_wait.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_wait.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_wiggle.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_wiggle.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/animation/animation_wiggle.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 22%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai_building.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ai/ai_building.cpp.o -MF CMakeFiles/stratagus.dir/src/ai/ai_building.cpp.o.d -o CMakeFiles/stratagus.dir/src/ai/ai_building.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_building.cpp [ 22%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ai/ai.cpp.o -MF CMakeFiles/stratagus.dir/src/ai/ai.cpp.o.d -o CMakeFiles/stratagus.dir/src/ai/ai.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_building.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 22%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai_force.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ai/ai_force.cpp.o -MF CMakeFiles/stratagus.dir/src/ai/ai_force.cpp.o.d -o CMakeFiles/stratagus.dir/src/ai/ai_force.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_force.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai.cpp:153: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_force.cpp:48: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 23%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai_magic.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ai/ai_magic.cpp.o -MF CMakeFiles/stratagus.dir/src/ai/ai_magic.cpp.o.d -o CMakeFiles/stratagus.dir/src/ai/ai_magic.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_magic.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_magic.cpp:37: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_magic.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 23%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai_plan.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ai/ai_plan.cpp.o -MF CMakeFiles/stratagus.dir/src/ai/ai_plan.cpp.o.d -o CMakeFiles/stratagus.dir/src/ai/ai_plan.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_plan.cpp [ 24%] Building CXX object CMakeFiles/stratagus.dir/src/ai/ai_resource.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ai/ai_resource.cpp.o -MF CMakeFiles/stratagus.dir/src/ai/ai_resource.cpp.o.d -o CMakeFiles/stratagus.dir/src/ai/ai_resource.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_resource.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_plan.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ai/ai_resource.cpp:51: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 24%] Building CXX object CMakeFiles/stratagus.dir/src/ai/script_ai.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ai/script_ai.cpp.o -MF CMakeFiles/stratagus.dir/src/ai/script_ai.cpp.o.d -o CMakeFiles/stratagus.dir/src/ai/script_ai.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ai/script_ai.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ai/script_ai.cpp:48: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 25%] Building CXX object CMakeFiles/stratagus.dir/src/editor/editloop.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/editor/editloop.cpp.o -MF CMakeFiles/stratagus.dir/src/editor/editloop.cpp.o.d -o CMakeFiles/stratagus.dir/src/editor/editloop.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit_find.h:38, from /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:64: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function 'bool forEachTileOptionArea(std::function, int, int, int, int, int)>)': /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:671:13: warning: unused variable 'y2' [-Wunused-variable] 671 | int y2 = getSelectionArea()[3]; | ^~ /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function 'void EditorCallbackButtonUp(unsigned int)': /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1116:21: warning: unused variable 'num' [-Wunused-variable] 1116 | int num = 0; | ^~~ /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function 'void EditorCallbackButtonDown(unsigned int)': /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1193:74: warning: unused variable 'info' [-Wunused-variable] 1193 | const CTileInfo &info = Map.Tileset->tiles[i].tileinfo; | ^~~~ /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function 'bool EditorCallbackMouse_EditUnitArea(const PixelPos&)': /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1549:14: warning: variable 'noHit' set but not used [-Wunused-but-set-variable] 1549 | bool noHit = forEachPlayerSelectionBoxArea([screenPos](int i, int x, int y, int w, int h) { | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function 'bool EditorCallbackMouse_EditTileArea(const PixelPos&)': /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1586:13: warning: unused variable 'bx' [-Wunused-variable] 1586 | int bx = UI.InfoPanel.X + 4; | ^~ /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1587:13: warning: unused variable 'by' [-Wunused-variable] 1587 | int by = UI.InfoPanel.Y + 4 + IconHeight + 10; | ^~ /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1589:14: warning: variable 'noHit' set but not used [-Wunused-but-set-variable] 1589 | bool noHit = forEachTileOptionArea([screenPos](bool active, std::string label, int i, int x, int y, int w, int h) { | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp: In function 'void EditorMainLoop()': /builddir/build/BUILD/stratagus-3.3.2/src/editor/editloop.cpp:1944:14: warning: unused variable 'first_init' [-Wunused-variable] 1944 | bool first_init = true; | ^~~~~~~~~~ [ 25%] Building CXX object CMakeFiles/stratagus.dir/src/editor/editor.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/editor/editor.cpp.o -MF CMakeFiles/stratagus.dir/src/editor/editor.cpp.o.d -o CMakeFiles/stratagus.dir/src/editor/editor.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/editor/editor.cpp [ 26%] Building CXX object CMakeFiles/stratagus.dir/src/editor/edmap.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/editor/edmap.cpp.o -MF CMakeFiles/stratagus.dir/src/editor/edmap.cpp.o.d -o CMakeFiles/stratagus.dir/src/editor/edmap.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/editor/edmap.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/editor/edmap.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 26%] Building CXX object CMakeFiles/stratagus.dir/src/editor/script_editor.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/editor/script_editor.cpp.o -MF CMakeFiles/stratagus.dir/src/editor/script_editor.cpp.o.d -o CMakeFiles/stratagus.dir/src/editor/script_editor.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/editor/script_editor.cpp [ 27%] Building CXX object CMakeFiles/stratagus.dir/src/game/game.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/game/game.cpp.o -MF CMakeFiles/stratagus.dir/src/game/game.cpp.o.d -o CMakeFiles/stratagus.dir/src/game/game.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/game/game.cpp [ 27%] Building CXX object CMakeFiles/stratagus.dir/src/game/loadgame.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/game/loadgame.cpp.o -MF CMakeFiles/stratagus.dir/src/game/loadgame.cpp.o.d -o CMakeFiles/stratagus.dir/src/game/loadgame.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/game/loadgame.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/game/game.cpp:45: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/game/game.cpp:73: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/game/loadgame.cpp:56: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 27%] Building CXX object CMakeFiles/stratagus.dir/src/game/replay.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/game/replay.cpp.o -MF CMakeFiles/stratagus.dir/src/game/replay.cpp.o.d -o CMakeFiles/stratagus.dir/src/game/replay.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/game/replay.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/game/replay.cpp:54: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 28%] Building CXX object CMakeFiles/stratagus.dir/src/game/savegame.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/game/savegame.cpp.o -MF CMakeFiles/stratagus.dir/src/game/savegame.cpp.o.d -o CMakeFiles/stratagus.dir/src/game/savegame.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/game/savegame.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/game/savegame.cpp:52: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 28%] Building CXX object CMakeFiles/stratagus.dir/src/game/trigger.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/game/trigger.cpp.o -MF CMakeFiles/stratagus.dir/src/game/trigger.cpp.o.d -o CMakeFiles/stratagus.dir/src/game/trigger.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/game/trigger.cpp [ 29%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/cliprectangle.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/cliprectangle.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/cliprectangle.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/cliprectangle.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/cliprectangle.cpp [ 29%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/color.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/color.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/color.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/color.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/color.cpp [ 30%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/defaultfont.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/defaultfont.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/defaultfont.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/defaultfont.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/defaultfont.cpp [ 30%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/exception.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/exception.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/exception.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/exception.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/exception.cpp [ 31%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/focushandler.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/focushandler.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/focushandler.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/focushandler.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/focushandler.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/game/trigger.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 31%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/gfont.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/gfont.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/gfont.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/gfont.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/gfont.cpp [ 31%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/graphics.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/graphics.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/graphics.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/graphics.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/graphics.cpp [ 32%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/gui.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/gui.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/gui.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/gui.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/gui.cpp [ 32%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/guichan.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/guichan.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/guichan.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/guichan.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/guichan.cpp [ 33%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/image.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/image.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/image.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/image.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/image.cpp [ 33%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/imagefont.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/imagefont.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/imagefont.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/imagefont.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/imagefont.cpp [ 34%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/key.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/key.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/key.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/key.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/key.cpp [ 34%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/keyinput.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/keyinput.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/keyinput.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/keyinput.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/keyinput.cpp [ 35%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/mouseinput.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/mouseinput.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/mouseinput.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/mouseinput.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/mouseinput.cpp [ 35%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/rectangle.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/rectangle.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/rectangle.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/rectangle.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/rectangle.cpp [ 36%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/sdl/gsdl.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/sdl/gsdl.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/sdl/gsdl.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/sdl/gsdl.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/sdl/gsdl.cpp [ 36%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/sdl/sdlgraphics.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/sdl/sdlgraphics.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/sdl/sdlgraphics.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/sdl/sdlgraphics.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/sdl/sdlgraphics.cpp [ 36%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/sdl/sdlinput.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/sdl/sdlinput.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/sdl/sdlinput.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/sdl/sdlinput.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/sdl/sdlinput.cpp [ 37%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widget.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widget.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widget.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widget.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widget.cpp [ 37%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/button.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/button.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/button.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/button.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/button.cpp [ 38%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/container.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/container.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/container.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/container.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/container.cpp [ 38%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/dropdown.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/dropdown.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/dropdown.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/dropdown.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/dropdown.cpp [ 39%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/checkbox.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/checkbox.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/checkbox.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/checkbox.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/checkbox.cpp [ 39%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/icon.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/icon.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/icon.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/icon.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/icon.cpp [ 40%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/label.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/label.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/label.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/label.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/label.cpp [ 40%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/listbox.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/listbox.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/listbox.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/listbox.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/listbox.cpp [ 40%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/radiobutton.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/radiobutton.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/radiobutton.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/radiobutton.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/radiobutton.cpp [ 41%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/scrollarea.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/scrollarea.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/scrollarea.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/scrollarea.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/scrollarea.cpp [ 41%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/slider.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/slider.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/slider.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/slider.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/slider.cpp [ 42%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/textbox.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/textbox.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/textbox.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/textbox.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/textbox.cpp [ 42%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/textfield.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/textfield.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/textfield.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/textfield.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/textfield.cpp [ 43%] Building CXX object CMakeFiles/stratagus.dir/src/guichan/widgets/window.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/guichan/widgets/window.cpp.o -MF CMakeFiles/stratagus.dir/src/guichan/widgets/window.cpp.o.d -o CMakeFiles/stratagus.dir/src/guichan/widgets/window.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/guichan/widgets/window.cpp [ 43%] Building CXX object CMakeFiles/stratagus.dir/src/map/fov.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/fov.cpp.o -MF CMakeFiles/stratagus.dir/src/map/fov.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/fov.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/map/fov.cpp [ 44%] Building CXX object CMakeFiles/stratagus.dir/src/map/fow.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/fow.cpp.o -MF CMakeFiles/stratagus.dir/src/map/fow.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/fow.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/map/fow.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/fov.cpp:37: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 44%] Building CXX object CMakeFiles/stratagus.dir/src/map/fow_utils.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/fow_utils.cpp.o -MF CMakeFiles/stratagus.dir/src/map/fow_utils.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/fow_utils.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/map/fow_utils.cpp [ 45%] Building CXX object CMakeFiles/stratagus.dir/src/map/map.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/map.cpp.o -MF CMakeFiles/stratagus.dir/src/map/map.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/map.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/map/map.cpp [ 45%] Building CXX object CMakeFiles/stratagus.dir/src/map/map_draw.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/map_draw.cpp.o -MF CMakeFiles/stratagus.dir/src/map/map_draw.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/map_draw.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/map/map_draw.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/map.cpp:45: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/map/map.cpp:39: /builddir/build/BUILD/stratagus-3.3.2/src/include/map.h: In constructor 'CMap::CMap()': /builddir/build/BUILD/stratagus-3.3.2/src/include/map.h:273:19: warning: 'CMap::TileGraphic' will be initialized after [-Wreorder] 273 | CGraphic *TileGraphic; /// graphic for all the tiles | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/map.h:271:19: warning: 'CTileset* CMap::Tileset' [-Wreorder] 271 | CTileset *Tileset; /// tileset data | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/map/map.cpp:321:1: warning: when initialized here [-Wreorder] 321 | CMap::CMap() : Fields(NULL), NoFogOfWar(false), TileGraphic(NULL), Tileset(NULL) | ^~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/map_draw.cpp:43: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 45%] Building CXX object CMakeFiles/stratagus.dir/src/map/map_fog.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/map_fog.cpp.o -MF CMakeFiles/stratagus.dir/src/map/map_fog.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/map_fog.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/map/map_fog.cpp [ 46%] Building CXX object CMakeFiles/stratagus.dir/src/map/map_radar.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/map_radar.cpp.o -MF CMakeFiles/stratagus.dir/src/map/map_radar.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/map_radar.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/map/map_radar.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/map/map_radar.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/map/map_radar.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 46%] Building CXX object CMakeFiles/stratagus.dir/src/map/map_wall.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/map_wall.cpp.o -MF CMakeFiles/stratagus.dir/src/map/map_wall.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/map_wall.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/map/map_wall.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/map_fog.cpp:48: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/map/map_fog.cpp:58: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h: In function 'void print_backtrace(int)': /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h:10:9: warning: unused variable 'j' [-Wunused-variable] 10 | int j, nptrs; | ^ [ 47%] Building CXX object CMakeFiles/stratagus.dir/src/map/mapfield.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/mapfield.cpp.o -MF CMakeFiles/stratagus.dir/src/map/mapfield.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/mapfield.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/map/mapfield.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/map/map_wall.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 47%] Building CXX object CMakeFiles/stratagus.dir/src/map/minimap.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/minimap.cpp.o -MF CMakeFiles/stratagus.dir/src/map/minimap.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/minimap.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/map/minimap.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/mapfield.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/minimap.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 48%] Building CXX object CMakeFiles/stratagus.dir/src/map/script_map.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/script_map.cpp.o -MF CMakeFiles/stratagus.dir/src/map/script_map.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/script_map.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/map/script_map.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/script_map.cpp:48: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 48%] Building CXX object CMakeFiles/stratagus.dir/src/map/script_tileset.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/script_tileset.cpp.o -MF CMakeFiles/stratagus.dir/src/map/script_tileset.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/script_tileset.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/map/script_tileset.cpp [ 49%] Building CXX object CMakeFiles/stratagus.dir/src/map/tileset.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/tileset.cpp.o -MF CMakeFiles/stratagus.dir/src/map/tileset.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/tileset.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/map/tileset.cpp /builddir/build/BUILD/stratagus-3.3.2/src/map/tileset.cpp: In member function 'unsigned int CTileset::getDefaultTileIndex() const': /builddir/build/BUILD/stratagus-3.3.2/src/map/tileset.cpp:231:9: warning: unused variable 'solid' [-Wunused-variable] 231 | int solid = 0; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/map/tileset.cpp: In member function 'unsigned int CTileset::getWallDirection(int, bool) const': /builddir/build/BUILD/stratagus-3.3.2/src/map/tileset.cpp:699:49: warning: comparison of integer expressions of different signedness: 'const unsigned int' and 'int' [-Wsign-compare] 699 | if ((human && humanWallTable[i] == tileIndex) || orcWallTable[i] == tileIndex) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/map/tileset.cpp:699:82: warning: comparison of integer expressions of different signedness: 'const unsigned int' and 'int' [-Wsign-compare] 699 | if ((human && humanWallTable[i] == tileIndex) || orcWallTable[i] == tileIndex) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ [ 49%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ [ 50%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_cliptotarget.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_cliptotarget.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_cliptotarget.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_cliptotarget.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_cliptotarget.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_cliptotarget.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile.cpp:54: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 50%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_continuous.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_continuous.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_continuous.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_continuous.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_continuous.cpp [ 50%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_cycleonce.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_cycleonce.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_cycleonce.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_cycleonce.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_cycleonce.cpp [ 51%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_deathcoil.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_deathcoil.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_deathcoil.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_deathcoil.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_deathcoil.cpp [ 51%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_fire.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_fire.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_fire.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_fire.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_fire.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_deathcoil.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 52%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_flameshield.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_flameshield.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_flameshield.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_flameshield.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_flameshield.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_fire.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 52%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_hit.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_hit.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_hit.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_hit.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_hit.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_flameshield.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 53%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_landmine.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_landmine.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_landmine.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_landmine.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_landmine.cpp [ 53%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_none.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_none.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_none.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_none.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_none.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_landmine.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 54%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_parabolic.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_parabolic.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_parabolic.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_parabolic.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_parabolic.cpp [ 54%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_pointotpointwithhit.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_pointotpointwithhit.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_pointotpointwithhit.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_pointotpointwithhit.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_pointotpointwithhit.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit_find.h:38, from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_parabolic.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 54%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_pointtopoint.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_pointtopoint.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_pointtopoint.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_pointtopoint.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_pointtopoint.cpp [ 55%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_pointtopointbounce.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_pointtopointbounce.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_pointtopointbounce.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_pointtopointbounce.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_pointtopointbounce.cpp [ 55%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_pointtopointcycleonce.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_pointtopointcycleonce.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_pointtopointcycleonce.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_pointtopointcycleonce.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_pointtopointcycleonce.cpp [ 56%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_stay.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_stay.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_stay.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_stay.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_stay.cpp [ 56%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_straightfly.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_straightfly.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_straightfly.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_straightfly.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_straightfly.cpp [ 57%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_tracer.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_tracer.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_tracer.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_tracer.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_tracer.cpp [ 57%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missile_whirlwind.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missile_whirlwind.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missile_whirlwind.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missile_whirlwind.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_whirlwind.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/missile/missile_tracer.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 58%] Building CXX object CMakeFiles/stratagus.dir/src/missile/missileconfig.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/missileconfig.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/missileconfig.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/missileconfig.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/missileconfig.cpp [ 58%] Building CXX object CMakeFiles/stratagus.dir/src/missile/script_missile.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/missile/script_missile.cpp.o -MF CMakeFiles/stratagus.dir/src/missile/script_missile.cpp.o.d -o CMakeFiles/stratagus.dir/src/missile/script_missile.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/missile/script_missile.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/missile/script_missile.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/missile/script_missile.cpp:43: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 59%] Building CXX object CMakeFiles/stratagus.dir/src/network/commands.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/commands.cpp.o -MF CMakeFiles/stratagus.dir/src/network/commands.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/commands.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/network/commands.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/network/commands.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 59%] Building CXX object CMakeFiles/stratagus.dir/src/network/net_lowlevel.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/net_lowlevel.cpp.o -MF CMakeFiles/stratagus.dir/src/network/net_lowlevel.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/net_lowlevel.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/network/net_lowlevel.cpp [ 59%] Building CXX object CMakeFiles/stratagus.dir/src/network/net_message.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/net_message.cpp.o -MF CMakeFiles/stratagus.dir/src/network/net_message.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/net_message.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/network/net_message.cpp /builddir/build/BUILD/stratagus-3.3.2/src/network/net_lowlevel.cpp: In function 'int NetSocketAddr(long unsigned int*, int)': /builddir/build/BUILD/stratagus-3.3.2/src/network/net_lowlevel.cpp:274:15: warning: unused variable 'tmpAddrPtr' [-Wunused-variable] 274 | void *tmpAddrPtr = NULL; | ^~~~~~~~~~ [ 60%] Building CXX object CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o -MF CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp [ 60%] Building CXX object CMakeFiles/stratagus.dir/src/network/network.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/network.cpp.o -MF CMakeFiles/stratagus.dir/src/network/network.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/network.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/network/network.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/mdns.h:33, from /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:70: /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1215:1: warning: 'size_t mdns_record_parse_txt(const void*, size_t, size_t, size_t, mdns_record_txt_t*, size_t)' defined but not used [-Wunused-function] 1215 | mdns_record_parse_txt(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1202:1: warning: 'sockaddr_in6* mdns_record_parse_aaaa(const void*, size_t, size_t, size_t, sockaddr_in6*)' defined but not used [-Wunused-function] 1202 | mdns_record_parse_aaaa(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1189:1: warning: 'sockaddr_in* mdns_record_parse_a(const void*, size_t, size_t, size_t, sockaddr_in*)' defined but not used [-Wunused-function] 1189 | mdns_record_parse_a(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1167:1: warning: 'mdns_record_srv_t mdns_record_parse_srv(const void*, size_t, size_t, size_t, char*, size_t)' defined but not used [-Wunused-function] 1167 | mdns_record_parse_srv(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1157:1: warning: 'mdns_string_t mdns_record_parse_ptr(const void*, size_t, size_t, size_t, char*, size_t)' defined but not used [-Wunused-function] 1157 | mdns_record_parse_ptr(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:994:1: warning: 'int mdns_query_answer(int, const void*, size_t, void*, size_t, uint16_t, const char*, size_t, const char*, size_t, uint32_t, const uint8_t*, uint16_t, const char*, size_t)' defined but not used [-Wunused-function] 994 | mdns_query_answer(int sock, const void* address, size_t address_size, void* buffer, size_t capacity, | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:937:1: warning: 'size_t mdns_query_recv(int, void*, size_t, mdns_record_callback_fn, void*, int)' defined but not used [-Wunused-function] 937 | mdns_query_recv(int sock, void* buffer, size_t capacity, mdns_record_callback_fn callback, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:890:1: warning: 'int mdns_query_send(int, mdns_record_type_t, const char*, size_t, void*, size_t, uint16_t)' defined but not used [-Wunused-function] 890 | mdns_query_send(int sock, mdns_record_type_t type, const char* name, size_t length, void* buffer, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:851:1: warning: 'int mdns_discovery_answer(int, const void*, size_t, void*, size_t, const char*, size_t)' defined but not used [-Wunused-function] 851 | mdns_discovery_answer(int sock, const void* address, size_t address_size, void* buffer, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:788:1: warning: 'size_t mdns_socket_listen(int, void*, size_t, mdns_record_callback_fn, void*)' defined but not used [-Wunused-function] 788 | mdns_socket_listen(int sock, void* buffer, size_t capacity, mdns_record_callback_fn callback, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:694:1: warning: 'size_t mdns_discovery_recv(int, void*, size_t, mdns_record_callback_fn, void*)' defined but not used [-Wunused-function] 694 | mdns_discovery_recv(int sock, void* buffer, size_t capacity, mdns_record_callback_fn callback, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:689:1: warning: 'int mdns_discovery_send(int)' defined but not used [-Wunused-function] 689 | mdns_discovery_send(int sock) { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:326:1: warning: 'int mdns_socket_open_ipv6(sockaddr_in6*)' defined but not used [-Wunused-function] 326 | mdns_socket_open_ipv6(struct sockaddr_in6* saddr) { | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:262:1: warning: 'int mdns_socket_open_ipv4(sockaddr_in*)' defined but not used [-Wunused-function] 262 | mdns_socket_open_ipv4(struct sockaddr_in* saddr) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/network/network.cpp:242: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp: In member function 'CServer::Send_MapFragment(CNetworkHost const&, unsigned int)': /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:1157:90: warning: 'fileSize' may be used uninitialized [-Wmaybe-uninitialized] 1157 | fragmentDataSize = std::min(fragmentDataSize, fileSize - offset); | ~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:1124:18: note: 'fileSize' was declared here 1124 | uint32_t fileSize; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:1152:9: warning: 'fragmentDataSize' may be used uninitialized [-Wmaybe-uninitialized] 1152 | if (fragmentDataSize > 0) { | ^~ /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:1123:18: note: 'fragmentDataSize' was declared here 1123 | uint32_t fragmentDataSize; | ^~~~~~~~~~~~~~~~ [ 61%] Building CXX object CMakeFiles/stratagus.dir/src/network/netsockets.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/netsockets.cpp.o -MF CMakeFiles/stratagus.dir/src/network/netsockets.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/netsockets.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/network/netsockets.cpp [ 61%] Building CXX object CMakeFiles/stratagus.dir/src/network/online_service.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/online_service.cpp.o -MF CMakeFiles/stratagus.dir/src/network/online_service.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/online_service.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp [ 62%] Building CXX object CMakeFiles/stratagus.dir/src/network/mdns.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/mdns.cpp.o -MF CMakeFiles/stratagus.dir/src/network/mdns.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/mdns.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/network/mdns.cpp /builddir/build/BUILD/stratagus-3.3.2/src/network/mdns.cpp: In member function 'void MDNS::QueryServers(std::function)': /builddir/build/BUILD/stratagus-3.3.2/src/network/mdns.cpp:124:13: warning: unused variable 'responses' [-Wunused-variable] 124 | int responses = mdns_query_recv(querySockets[i], buffer, | ^~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/mdns.h:33, from /builddir/build/BUILD/stratagus-3.3.2/src/network/mdns.cpp:31: /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h: At global scope: /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1215:1: warning: 'size_t mdns_record_parse_txt(const void*, size_t, size_t, size_t, mdns_record_txt_t*, size_t)' defined but not used [-Wunused-function] 1215 | mdns_record_parse_txt(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1202:1: warning: 'sockaddr_in6* mdns_record_parse_aaaa(const void*, size_t, size_t, size_t, sockaddr_in6*)' defined but not used [-Wunused-function] 1202 | mdns_record_parse_aaaa(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1167:1: warning: 'mdns_record_srv_t mdns_record_parse_srv(const void*, size_t, size_t, size_t, char*, size_t)' defined but not used [-Wunused-function] 1167 | mdns_record_parse_srv(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:851:1: warning: 'int mdns_discovery_answer(int, const void*, size_t, void*, size_t, const char*, size_t)' defined but not used [-Wunused-function] 851 | mdns_discovery_answer(int sock, const void* address, size_t address_size, void* buffer, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:694:1: warning: 'size_t mdns_discovery_recv(int, void*, size_t, mdns_record_callback_fn, void*)' defined but not used [-Wunused-function] 694 | mdns_discovery_recv(int sock, void* buffer, size_t capacity, mdns_record_callback_fn callback, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:689:1: warning: 'int mdns_discovery_send(int)' defined but not used [-Wunused-function] 689 | mdns_discovery_send(int sock) { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:326:1: warning: 'int mdns_socket_open_ipv6(sockaddr_in6*)' defined but not used [-Wunused-function] 326 | mdns_socket_open_ipv6(struct sockaddr_in6* saddr) { | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function 'uint64_t BNCSInputStream::read64()': /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:206:18: warning: unused variable 'nativeWordTwo' [-Wunused-variable] 206 | uint32_t nativeWordTwo = ntohl(wordTwo); | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function 'void Context::sendText(std::string, bool)': /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:888:13: warning: unused variable 'pos' [-Wunused-variable] 888 | int pos = 0; | ^~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function 'void OnlineState::handleGamelist(Context*)': /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1507:18: warning: unused variable 'lang' [-Wunused-variable] 1507 | uint32_t lang = ctx->getMsgIStream()->read32(); | ^~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1508:18: warning: unused variable 'addr_fam' [-Wunused-variable] 1508 | uint16_t addr_fam = ctx->getMsgIStream()->read16(); | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1513:18: warning: unused variable 'sinzero1' [-Wunused-variable] 1513 | uint32_t sinzero1 = ctx->getMsgIStream()->read32(); | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1514:18: warning: unused variable 'sinzero2' [-Wunused-variable] 1514 | uint32_t sinzero2 = ctx->getMsgIStream()->read32(); | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function 'void OnlineState::handleChatevent(Context*)': /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1553:14: warning: unused variable 'userFlags' [-Wunused-variable] 1553 | uint32_t userFlags = ctx->getMsgIStream()->read32(); | ^~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1554:14: warning: unused variable 'ping' [-Wunused-variable] 1554 | uint32_t ping = ctx->getMsgIStream()->read32(); | ^~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1555:14: warning: unused variable 'ip' [-Wunused-variable] 1555 | uint32_t ip = ctx->getMsgIStream()->read32(); | ^~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1556:14: warning: unused variable 'acn' [-Wunused-variable] 1556 | uint32_t acn = ctx->getMsgIStream()->read32(); | ^~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1557:14: warning: unused variable 'reg' [-Wunused-variable] 1557 | uint32_t reg = ctx->getMsgIStream()->read32(); | ^~~ [ 62%] Building CXX object CMakeFiles/stratagus.dir/src/particle/graphicanimation.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/particle/graphicanimation.cpp.o -MF CMakeFiles/stratagus.dir/src/particle/graphicanimation.cpp.o.d -o CMakeFiles/stratagus.dir/src/particle/graphicanimation.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/particle/graphicanimation.cpp /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function 'virtual void S2C_SID_AUTH_INFO::doOneStep(Context*)': /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:2037:22: warning: unused variable 'mpqFiletime' [-Wunused-variable] 2037 | uint64_t mpqFiletime = ctx->getMsgIStream()->readFiletime(); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:57: /builddir/build/BUILD/stratagus-3.3.2/src/network/./xsha1.h: At global scope: /builddir/build/BUILD/stratagus-3.3.2/src/network/./xsha1.h:94:21: warning: 'void pvpgn::do_hash(uint32_t (*)[5], uint32_t*)' declared 'static' but never defined [-Wunused-function] 94 | static void do_hash(t_hash * hash, std::uint32_t * tmp); | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:2353:12: warning: 'int CclJoinGame(lua_State*)' defined but not used [-Wunused-function] 2353 | static int CclJoinGame(lua_State *l) { | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:2318:12: warning: 'int CclStep(lua_State*)' defined but not used [-Wunused-function] 2318 | static int CclStep(lua_State *l) { | ^~~~~~~ [ 63%] Building CXX object CMakeFiles/stratagus.dir/src/particle/chunkparticle.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/particle/chunkparticle.cpp.o -MF CMakeFiles/stratagus.dir/src/particle/chunkparticle.cpp.o.d -o CMakeFiles/stratagus.dir/src/particle/chunkparticle.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/particle/chunkparticle.cpp [ 63%] Building CXX object CMakeFiles/stratagus.dir/src/particle/particlemanager.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/particle/particlemanager.cpp.o -MF CMakeFiles/stratagus.dir/src/particle/particlemanager.cpp.o.d -o CMakeFiles/stratagus.dir/src/particle/particlemanager.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/particle/particlemanager.cpp [ 63%] Building CXX object CMakeFiles/stratagus.dir/src/particle/radialparticle.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/particle/radialparticle.cpp.o -MF CMakeFiles/stratagus.dir/src/particle/radialparticle.cpp.o.d -o CMakeFiles/stratagus.dir/src/particle/radialparticle.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/particle/radialparticle.cpp [ 64%] Building CXX object CMakeFiles/stratagus.dir/src/particle/smokeparticle.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/particle/smokeparticle.cpp.o -MF CMakeFiles/stratagus.dir/src/particle/smokeparticle.cpp.o.d -o CMakeFiles/stratagus.dir/src/particle/smokeparticle.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/particle/smokeparticle.cpp [ 64%] Building CXX object CMakeFiles/stratagus.dir/src/particle/staticparticle.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/particle/staticparticle.cpp.o -MF CMakeFiles/stratagus.dir/src/particle/staticparticle.cpp.o.d -o CMakeFiles/stratagus.dir/src/particle/staticparticle.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/particle/staticparticle.cpp [ 65%] Building CXX object CMakeFiles/stratagus.dir/src/pathfinder/astar.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/pathfinder/astar.cpp.o -MF CMakeFiles/stratagus.dir/src/pathfinder/astar.cpp.o.d -o CMakeFiles/stratagus.dir/src/pathfinder/astar.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/astar.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/astar.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 65%] Building CXX object CMakeFiles/stratagus.dir/src/pathfinder/pathfinder.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/pathfinder/pathfinder.cpp.o -MF CMakeFiles/stratagus.dir/src/pathfinder/pathfinder.cpp.o.d -o CMakeFiles/stratagus.dir/src/pathfinder/pathfinder.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/pathfinder.cpp /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/pathfinder.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/pathfinder.cpp:45: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 66%] Building CXX object CMakeFiles/stratagus.dir/src/pathfinder/script_pathfinder.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/pathfinder/script_pathfinder.cpp.o -MF CMakeFiles/stratagus.dir/src/pathfinder/script_pathfinder.cpp.o.d -o CMakeFiles/stratagus.dir/src/pathfinder/script_pathfinder.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/script_pathfinder.cpp /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/pathfinder.cpp: In function 'PlaceReachable(CUnit const&, Vec2T const&, int, int, int, int, bool)': /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/pathfinder.cpp:236:9: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized] 236 | switch (i) { | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/pathfinder.cpp:189:13: note: 'i' was declared here 189 | int i; | ^ [ 66%] Building CXX object CMakeFiles/stratagus.dir/src/sound/music.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/sound/music.cpp.o -MF CMakeFiles/stratagus.dir/src/sound/music.cpp.o.d -o CMakeFiles/stratagus.dir/src/sound/music.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/sound/music.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/script_pathfinder.cpp:43: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/pathfinder/script_pathfinder.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 67%] Building CXX object CMakeFiles/stratagus.dir/src/sound/script_sound.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/sound/script_sound.cpp.o -MF CMakeFiles/stratagus.dir/src/sound/script_sound.cpp.o.d -o CMakeFiles/stratagus.dir/src/sound/script_sound.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/sound/script_sound.cpp [ 67%] Building CXX object CMakeFiles/stratagus.dir/src/sound/sound.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/sound/sound.cpp.o -MF CMakeFiles/stratagus.dir/src/sound/sound.cpp.o.d -o CMakeFiles/stratagus.dir/src/sound/sound.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound.cpp [ 68%] Building CXX object CMakeFiles/stratagus.dir/src/sound/sound_id.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/sound/sound_id.cpp.o -MF CMakeFiles/stratagus.dir/src/sound/sound_id.cpp.o.d -o CMakeFiles/stratagus.dir/src/sound/sound_id.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_id.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 68%] Building CXX object CMakeFiles/stratagus.dir/src/sound/sound_server.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/sound/sound_server.cpp.o -MF CMakeFiles/stratagus.dir/src/sound/sound_server.cpp.o.d -o CMakeFiles/stratagus.dir/src/sound/sound_server.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp [ 68%] Building CXX object CMakeFiles/stratagus.dir/src/sound/unitsound.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/sound/unitsound.cpp.o -MF CMakeFiles/stratagus.dir/src/sound/unitsound.cpp.o.d -o CMakeFiles/stratagus.dir/src/sound/unitsound.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/sound/unitsound.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_randomsound.h:37, from /builddir/build/BUILD/stratagus-3.3.2/src/sound/unitsound.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp:50: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp: In function 'void FreeSample(Mix_Chunk*)': /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp:454:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 454 | if (sample->allocated == 0xcafebeef) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp: In function 'int PlaySample(Mix_Chunk*, Origin*, void (*)(int))': /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp:471:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 471 | if (sample->allocated == 0xcafebeef) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp: In function 'void SetMusicVolume(int)': /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp:608:48: warning: statement has no effect [-Wunused-value] 608 | External_Volume(MusicVolume, oldVolume); | ^ /builddir/build/BUILD/stratagus-3.3.2/src/sound/sound_server.cpp:605:13: warning: unused variable 'oldVolume' [-Wunused-variable] 605 | int oldVolume = MusicVolume; | ^~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/sound/unitsound.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 69%] Building CXX object CMakeFiles/stratagus.dir/src/spell/script_spell.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/script_spell.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/script_spell.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/script_spell.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/spell/script_spell.cpp [ 69%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_adjustvariable.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_adjustvariable.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_adjustvariable.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_adjustvariable.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_adjustvariable.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/spell/script_spell.cpp:54: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_adjustvariable.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 70%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_adjustvital.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_adjustvital.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_adjustvital.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_adjustvital.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_adjustvital.cpp [ 70%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_areaadjustvital.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_areaadjustvital.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_areaadjustvital.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_areaadjustvital.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_areaadjustvital.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_adjustvital.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_areaadjustvital.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 71%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_areabombardment.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_areabombardment.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_areabombardment.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_areabombardment.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_areabombardment.cpp [ 71%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_capture.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_capture.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_capture.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_capture.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_capture.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_areabombardment.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_capture.cpp:42: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 72%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_demolish.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_demolish.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_demolish.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_demolish.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_demolish.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_demolish.cpp:39: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 72%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_luacallback.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_luacallback.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_luacallback.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_luacallback.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_luacallback.cpp [ 72%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_polymorph.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_polymorph.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_polymorph.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_polymorph.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_polymorph.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_luacallback.cpp:37: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 73%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_spawnmissile.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_spawnmissile.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_spawnmissile.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_spawnmissile.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_spawnmissile.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_polymorph.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 73%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_spawnportal.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_spawnportal.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_spawnportal.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_spawnportal.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_spawnportal.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_spawnmissile.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_spawnportal.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 74%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_summon.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_summon.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_summon.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_summon.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_summon.cpp [ 74%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spell_teleport.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spell_teleport.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spell_teleport.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spell_teleport.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_teleport.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_summon.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spell_teleport.cpp:39: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 75%] Building CXX object CMakeFiles/stratagus.dir/src/spell/spells.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/spell/spells.cpp.o -MF CMakeFiles/stratagus.dir/src/spell/spells.cpp.o.d -o CMakeFiles/stratagus.dir/src/spell/spells.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/spell/spells.cpp [ 75%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/construct.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/construct.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/construct.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/construct.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/construct.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/spell/spells.cpp:53: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 76%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/groups.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/groups.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/groups.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/groups.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/groups.cpp [ 76%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/iolib.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/iolib.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/iolib.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/iolib.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/iolib.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/groups.cpp:39: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 77%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/luacallback.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/luacallback.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/luacallback.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/luacallback.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/luacallback.cpp [ 77%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/main.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/main.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/main.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/main.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/main.cpp [ 77%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/mainloop.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/mainloop.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/mainloop.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/mainloop.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/mainloop.cpp [ 78%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/parameters.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/parameters.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/parameters.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/parameters.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/parameters.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/mainloop.cpp:53: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 78%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/player.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/player.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/player.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/player.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/player.cpp [ 79%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/script.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/script.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/script.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/script.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_setplayervar.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script.cpp:52: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/player.cpp:53: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/player.cpp:54: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script.cpp:62: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script.cpp: In function 'int LuaLoadFile(const std::string&, const std::string&, bool)': /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script.cpp:258:41: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 258 | if (file.rfind("stratagus.lua") != -1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script.cpp: At global scope: /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script.cpp:2666:12: warning: 'int CclListFilesystem(lua_State*)' defined but not used [-Wunused-function] 2666 | static int CclListFilesystem(lua_State *l) | ^~~~~~~~~~~~~~~~~ [ 79%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/script_player.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/script_player.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/script_player.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/script_player.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script_player.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script_player.cpp:45: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/script_player.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 80%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/selection.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/selection.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/selection.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/selection.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/selection.cpp [ 80%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/stratagus.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/stratagus.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/stratagus.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/stratagus.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/stratagus.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/selection.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/selection.cpp:47: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/stratagus.cpp:214: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h: In function 'void print_backtrace(int)': /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h:10:9: warning: unused variable 'j' [-Wunused-variable] 10 | int j, nptrs; | ^ [ 81%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/title.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/title.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/title.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/title.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/title.cpp [ 81%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/translate.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/translate.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/translate.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/translate.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/translate.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/title.cpp:35: /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h: In constructor 'Movie::Movie()': /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:111:26: warning: 'Movie::yuv_overlay' will be initialized after [-Wreorder] 111 | mutable SDL_Texture *yuv_overlay; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:104:18: warning: 'SDL_Surface* Movie::surface' [-Wreorder] 104 | SDL_Surface *surface; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:108:20: warning: 'Movie::start_time' will be initialized after [-Wreorder] 108 | mutable Uint32 start_time; | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:106:18: warning: 'bool Movie::is_dirty' [-Wreorder] 106 | mutable bool is_dirty; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:106:18: warning: 'Movie::is_dirty' will be initialized after [-Wreorder] 106 | mutable bool is_dirty; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:102:9: warning: 'int Movie::Width' [-Wreorder] 102 | int Width; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:109:22: warning: 'Movie::data' will be initialized after [-Wreorder] 109 | mutable OggData *data; | ^~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:105:12: warning: 'CFile* Movie::f' [-Wreorder] 105 | CFile *f; | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ [ 81%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/util.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/util.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/util.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/util.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/util.cpp [ 82%] Building CXX object CMakeFiles/stratagus.dir/src/ui/botpanel.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/botpanel.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/botpanel.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/botpanel.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ui/botpanel.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/util.cpp:55: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h: In function 'void print_backtrace(int)': /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h:10:9: warning: unused variable 'j' [-Wunused-variable] 10 | int j, nptrs; | ^ [ 82%] Building CXX object CMakeFiles/stratagus.dir/src/ui/button_checks.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/button_checks.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/button_checks.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/button_checks.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ui/button_checks.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/button_checks.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/botpanel.cpp:56: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 83%] Building CXX object CMakeFiles/stratagus.dir/src/ui/contenttype.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/contenttype.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/contenttype.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/contenttype.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ui/contenttype.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/contenttype.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/ui/contenttype.cpp: In member function 'virtual void CContentTypeLifeBar::Parse(lua_State*)': /builddir/build/BUILD/stratagus-3.3.2/src/ui/contenttype.cpp:625:53: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 625 | if (this->colors[i] == -1) { | ~~~~~~~~~~~~~~~~^~~~~ [ 83%] Building CXX object CMakeFiles/stratagus.dir/src/ui/icons.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/icons.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/icons.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/icons.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ui/icons.cpp [ 84%] Building CXX object CMakeFiles/stratagus.dir/src/ui/interface.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/interface.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/interface.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/interface.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/icons.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp:52: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp: In function 'void InputKey(int)': /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp:849:90: warning: argument to 'sizeof' in 'char* strncpy(char*, const char*, size_t)' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 849 | strncpy(InputHistory + (InputHistoryIdx * sizeof(Input)), Input, sizeof(Input)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp:925:90: warning: argument to 'sizeof' in 'char* strncpy(char*, const char*, size_t)' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 925 | strncpy(InputHistory + (InputHistoryPos * sizeof(Input)), Input, sizeof(Input)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp:938:90: warning: argument to 'sizeof' in 'char* strncpy(char*, const char*, size_t)' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 938 | strncpy(InputHistory + (InputHistoryPos * sizeof(Input)), Input, sizeof(Input)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp: At global scope: /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp:150:13: warning: 'void UiUnselectAll()' defined but not used [-Wunused-function] 150 | static void UiUnselectAll() | ^~~~~~~~~~~~~ [ 84%] Building CXX object CMakeFiles/stratagus.dir/src/ui/mainscr.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/mainscr.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/mainscr.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/mainscr.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ui/mainscr.cpp /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp: In function 'addCursorToInput()': /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp:110:16: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 110 | strncpy(Input + InputIndex, Cursor, strlen(Cursor)); | ^ /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp: In function 'InputKey(int)': /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp:930:32: warning: 'strncpy' specified bound 80 equals destination size [-Wstringop-truncation] 930 | strncpy(Input, InputHistory + (InputHistoryPos * sizeof(Input)), sizeof(Input)); | ^ /builddir/build/BUILD/stratagus-3.3.2/src/ui/interface.cpp:943:32: warning: 'strncpy' specified bound 80 equals destination size [-Wstringop-truncation] 943 | strncpy(Input, InputHistory + (InputHistoryPos * sizeof(Input)), sizeof(Input)); | ^ [ 85%] Building CXX object CMakeFiles/stratagus.dir/src/ui/uibuttons_proc.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/uibuttons_proc.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/uibuttons_proc.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/uibuttons_proc.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ui/uibuttons_proc.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/mainscr.cpp:57: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/ui/mainscr.cpp: In function 'void DrawUnitInfo_transporter(CUnit&)': /builddir/build/BUILD/stratagus-3.3.2/src/ui/mainscr.cpp:554:76: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 554 | if (static_cast(ButtonUnderCursor) == sub_j) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ [ 85%] Building CXX object CMakeFiles/stratagus.dir/src/ui/mouse.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/mouse.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/mouse.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/mouse.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ui/mouse.cpp [ 86%] Building CXX object CMakeFiles/stratagus.dir/src/ui/popup.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/popup.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/popup.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/popup.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ui/popup.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/mouse.cpp:62: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/ui/mouse.cpp: In function 'bool DoRightButton_Harvest_Unit(CUnit&, CUnit&, int, int&)': /builddir/build/BUILD/stratagus-3.3.2/src/ui/mouse.cpp:210:37: warning: unused variable 'resinfo' [-Wunused-variable] 210 | const ResourceInfo &resinfo = *unit.Type->ResInfo[unit.CurrentResource]; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/ui/mouse.cpp: In function 'void UIHandleButtonDown_OnButton(unsigned int)': /builddir/build/BUILD/stratagus-3.3.2/src/ui/mouse.cpp:1817:108: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1817 | if (static_cast(ButtonUnderCursor) == sub_j) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/ui/popup.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 86%] Building CXX object CMakeFiles/stratagus.dir/src/ui/script_ui.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/script_ui.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/script_ui.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/script_ui.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ui/script_ui.cpp [ 86%] Building CXX object CMakeFiles/stratagus.dir/src/ui/statusline.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/statusline.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/statusline.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/statusline.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ui/statusline.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/script_ui.cpp:51: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 87%] Building CXX object CMakeFiles/stratagus.dir/src/ui/ui.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/ui.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/ui.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/ui.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ui/ui.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/ui/ui.cpp:49: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 87%] Building CXX object CMakeFiles/stratagus.dir/src/ui/uitimer.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/uitimer.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/uitimer.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/uitimer.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ui/uitimer.cpp [ 88%] Building CXX object CMakeFiles/stratagus.dir/src/ui/widgets.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/ui/widgets.cpp.o -MF CMakeFiles/stratagus.dir/src/ui/widgets.cpp.o.d -o CMakeFiles/stratagus.dir/src/ui/widgets.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/ui/widgets.cpp [ 88%] Building CXX object CMakeFiles/stratagus.dir/src/unit/build.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/build.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/build.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/build.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/unit/build.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/unit/build.cpp:39: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/unit/build.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 89%] Building CXX object CMakeFiles/stratagus.dir/src/unit/depend.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/depend.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/depend.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/depend.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/unit/depend.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/depend.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 89%] Building CXX object CMakeFiles/stratagus.dir/src/unit/script_unit.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/script_unit.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/script_unit.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/script_unit.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unit.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unit.cpp:37: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unit.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ [ 90%] Building CXX object CMakeFiles/stratagus.dir/src/unit/script_unittype.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/script_unittype.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/script_unittype.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/script_unittype.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp [ 90%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit_cache.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/unit_cache.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/unit_cache.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/unit_cache.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_cache.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_cache.cpp:43: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ [ 90%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/unit.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/unit.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/unit.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:52: /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp: In function 'int CclDefinePaletteSwap(lua_State*)': /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:2263:55: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2263 | if (lua_rawlen(l, -1) != alternativesCount) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/unit/script_unittype.cpp:2275:63: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2275 | if (lua_rawlen(l, -1) != colorCount) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit.cpp: In member function 'void CUnit::Init()': /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit.cpp:461:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct CUnit::_seen_stuff_'; use assignment or value-initialization instead [-Wclass-memaccess] 461 | memset(&Seen, 0, sizeof(Seen)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:390:16: note: 'struct CUnit::_seen_stuff_' declared here 390 | struct _seen_stuff_ { | ^~~~~~~~~~~~ [ 91%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit_draw.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/unit_draw.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/unit_draw.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/unit_draw.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_draw.cpp [ 91%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit_find.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/unit_find.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/unit_find.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/unit_find.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_find.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit_find.h:38, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_find.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_find.cpp: In constructor 'BestRangeTargetFinder::FillBadGood::FillBadGood(const CUnit&, int, std::vector*, std::vector*, int)': /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_find.cpp:973:27: warning: 'BestRangeTargetFinder::FillBadGood::size' will be initialized after [-Wreorder] 973 | const int size; | ^~~~ /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_find.cpp:970:21: warning: 'int BestRangeTargetFinder::FillBadGood::enemy_count' [-Wreorder] 970 | int enemy_count; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_find.cpp:814:17: warning: when initialized here [-Wreorder] 814 | FillBadGood(const CUnit &a, int r, std::vector *g, std::vector *b, int s): | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_draw.cpp:56: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 92%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit_manager.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/unit_manager.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/unit_manager.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/unit_manager.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_manager.cpp [ 92%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unit_save.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/unit_save.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/unit_save.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/unit_save.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_save.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_manager.cpp:39: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_save.cpp:41: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_save.cpp:44: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_manager.cpp:36: /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_manager.cpp: In member function 'void CUnitManager::ReleaseUnit(CUnit*)': /builddir/build/BUILD/stratagus-3.3.2/src/unit/unit_manager.cpp:123:33: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 123 | Assert(unit->PlayerSlot == -1); | ~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/stratagus.h:143:36: note: in definition of macro 'Assert' 143 | do { if (EnableAssert && !(cond)) { AbortAt(__FILE__, __LINE__, __func__, #cond); }} while (0) | ^~~~ [ 93%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unitptr.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/unitptr.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/unitptr.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/unitptr.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/unit/unitptr.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unitptr.cpp:35: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ [ 93%] Building CXX object CMakeFiles/stratagus.dir/src/unit/unittype.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/unittype.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/unittype.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/unittype.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/unit/unittype.cpp /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 94%] Building CXX object CMakeFiles/stratagus.dir/src/unit/upgrade.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/unit/upgrade.cpp.o -MF CMakeFiles/stratagus.dir/src/unit/upgrade.cpp.o.d -o CMakeFiles/stratagus.dir/src/unit/upgrade.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/unit/upgrade.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unittype.cpp:38: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/unit/unittype.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CUnitType::CUnitType()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:670:19: warning: 'CUnitType::ShadowSprite' will be initialized after [-Wreorder] 670 | CGraphic *ShadowSprite; /// Shadow sprite image | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:541:14: warning: 'char CUnitType::ShadowSpriteFrame' [-Wreorder] 541 | char ShadowSpriteFrame; /// If > 0, the shadow is a simple sprite without | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/unit/unittype.cpp:519:1: warning: when initialized here [-Wreorder] 519 | CUnitType::CUnitType() : | ^~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:541:14: warning: 'CUnitType::ShadowSpriteFrame' will be initialized after [-Wreorder] 541 | char ShadowSpriteFrame; /// If > 0, the shadow is a simple sprite without | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:540:14: warning: 'char CUnitType::ShadowScale' [-Wreorder] 540 | char ShadowScale; /// Shadow scale-down factor | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/unit/unittype.cpp:519:1: warning: when initialized here [-Wreorder] 519 | CUnitType::CUnitType() : | ^~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/unit/upgrade.cpp:53: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 94%] Building CXX object CMakeFiles/stratagus.dir/src/video/color.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/color.cpp.o -MF CMakeFiles/stratagus.dir/src/video/color.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/color.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/video/color.cpp [ 95%] Building CXX object CMakeFiles/stratagus.dir/src/video/cursor.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/cursor.cpp.o -MF CMakeFiles/stratagus.dir/src/video/cursor.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/cursor.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/video/cursor.cpp [ 95%] Building CXX object CMakeFiles/stratagus.dir/src/video/font.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/font.cpp.o -MF CMakeFiles/stratagus.dir/src/video/font.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/font.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/video/font.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/video/cursor.cpp:49: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/video/cursor.cpp: In function 'void DrawCursor()': /builddir/build/BUILD/stratagus-3.3.2/src/video/cursor.cpp:380:88: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 380 | if (ActuallyVisibleGameCursor != GameCursor || GameCursor->SpriteFrame != VisibleGameCursorFrame) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/video/font.cpp: In function 'unsigned char codepoint_to_codepage_index(int, const char**)': /builddir/build/BUILD/stratagus-3.3.2/src/video/font.cpp:262:57: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 262 | if (codepoint >= 0 && codepoint < sizeof(codepoint_to_cp437)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/video/font.cpp:277:65: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 277 | if (codepoint >= 0 && codepoint < sizeof(codepoint_to_cp866)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 95%] Building CXX object CMakeFiles/stratagus.dir/src/video/graphic.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/graphic.cpp.o -MF CMakeFiles/stratagus.dir/src/video/graphic.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/graphic.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/video/graphic.cpp /builddir/build/BUILD/stratagus-3.3.2/src/video/graphic.cpp: In member function 'void CGraphic::OverlayGraphic(CGraphic*, bool)': /builddir/build/BUILD/stratagus-3.3.2/src/video/graphic.cpp:1082:34: warning: unused variable 'dst' [-Wunused-variable] 1082 | uint8_t *dst = (uint8_t *)Surface->pixels; | ^~~ /builddir/build/BUILD/stratagus-3.3.2/src/video/graphic.cpp:1083:34: warning: unused variable 'src' [-Wunused-variable] 1083 | uint8_t *src = (uint8_t *)other->Surface->pixels; | ^~~ /builddir/build/BUILD/stratagus-3.3.2/src/video/graphic.cpp:1101:35: warning: unused variable 'dst' [-Wunused-variable] 1101 | uint32_t *dst = (uint32_t *)Surface->pixels; | ^~~ /builddir/build/BUILD/stratagus-3.3.2/src/video/graphic.cpp:1102:35: warning: unused variable 'src' [-Wunused-variable] 1102 | uint32_t *src = (uint32_t *)other->Surface->pixels; | ^~~ [ 96%] Building CXX object CMakeFiles/stratagus.dir/src/video/linedraw.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/linedraw.cpp.o -MF CMakeFiles/stratagus.dir/src/video/linedraw.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/linedraw.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/video/linedraw.cpp [ 96%] Building CXX object CMakeFiles/stratagus.dir/src/video/mng.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/mng.cpp.o -MF CMakeFiles/stratagus.dir/src/video/mng.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/mng.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/video/mng.cpp [ 97%] Building CXX object CMakeFiles/stratagus.dir/src/video/movie.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/movie.cpp.o -MF CMakeFiles/stratagus.dir/src/video/movie.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/movie.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/video/movie.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/video/mng.cpp:40: /builddir/build/BUILD/stratagus-3.3.2/src/include/video.h: In constructor 'Mng::Mng()': /builddir/build/BUILD/stratagus-3.3.2/src/include/video.h:264:13: warning: 'Mng::iteration' will be initialized after [-Wreorder] 264 | int iteration; | ^~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/video.h:257:22: warning: 'bool Mng::is_dirty' [-Wreorder] 257 | mutable bool is_dirty; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/video/mng.cpp:191:1: warning: when initialized here [-Wreorder] 191 | Mng::Mng() : | ^~~ [ 97%] Building CXX object CMakeFiles/stratagus.dir/src/video/png.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/png.cpp.o -MF CMakeFiles/stratagus.dir/src/video/png.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/png.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/video/png.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/video/movie.cpp:46: /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h: In constructor 'Movie::Movie()': /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:111:26: warning: 'Movie::yuv_overlay' will be initialized after [-Wreorder] 111 | mutable SDL_Texture *yuv_overlay; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:104:18: warning: 'SDL_Surface* Movie::surface' [-Wreorder] 104 | SDL_Surface *surface; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:108:20: warning: 'Movie::start_time' will be initialized after [-Wreorder] 108 | mutable Uint32 start_time; | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:106:18: warning: 'bool Movie::is_dirty' [-Wreorder] 106 | mutable bool is_dirty; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:106:18: warning: 'Movie::is_dirty' will be initialized after [-Wreorder] 106 | mutable bool is_dirty; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:102:9: warning: 'int Movie::Width' [-Wreorder] 102 | int Width; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:109:22: warning: 'Movie::data' will be initialized after [-Wreorder] 109 | mutable OggData *data; | ^~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:105:12: warning: 'CFile* Movie::f' [-Wreorder] 105 | CFile *f; | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ [ 98%] Building CXX object CMakeFiles/stratagus.dir/src/video/sdl.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/sdl.cpp.o -MF CMakeFiles/stratagus.dir/src/video/sdl.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/sdl.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/video/sdl.cpp [ 98%] Building CXX object CMakeFiles/stratagus.dir/src/video/video.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/video.cpp.o -MF CMakeFiles/stratagus.dir/src/video/video.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/video.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/video/video.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/video/sdl.cpp:79: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 99%] Building CXX object CMakeFiles/stratagus.dir/src/video/shaders.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/video/shaders.cpp.o -MF CMakeFiles/stratagus.dir/src/video/shaders.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/shaders.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/video/shaders.cpp [ 99%] Building CXX object CMakeFiles/stratagus.dir/tolua.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/tolua.cpp.o -MF CMakeFiles/stratagus.dir/tolua.cpp.o.d -o CMakeFiles/stratagus.dir/tolua.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/build/tolua.cpp /builddir/build/BUILD/stratagus-3.3.2/src/video/shaders.cpp:257:14: warning: 'VertexCoord' defined but not used [-Wunused-variable] 257 | static GLint VertexCoord; | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/build/tolua.cpp:23: /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h: In constructor 'Movie::Movie()': /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:111:26: warning: 'Movie::yuv_overlay' will be initialized after [-Wreorder] 111 | mutable SDL_Texture *yuv_overlay; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:104:18: warning: 'SDL_Surface* Movie::surface' [-Wreorder] 104 | SDL_Surface *surface; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:108:20: warning: 'Movie::start_time' will be initialized after [-Wreorder] 108 | mutable Uint32 start_time; | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:106:18: warning: 'bool Movie::is_dirty' [-Wreorder] 106 | mutable bool is_dirty; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:106:18: warning: 'Movie::is_dirty' will be initialized after [-Wreorder] 106 | mutable bool is_dirty; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:102:9: warning: 'int Movie::Width' [-Wreorder] 102 | int Width; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:109:22: warning: 'Movie::data' will be initialized after [-Wreorder] 109 | mutable OggData *data; | ^~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:105:12: warning: 'CFile* Movie::f' [-Wreorder] 105 | CFile *f; | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/movie.h:90:5: warning: when initialized here [-Wreorder] 90 | Movie() : rect(NULL), yuv_overlay(NULL), surface(NULL), need_data(true), start_time(0), | ^~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/build/tolua.cpp:29: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/build/tolua.cpp: At global scope: /builddir/build/BUILD/stratagus-3.3.2/build/tolua.cpp:193:12: warning: 'int tolua_collect_SDL_Color(lua_State*)' defined but not used [-Wunused-function] 193 | static int tolua_collect_SDL_Color (lua_State* tolua_S) | ^~~~~~~~~~~~~~~~~~~~~~~ [100%] Linking CXX executable stratagus /usr/bin/cmake -E cmake_link_script CMakeFiles/stratagus.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/stratagus.dir/src/action/action_attack.cpp.o CMakeFiles/stratagus.dir/src/action/action_board.cpp.o CMakeFiles/stratagus.dir/src/action/action_build.cpp.o CMakeFiles/stratagus.dir/src/action/action_built.cpp.o CMakeFiles/stratagus.dir/src/action/action_defend.cpp.o CMakeFiles/stratagus.dir/src/action/action_die.cpp.o CMakeFiles/stratagus.dir/src/action/action_explore.cpp.o CMakeFiles/stratagus.dir/src/action/action_follow.cpp.o CMakeFiles/stratagus.dir/src/action/action_move.cpp.o CMakeFiles/stratagus.dir/src/action/action_patrol.cpp.o CMakeFiles/stratagus.dir/src/action/action_repair.cpp.o CMakeFiles/stratagus.dir/src/action/action_research.cpp.o CMakeFiles/stratagus.dir/src/action/action_resource.cpp.o CMakeFiles/stratagus.dir/src/action/action_spellcast.cpp.o CMakeFiles/stratagus.dir/src/action/action_still.cpp.o CMakeFiles/stratagus.dir/src/action/action_train.cpp.o CMakeFiles/stratagus.dir/src/action/action_unload.cpp.o CMakeFiles/stratagus.dir/src/action/action_upgradeto.cpp.o CMakeFiles/stratagus.dir/src/action/actions.cpp.o CMakeFiles/stratagus.dir/src/action/command.cpp.o CMakeFiles/stratagus.dir/src/animation/animation.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_attack.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_die.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_exactframe.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_frame.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_goto.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_ifvar.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_label.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_luacallback.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_move.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_randomgoto.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_randomrotate.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_randomsound.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_randomwait.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_rotate.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_setplayervar.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_setvar.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_sound.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_spawnmissile.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_spawnunit.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_unbreakable.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_wait.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_wiggle.cpp.o CMakeFiles/stratagus.dir/src/ai/ai_building.cpp.o CMakeFiles/stratagus.dir/src/ai/ai.cpp.o CMakeFiles/stratagus.dir/src/ai/ai_force.cpp.o CMakeFiles/stratagus.dir/src/ai/ai_magic.cpp.o CMakeFiles/stratagus.dir/src/ai/ai_plan.cpp.o CMakeFiles/stratagus.dir/src/ai/ai_resource.cpp.o CMakeFiles/stratagus.dir/src/ai/script_ai.cpp.o CMakeFiles/stratagus.dir/src/editor/editloop.cpp.o CMakeFiles/stratagus.dir/src/editor/editor.cpp.o CMakeFiles/stratagus.dir/src/editor/edmap.cpp.o CMakeFiles/stratagus.dir/src/editor/script_editor.cpp.o CMakeFiles/stratagus.dir/src/game/game.cpp.o CMakeFiles/stratagus.dir/src/game/loadgame.cpp.o CMakeFiles/stratagus.dir/src/game/replay.cpp.o CMakeFiles/stratagus.dir/src/game/savegame.cpp.o CMakeFiles/stratagus.dir/src/game/trigger.cpp.o CMakeFiles/stratagus.dir/src/guichan/cliprectangle.cpp.o CMakeFiles/stratagus.dir/src/guichan/color.cpp.o CMakeFiles/stratagus.dir/src/guichan/defaultfont.cpp.o CMakeFiles/stratagus.dir/src/guichan/exception.cpp.o CMakeFiles/stratagus.dir/src/guichan/focushandler.cpp.o CMakeFiles/stratagus.dir/src/guichan/gfont.cpp.o CMakeFiles/stratagus.dir/src/guichan/graphics.cpp.o CMakeFiles/stratagus.dir/src/guichan/gui.cpp.o CMakeFiles/stratagus.dir/src/guichan/guichan.cpp.o CMakeFiles/stratagus.dir/src/guichan/image.cpp.o CMakeFiles/stratagus.dir/src/guichan/imagefont.cpp.o CMakeFiles/stratagus.dir/src/guichan/key.cpp.o CMakeFiles/stratagus.dir/src/guichan/keyinput.cpp.o CMakeFiles/stratagus.dir/src/guichan/mouseinput.cpp.o CMakeFiles/stratagus.dir/src/guichan/rectangle.cpp.o CMakeFiles/stratagus.dir/src/guichan/sdl/gsdl.cpp.o CMakeFiles/stratagus.dir/src/guichan/sdl/sdlgraphics.cpp.o CMakeFiles/stratagus.dir/src/guichan/sdl/sdlinput.cpp.o CMakeFiles/stratagus.dir/src/guichan/widget.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/button.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/container.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/dropdown.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/checkbox.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/icon.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/label.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/listbox.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/radiobutton.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/scrollarea.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/slider.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/textbox.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/textfield.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/window.cpp.o CMakeFiles/stratagus.dir/src/map/fov.cpp.o CMakeFiles/stratagus.dir/src/map/fow.cpp.o CMakeFiles/stratagus.dir/src/map/fow_utils.cpp.o CMakeFiles/stratagus.dir/src/map/map.cpp.o CMakeFiles/stratagus.dir/src/map/map_draw.cpp.o CMakeFiles/stratagus.dir/src/map/map_fog.cpp.o CMakeFiles/stratagus.dir/src/map/map_radar.cpp.o CMakeFiles/stratagus.dir/src/map/map_wall.cpp.o CMakeFiles/stratagus.dir/src/map/mapfield.cpp.o CMakeFiles/stratagus.dir/src/map/minimap.cpp.o CMakeFiles/stratagus.dir/src/map/script_map.cpp.o CMakeFiles/stratagus.dir/src/map/script_tileset.cpp.o CMakeFiles/stratagus.dir/src/map/tileset.cpp.o CMakeFiles/stratagus.dir/src/missile/missile.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_cliptotarget.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_continuous.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_cycleonce.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_deathcoil.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_fire.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_flameshield.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_hit.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_landmine.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_none.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_parabolic.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_pointotpointwithhit.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_pointtopoint.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_pointtopointbounce.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_pointtopointcycleonce.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_stay.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_straightfly.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_tracer.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_whirlwind.cpp.o CMakeFiles/stratagus.dir/src/missile/missileconfig.cpp.o CMakeFiles/stratagus.dir/src/missile/script_missile.cpp.o CMakeFiles/stratagus.dir/src/network/commands.cpp.o CMakeFiles/stratagus.dir/src/network/net_lowlevel.cpp.o CMakeFiles/stratagus.dir/src/network/net_message.cpp.o CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o CMakeFiles/stratagus.dir/src/network/network.cpp.o CMakeFiles/stratagus.dir/src/network/netsockets.cpp.o CMakeFiles/stratagus.dir/src/network/online_service.cpp.o CMakeFiles/stratagus.dir/src/network/mdns.cpp.o CMakeFiles/stratagus.dir/src/particle/graphicanimation.cpp.o CMakeFiles/stratagus.dir/src/particle/chunkparticle.cpp.o CMakeFiles/stratagus.dir/src/particle/particlemanager.cpp.o CMakeFiles/stratagus.dir/src/particle/radialparticle.cpp.o CMakeFiles/stratagus.dir/src/particle/smokeparticle.cpp.o CMakeFiles/stratagus.dir/src/particle/staticparticle.cpp.o CMakeFiles/stratagus.dir/src/pathfinder/astar.cpp.o CMakeFiles/stratagus.dir/src/pathfinder/pathfinder.cpp.o CMakeFiles/stratagus.dir/src/pathfinder/script_pathfinder.cpp.o CMakeFiles/stratagus.dir/src/sound/music.cpp.o CMakeFiles/stratagus.dir/src/sound/script_sound.cpp.o CMakeFiles/stratagus.dir/src/sound/sound.cpp.o CMakeFiles/stratagus.dir/src/sound/sound_id.cpp.o CMakeFiles/stratagus.dir/src/sound/sound_server.cpp.o CMakeFiles/stratagus.dir/src/sound/unitsound.cpp.o CMakeFiles/stratagus.dir/src/spell/script_spell.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_adjustvariable.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_adjustvital.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_areaadjustvital.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_areabombardment.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_capture.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_demolish.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_luacallback.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_polymorph.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_spawnmissile.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_spawnportal.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_summon.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_teleport.cpp.o CMakeFiles/stratagus.dir/src/spell/spells.cpp.o CMakeFiles/stratagus.dir/src/stratagus/construct.cpp.o CMakeFiles/stratagus.dir/src/stratagus/groups.cpp.o CMakeFiles/stratagus.dir/src/stratagus/iolib.cpp.o CMakeFiles/stratagus.dir/src/stratagus/luacallback.cpp.o CMakeFiles/stratagus.dir/src/stratagus/main.cpp.o CMakeFiles/stratagus.dir/src/stratagus/mainloop.cpp.o CMakeFiles/stratagus.dir/src/stratagus/parameters.cpp.o CMakeFiles/stratagus.dir/src/stratagus/player.cpp.o CMakeFiles/stratagus.dir/src/stratagus/script.cpp.o CMakeFiles/stratagus.dir/src/stratagus/script_player.cpp.o CMakeFiles/stratagus.dir/src/stratagus/selection.cpp.o CMakeFiles/stratagus.dir/src/stratagus/stratagus.cpp.o CMakeFiles/stratagus.dir/src/stratagus/title.cpp.o CMakeFiles/stratagus.dir/src/stratagus/translate.cpp.o CMakeFiles/stratagus.dir/src/stratagus/util.cpp.o CMakeFiles/stratagus.dir/src/ui/botpanel.cpp.o CMakeFiles/stratagus.dir/src/ui/button_checks.cpp.o CMakeFiles/stratagus.dir/src/ui/contenttype.cpp.o CMakeFiles/stratagus.dir/src/ui/icons.cpp.o CMakeFiles/stratagus.dir/src/ui/interface.cpp.o CMakeFiles/stratagus.dir/src/ui/mainscr.cpp.o CMakeFiles/stratagus.dir/src/ui/uibuttons_proc.cpp.o CMakeFiles/stratagus.dir/src/ui/mouse.cpp.o CMakeFiles/stratagus.dir/src/ui/popup.cpp.o CMakeFiles/stratagus.dir/src/ui/script_ui.cpp.o CMakeFiles/stratagus.dir/src/ui/statusline.cpp.o CMakeFiles/stratagus.dir/src/ui/ui.cpp.o CMakeFiles/stratagus.dir/src/ui/uitimer.cpp.o CMakeFiles/stratagus.dir/src/ui/widgets.cpp.o CMakeFiles/stratagus.dir/src/unit/build.cpp.o CMakeFiles/stratagus.dir/src/unit/depend.cpp.o CMakeFiles/stratagus.dir/src/unit/script_unit.cpp.o CMakeFiles/stratagus.dir/src/unit/script_unittype.cpp.o CMakeFiles/stratagus.dir/src/unit/unit_cache.cpp.o CMakeFiles/stratagus.dir/src/unit/unit.cpp.o CMakeFiles/stratagus.dir/src/unit/unit_draw.cpp.o CMakeFiles/stratagus.dir/src/unit/unit_find.cpp.o CMakeFiles/stratagus.dir/src/unit/unit_manager.cpp.o CMakeFiles/stratagus.dir/src/unit/unit_save.cpp.o CMakeFiles/stratagus.dir/src/unit/unitptr.cpp.o CMakeFiles/stratagus.dir/src/unit/unittype.cpp.o CMakeFiles/stratagus.dir/src/unit/upgrade.cpp.o CMakeFiles/stratagus.dir/src/video/color.cpp.o CMakeFiles/stratagus.dir/src/video/cursor.cpp.o CMakeFiles/stratagus.dir/src/video/font.cpp.o CMakeFiles/stratagus.dir/src/video/graphic.cpp.o CMakeFiles/stratagus.dir/src/video/linedraw.cpp.o CMakeFiles/stratagus.dir/src/video/mng.cpp.o CMakeFiles/stratagus.dir/src/video/movie.cpp.o CMakeFiles/stratagus.dir/src/video/png.cpp.o CMakeFiles/stratagus.dir/src/video/sdl.cpp.o CMakeFiles/stratagus.dir/src/video/video.cpp.o CMakeFiles/stratagus.dir/src/video/shaders.cpp.o CMakeFiles/stratagus.dir/tolua.cpp.o -o stratagus -lstdc++fs /usr/lib/liblua-5.1.so /usr/lib/libm.so /usr/lib/libSDL2.so /usr/lib/libSDL2_mixer.so /usr/lib/libSDL2_image.so /usr/lib/libtolua++.so /usr/lib/libz.so /usr/lib/libbz2.so /usr/lib/libmng.so /usr/lib/libogg.so /usr/lib/libvorbis.so /usr/lib/libtheora.so /usr/lib/libogg.so /usr/lib/libvorbis.so /usr/lib/libtheora.so /usr/lib/gcc/i686-redhat-linux/13/libgomp.so /usr/lib/libpthread.a make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' [100%] Built target stratagus make[1]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles 0 + popd ~/build/BUILD/stratagus-3.3.2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8qG9GG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386 ++ dirname /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd stratagus-3.3.2 + make install -C build DESTDIR=/builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386 make: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' /usr/bin/cmake -S/builddir/build/BUILD/stratagus-3.3.2 -B/builddir/build/BUILD/stratagus-3.3.2/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles /builddir/build/BUILD/stratagus-3.3.2/build//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/genversion.dir/build.make CMakeFiles/genversion.dir/depend make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles/genversion.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/genversion.dir/build.make CMakeFiles/genversion.dir/build make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' make[2]: Nothing to be done for 'CMakeFiles/genversion.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 0%] Built target genversion make -f CMakeFiles/version-generated.h.dir/build.make CMakeFiles/version-generated.h.dir/depend make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles/version-generated.h.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/version-generated.h.dir/build.make CMakeFiles/version-generated.h.dir/build make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2 && /builddir/build/BUILD/stratagus-3.3.2/build/genversion /builddir/build/BUILD/stratagus-3.3.2/build/version-generated.h 3.3.2 Cannot get git revision [genversion] update needed make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 0%] Built target version-generated.h make -f CMakeFiles/stratagus.dir/build.make CMakeFiles/stratagus.dir/depend make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2 && /builddir/build/BUILD/stratagus-3.3.2/build/genversion /builddir/build/BUILD/stratagus-3.3.2/build/version-generated.h 3.3.2 Cannot get git revision [genversion] update needed cd /builddir/build/BUILD/stratagus-3.3.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles/stratagus.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/stratagus.dir/build.make CMakeFiles/stratagus.dir/build make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 0%] Building CXX object CMakeFiles/stratagus.dir/src/action/actions.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/action/actions.cpp.o -MF CMakeFiles/stratagus.dir/src/action/actions.cpp.o.d -o CMakeFiles/stratagus.dir/src/action/actions.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/animation/animation_die.h:36, from /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:62: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:75: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:85: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h: In function 'void print_backtrace(int)': /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h:10:9: warning: unused variable 'j' [-Wunused-variable] 10 | int j, nptrs; | ^ In file included from /usr/include/stdio.h:906, from /usr/include/c++/13/cstdio:42, from /usr/include/c++/13/ext/string_conversions.h:45, from /usr/include/c++/13/bits/basic_string.h:4072, from /usr/include/c++/13/string:54, from /builddir/build/BUILD/stratagus-3.3.2/src/include/stratagus.h:37, from /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:38: In function 'fprintf', inlined from 'DumpUnitInfo(CUnit&)' at /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:521:9: /usr/include/bits/stdio2.h:79:24: warning: 'currentAction' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp: In function 'DumpUnitInfo(CUnit&)': /builddir/build/BUILD/stratagus-3.3.2/src/action/actions.cpp:494:21: note: 'currentAction' was declared here 494 | const char *currentAction; | ^~~~~~~~~~~~~ [ 1%] Building CXX object CMakeFiles/stratagus.dir/src/game/game.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/game/game.cpp.o -MF CMakeFiles/stratagus.dir/src/game/game.cpp.o.d -o CMakeFiles/stratagus.dir/src/game/game.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/game/game.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/game/game.cpp:45: /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h: In constructor 'CAnimations::CAnimations()': /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:158:21: warning: 'CAnimations::Upgrade' will be initialized after [-Wreorder] 158 | CAnimation *Upgrade; | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:148:14: warning: 'bool CAnimations::hasDeathAnimation' [-Wreorder] 148 | bool hasDeathAnimation; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/animation.h:111:9: warning: when initialized here [-Wreorder] 111 | CAnimations() : Attack(NULL), RangedAttack(NULL), Build(NULL), Move(NULL), Repair(NULL), | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/game/game.cpp:73: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 1%] Building CXX object CMakeFiles/stratagus.dir/src/game/replay.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/game/replay.cpp.o -MF CMakeFiles/stratagus.dir/src/game/replay.cpp.o.d -o CMakeFiles/stratagus.dir/src/game/replay.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/game/replay.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/game/replay.cpp:54: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 2%] Building CXX object CMakeFiles/stratagus.dir/src/game/savegame.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/game/savegame.cpp.o -MF CMakeFiles/stratagus.dir/src/game/savegame.cpp.o.d -o CMakeFiles/stratagus.dir/src/game/savegame.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/game/savegame.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/game/savegame.cpp:52: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 3%] Building CXX object CMakeFiles/stratagus.dir/src/map/map.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/map.cpp.o -MF CMakeFiles/stratagus.dir/src/map/map.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/map.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/map/map.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/map.cpp:45: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/map/map.cpp:39: /builddir/build/BUILD/stratagus-3.3.2/src/include/map.h: In constructor 'CMap::CMap()': /builddir/build/BUILD/stratagus-3.3.2/src/include/map.h:273:19: warning: 'CMap::TileGraphic' will be initialized after [-Wreorder] 273 | CGraphic *TileGraphic; /// graphic for all the tiles | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/map.h:271:19: warning: 'CTileset* CMap::Tileset' [-Wreorder] 271 | CTileset *Tileset; /// tileset data | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/map/map.cpp:321:1: warning: when initialized here [-Wreorder] 321 | CMap::CMap() : Fields(NULL), NoFogOfWar(false), TileGraphic(NULL), Tileset(NULL) | ^~~~ [ 4%] Building CXX object CMakeFiles/stratagus.dir/src/map/script_map.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/script_map.cpp.o -MF CMakeFiles/stratagus.dir/src/map/script_map.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/script_map.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/map/script_map.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:43, from /builddir/build/BUILD/stratagus-3.3.2/src/map/script_map.cpp:48: /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarBar::CDecoVarBar()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:292:13: warning: 'CDecoVarBar::MaxValue' will be initialized after [-Wreorder] 292 | int MaxValue; /// show only below percent | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:290:14: warning: 'bool CDecoVarBar::Invert' [-Wreorder] 290 | bool Invert; /// if true, invert length | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:282:9: warning: when initialized here [-Wreorder] 282 | CDecoVarBar() : MinValue(0), MaxValue(100), Invert(false) {}; | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CDecoVarAnimatedSprite::CDecoVarAnimatedSprite()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:359:13: warning: 'CDecoVarAnimatedSprite::n' will be initialized after [-Wreorder] 359 | int n; /// identifiant in SpellSprite | ^ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:356:14: warning: 'char CDecoVarAnimatedSprite::WaitFrames' [-Wreorder] 356 | char WaitFrames; /// Frames to wait between each sprite animation step | ^~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:351:9: warning: when initialized here [-Wreorder] 351 | CDecoVarAnimatedSprite() : NSprite(-1), n(0), WaitFrames(0) {} | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionDistance::CBuildRestrictionDistance()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:469:14: warning: 'CBuildRestrictionDistance::CheckBuilder' will be initialized after [-Wreorder] 469 | bool CheckBuilder; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:468:20: warning: 'CUnitType* CBuildRestrictionDistance::RestrictType' [-Wreorder] 468 | CUnitType *RestrictType; | ^~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:459:9: warning: when initialized here [-Wreorder] 459 | CBuildRestrictionDistance() : Distance(0), CheckBuilder(false), RestrictType(NULL), Diagonal(true) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h: In constructor 'CBuildRestrictionSurroundedBy::CBuildRestrictionSurroundedBy()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:498:13: warning: 'CBuildRestrictionSurroundedBy::Count' will be initialized after [-Wreorder] 498 | int Count; | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:496:13: warning: 'int CBuildRestrictionSurroundedBy::Distance' [-Wreorder] 496 | int Distance; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unittype.h:491:9: warning: when initialized here [-Wreorder] 491 | CBuildRestrictionSurroundedBy() : Count(0), Distance(0), DistanceType(Equal), CountType(Equal), RestrictType(NULL), CheckBuilder(false) {}; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CUnit::CUnit()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:426:17: warning: 'CUnit::CriticalOrder' will be initialized after [-Wreorder] 426 | COrder *CriticalOrder; /// order to do as possible in breakable animation. | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:355:14: warning: 'int CUnit::Colors' [-Wreorder] 355 | int Colors; /// custom colors | ^~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:429:14: warning: 'CUnit::SpellCoolDownTimers' will be initialized after [-Wreorder] 429 | int *SpellCoolDownTimers; /// how much time unit need to wait before spell will be ready | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:404:20: warning: 'CVariable* CUnit::Variable' [-Wreorder] 404 | CVariable *Variable; /// array of User Defined variables. | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:138:9: warning: when initialized here [-Wreorder] 138 | CUnit() : tilePos(-1, -1), pathFinderData(NULL), SavedOrder(NULL), NewOrder(NULL), CriticalOrder(NULL), Colors(-1), | ^~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In constructor 'CPreference::CPreference()': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:479:19: warning: 'CPreference::PressedIconFrameG' will be initialized after [-Wreorder] 479 | CGraphic *PressedIconFrameG; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:469:14: warning: 'bool CPreference::HardwareCursor' [-Wreorder] 469 | bool HardwareCursor; /// If true, uses the hardware to draw the cursor. Shaders do no longer apply to the cursor, but this way it's decoupled from the game refresh rate | ^~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:447:9: warning: when initialized here [-Wreorder] 447 | CPreference() : ShowSightRange(false), ShowReactionRange(false), | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiExplores(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:499:76: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 499 | void set_AiExplores(bool v) { AiExplores = GameSettings.AiExplores = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_SimplifiedAutoTargeting(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:501:115: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 501 | void set_SimplifiedAutoTargeting(bool v) { SimplifiedAutoTargeting = GameSettings.SimplifiedAutoTargeting = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h: In member function 'void CPreference::set_AiChecksDependencies(bool)': /builddir/build/BUILD/stratagus-3.3.2/src/include/unit.h:503:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 503 | void set_AiChecksDependencies(bool v) { AiChecksDependencies = GameSettings.AiChecksDependencies = v; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ [ 4%] Building CXX object CMakeFiles/stratagus.dir/src/network/net_message.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/net_message.cpp.o -MF CMakeFiles/stratagus.dir/src/network/net_message.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/net_message.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/network/net_message.cpp [ 5%] Building CXX object CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o -MF CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/include/mdns.h:33, from /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:70: /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1215:1: warning: 'size_t mdns_record_parse_txt(const void*, size_t, size_t, size_t, mdns_record_txt_t*, size_t)' defined but not used [-Wunused-function] 1215 | mdns_record_parse_txt(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1202:1: warning: 'sockaddr_in6* mdns_record_parse_aaaa(const void*, size_t, size_t, size_t, sockaddr_in6*)' defined but not used [-Wunused-function] 1202 | mdns_record_parse_aaaa(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1189:1: warning: 'sockaddr_in* mdns_record_parse_a(const void*, size_t, size_t, size_t, sockaddr_in*)' defined but not used [-Wunused-function] 1189 | mdns_record_parse_a(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1167:1: warning: 'mdns_record_srv_t mdns_record_parse_srv(const void*, size_t, size_t, size_t, char*, size_t)' defined but not used [-Wunused-function] 1167 | mdns_record_parse_srv(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:1157:1: warning: 'mdns_string_t mdns_record_parse_ptr(const void*, size_t, size_t, size_t, char*, size_t)' defined but not used [-Wunused-function] 1157 | mdns_record_parse_ptr(const void* buffer, size_t size, size_t offset, size_t length, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:994:1: warning: 'int mdns_query_answer(int, const void*, size_t, void*, size_t, uint16_t, const char*, size_t, const char*, size_t, uint32_t, const uint8_t*, uint16_t, const char*, size_t)' defined but not used [-Wunused-function] 994 | mdns_query_answer(int sock, const void* address, size_t address_size, void* buffer, size_t capacity, | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:937:1: warning: 'size_t mdns_query_recv(int, void*, size_t, mdns_record_callback_fn, void*, int)' defined but not used [-Wunused-function] 937 | mdns_query_recv(int sock, void* buffer, size_t capacity, mdns_record_callback_fn callback, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:890:1: warning: 'int mdns_query_send(int, mdns_record_type_t, const char*, size_t, void*, size_t, uint16_t)' defined but not used [-Wunused-function] 890 | mdns_query_send(int sock, mdns_record_type_t type, const char* name, size_t length, void* buffer, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:851:1: warning: 'int mdns_discovery_answer(int, const void*, size_t, void*, size_t, const char*, size_t)' defined but not used [-Wunused-function] 851 | mdns_discovery_answer(int sock, const void* address, size_t address_size, void* buffer, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:788:1: warning: 'size_t mdns_socket_listen(int, void*, size_t, mdns_record_callback_fn, void*)' defined but not used [-Wunused-function] 788 | mdns_socket_listen(int sock, void* buffer, size_t capacity, mdns_record_callback_fn callback, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:694:1: warning: 'size_t mdns_discovery_recv(int, void*, size_t, mdns_record_callback_fn, void*)' defined but not used [-Wunused-function] 694 | mdns_discovery_recv(int sock, void* buffer, size_t capacity, mdns_record_callback_fn callback, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:689:1: warning: 'int mdns_discovery_send(int)' defined but not used [-Wunused-function] 689 | mdns_discovery_send(int sock) { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:326:1: warning: 'int mdns_socket_open_ipv6(sockaddr_in6*)' defined but not used [-Wunused-function] 326 | mdns_socket_open_ipv6(struct sockaddr_in6* saddr) { | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/include/network/mdns.h:262:1: warning: 'int mdns_socket_open_ipv4(sockaddr_in*)' defined but not used [-Wunused-function] 262 | mdns_socket_open_ipv4(struct sockaddr_in* saddr) { | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp: In member function 'CServer::Send_MapFragment(CNetworkHost const&, unsigned int)': /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:1157:90: warning: 'fileSize' may be used uninitialized [-Wmaybe-uninitialized] 1157 | fragmentDataSize = std::min(fragmentDataSize, fileSize - offset); | ~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:1124:18: note: 'fileSize' was declared here 1124 | uint32_t fileSize; | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:1152:9: warning: 'fragmentDataSize' may be used uninitialized [-Wmaybe-uninitialized] 1152 | if (fragmentDataSize > 0) { | ^~ /builddir/build/BUILD/stratagus-3.3.2/src/network/netconnect.cpp:1123:18: note: 'fragmentDataSize' was declared here 1123 | uint32_t fragmentDataSize; | ^~~~~~~~~~~~~~~~ [ 5%] Building CXX object CMakeFiles/stratagus.dir/src/network/online_service.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/network/online_service.cpp.o -MF CMakeFiles/stratagus.dir/src/network/online_service.cpp.o.d -o CMakeFiles/stratagus.dir/src/network/online_service.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function 'uint64_t BNCSInputStream::read64()': /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:206:18: warning: unused variable 'nativeWordTwo' [-Wunused-variable] 206 | uint32_t nativeWordTwo = ntohl(wordTwo); | ^~~~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function 'void Context::sendText(std::string, bool)': /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:888:13: warning: unused variable 'pos' [-Wunused-variable] 888 | int pos = 0; | ^~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function 'void OnlineState::handleGamelist(Context*)': /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1507:18: warning: unused variable 'lang' [-Wunused-variable] 1507 | uint32_t lang = ctx->getMsgIStream()->read32(); | ^~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1508:18: warning: unused variable 'addr_fam' [-Wunused-variable] 1508 | uint16_t addr_fam = ctx->getMsgIStream()->read16(); | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1513:18: warning: unused variable 'sinzero1' [-Wunused-variable] 1513 | uint32_t sinzero1 = ctx->getMsgIStream()->read32(); | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1514:18: warning: unused variable 'sinzero2' [-Wunused-variable] 1514 | uint32_t sinzero2 = ctx->getMsgIStream()->read32(); | ^~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function 'void OnlineState::handleChatevent(Context*)': /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1553:14: warning: unused variable 'userFlags' [-Wunused-variable] 1553 | uint32_t userFlags = ctx->getMsgIStream()->read32(); | ^~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1554:14: warning: unused variable 'ping' [-Wunused-variable] 1554 | uint32_t ping = ctx->getMsgIStream()->read32(); | ^~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1555:14: warning: unused variable 'ip' [-Wunused-variable] 1555 | uint32_t ip = ctx->getMsgIStream()->read32(); | ^~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1556:14: warning: unused variable 'acn' [-Wunused-variable] 1556 | uint32_t acn = ctx->getMsgIStream()->read32(); | ^~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:1557:14: warning: unused variable 'reg' [-Wunused-variable] 1557 | uint32_t reg = ctx->getMsgIStream()->read32(); | ^~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp: In member function 'virtual void S2C_SID_AUTH_INFO::doOneStep(Context*)': /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:2037:22: warning: unused variable 'mpqFiletime' [-Wunused-variable] 2037 | uint64_t mpqFiletime = ctx->getMsgIStream()->readFiletime(); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:57: /builddir/build/BUILD/stratagus-3.3.2/src/network/./xsha1.h: At global scope: /builddir/build/BUILD/stratagus-3.3.2/src/network/./xsha1.h:94:21: warning: 'void pvpgn::do_hash(uint32_t (*)[5], uint32_t*)' declared 'static' but never defined [-Wunused-function] 94 | static void do_hash(t_hash * hash, std::uint32_t * tmp); | ^~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:2353:12: warning: 'int CclJoinGame(lua_State*)' defined but not used [-Wunused-function] 2353 | static int CclJoinGame(lua_State *l) { | ^~~~~~~~~~~ /builddir/build/BUILD/stratagus-3.3.2/src/network/online_service.cpp:2318:12: warning: 'int CclStep(lua_State*)' defined but not used [-Wunused-function] 2318 | static int CclStep(lua_State *l) { | ^~~~~~~ [ 5%] Building CXX object CMakeFiles/stratagus.dir/src/stratagus/stratagus.cpp.o /usr/bin/g++ -DDYNAMIC_LOAD -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/share/pixmaps\" -DUSE_BZ2LIB -DUSE_LINUX -DUSE_MNG -DUSE_OPENMP -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/builddir/build/BUILD/stratagus-3.3.2/src/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include -I/builddir/build/BUILD/stratagus-3.3.2/src/guichan/include/guichan -I/builddir/build/BUILD/stratagus-3.3.2/src/third_party -I/builddir/build/BUILD/stratagus-3.3.2/build -I/usr/include/lua-5.1 -I/usr/include/SDL2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -fopenmp -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/stratagus/stratagus.cpp.o -MF CMakeFiles/stratagus.dir/src/stratagus/stratagus.cpp.o.d -o CMakeFiles/stratagus.dir/src/stratagus/stratagus.cpp.o -c /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/stratagus.cpp In file included from /builddir/build/BUILD/stratagus-3.3.2/src/stratagus/stratagus.cpp:214: /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h: In function 'void print_backtrace(int)': /builddir/build/BUILD/stratagus-3.3.2/src/include/st_backtrace.h:10:9: warning: unused variable 'j' [-Wunused-variable] 10 | int j, nptrs; | ^ [ 6%] Linking CXX executable stratagus /usr/bin/cmake -E cmake_link_script CMakeFiles/stratagus.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -ggdb -fsigned-char -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/stratagus.dir/src/action/action_attack.cpp.o CMakeFiles/stratagus.dir/src/action/action_board.cpp.o CMakeFiles/stratagus.dir/src/action/action_build.cpp.o CMakeFiles/stratagus.dir/src/action/action_built.cpp.o CMakeFiles/stratagus.dir/src/action/action_defend.cpp.o CMakeFiles/stratagus.dir/src/action/action_die.cpp.o CMakeFiles/stratagus.dir/src/action/action_explore.cpp.o CMakeFiles/stratagus.dir/src/action/action_follow.cpp.o CMakeFiles/stratagus.dir/src/action/action_move.cpp.o CMakeFiles/stratagus.dir/src/action/action_patrol.cpp.o CMakeFiles/stratagus.dir/src/action/action_repair.cpp.o CMakeFiles/stratagus.dir/src/action/action_research.cpp.o CMakeFiles/stratagus.dir/src/action/action_resource.cpp.o CMakeFiles/stratagus.dir/src/action/action_spellcast.cpp.o CMakeFiles/stratagus.dir/src/action/action_still.cpp.o CMakeFiles/stratagus.dir/src/action/action_train.cpp.o CMakeFiles/stratagus.dir/src/action/action_unload.cpp.o CMakeFiles/stratagus.dir/src/action/action_upgradeto.cpp.o CMakeFiles/stratagus.dir/src/action/actions.cpp.o CMakeFiles/stratagus.dir/src/action/command.cpp.o CMakeFiles/stratagus.dir/src/animation/animation.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_attack.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_die.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_exactframe.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_frame.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_goto.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_ifvar.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_label.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_luacallback.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_move.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_randomgoto.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_randomrotate.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_randomsound.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_randomwait.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_rotate.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_setplayervar.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_setvar.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_sound.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_spawnmissile.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_spawnunit.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_unbreakable.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_wait.cpp.o CMakeFiles/stratagus.dir/src/animation/animation_wiggle.cpp.o CMakeFiles/stratagus.dir/src/ai/ai_building.cpp.o CMakeFiles/stratagus.dir/src/ai/ai.cpp.o CMakeFiles/stratagus.dir/src/ai/ai_force.cpp.o CMakeFiles/stratagus.dir/src/ai/ai_magic.cpp.o CMakeFiles/stratagus.dir/src/ai/ai_plan.cpp.o CMakeFiles/stratagus.dir/src/ai/ai_resource.cpp.o CMakeFiles/stratagus.dir/src/ai/script_ai.cpp.o CMakeFiles/stratagus.dir/src/editor/editloop.cpp.o CMakeFiles/stratagus.dir/src/editor/editor.cpp.o CMakeFiles/stratagus.dir/src/editor/edmap.cpp.o CMakeFiles/stratagus.dir/src/editor/script_editor.cpp.o CMakeFiles/stratagus.dir/src/game/game.cpp.o CMakeFiles/stratagus.dir/src/game/loadgame.cpp.o CMakeFiles/stratagus.dir/src/game/replay.cpp.o CMakeFiles/stratagus.dir/src/game/savegame.cpp.o CMakeFiles/stratagus.dir/src/game/trigger.cpp.o CMakeFiles/stratagus.dir/src/guichan/cliprectangle.cpp.o CMakeFiles/stratagus.dir/src/guichan/color.cpp.o CMakeFiles/stratagus.dir/src/guichan/defaultfont.cpp.o CMakeFiles/stratagus.dir/src/guichan/exception.cpp.o CMakeFiles/stratagus.dir/src/guichan/focushandler.cpp.o CMakeFiles/stratagus.dir/src/guichan/gfont.cpp.o CMakeFiles/stratagus.dir/src/guichan/graphics.cpp.o CMakeFiles/stratagus.dir/src/guichan/gui.cpp.o CMakeFiles/stratagus.dir/src/guichan/guichan.cpp.o CMakeFiles/stratagus.dir/src/guichan/image.cpp.o CMakeFiles/stratagus.dir/src/guichan/imagefont.cpp.o CMakeFiles/stratagus.dir/src/guichan/key.cpp.o CMakeFiles/stratagus.dir/src/guichan/keyinput.cpp.o CMakeFiles/stratagus.dir/src/guichan/mouseinput.cpp.o CMakeFiles/stratagus.dir/src/guichan/rectangle.cpp.o CMakeFiles/stratagus.dir/src/guichan/sdl/gsdl.cpp.o CMakeFiles/stratagus.dir/src/guichan/sdl/sdlgraphics.cpp.o CMakeFiles/stratagus.dir/src/guichan/sdl/sdlinput.cpp.o CMakeFiles/stratagus.dir/src/guichan/widget.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/button.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/container.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/dropdown.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/checkbox.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/icon.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/label.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/listbox.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/radiobutton.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/scrollarea.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/slider.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/textbox.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/textfield.cpp.o CMakeFiles/stratagus.dir/src/guichan/widgets/window.cpp.o CMakeFiles/stratagus.dir/src/map/fov.cpp.o CMakeFiles/stratagus.dir/src/map/fow.cpp.o CMakeFiles/stratagus.dir/src/map/fow_utils.cpp.o CMakeFiles/stratagus.dir/src/map/map.cpp.o CMakeFiles/stratagus.dir/src/map/map_draw.cpp.o CMakeFiles/stratagus.dir/src/map/map_fog.cpp.o CMakeFiles/stratagus.dir/src/map/map_radar.cpp.o CMakeFiles/stratagus.dir/src/map/map_wall.cpp.o CMakeFiles/stratagus.dir/src/map/mapfield.cpp.o CMakeFiles/stratagus.dir/src/map/minimap.cpp.o CMakeFiles/stratagus.dir/src/map/script_map.cpp.o CMakeFiles/stratagus.dir/src/map/script_tileset.cpp.o CMakeFiles/stratagus.dir/src/map/tileset.cpp.o CMakeFiles/stratagus.dir/src/missile/missile.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_cliptotarget.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_continuous.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_cycleonce.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_deathcoil.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_fire.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_flameshield.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_hit.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_landmine.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_none.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_parabolic.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_pointotpointwithhit.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_pointtopoint.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_pointtopointbounce.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_pointtopointcycleonce.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_stay.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_straightfly.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_tracer.cpp.o CMakeFiles/stratagus.dir/src/missile/missile_whirlwind.cpp.o CMakeFiles/stratagus.dir/src/missile/missileconfig.cpp.o CMakeFiles/stratagus.dir/src/missile/script_missile.cpp.o CMakeFiles/stratagus.dir/src/network/commands.cpp.o CMakeFiles/stratagus.dir/src/network/net_lowlevel.cpp.o CMakeFiles/stratagus.dir/src/network/net_message.cpp.o CMakeFiles/stratagus.dir/src/network/netconnect.cpp.o CMakeFiles/stratagus.dir/src/network/network.cpp.o CMakeFiles/stratagus.dir/src/network/netsockets.cpp.o CMakeFiles/stratagus.dir/src/network/online_service.cpp.o CMakeFiles/stratagus.dir/src/network/mdns.cpp.o CMakeFiles/stratagus.dir/src/particle/graphicanimation.cpp.o CMakeFiles/stratagus.dir/src/particle/chunkparticle.cpp.o CMakeFiles/stratagus.dir/src/particle/particlemanager.cpp.o CMakeFiles/stratagus.dir/src/particle/radialparticle.cpp.o CMakeFiles/stratagus.dir/src/particle/smokeparticle.cpp.o CMakeFiles/stratagus.dir/src/particle/staticparticle.cpp.o CMakeFiles/stratagus.dir/src/pathfinder/astar.cpp.o CMakeFiles/stratagus.dir/src/pathfinder/pathfinder.cpp.o CMakeFiles/stratagus.dir/src/pathfinder/script_pathfinder.cpp.o CMakeFiles/stratagus.dir/src/sound/music.cpp.o CMakeFiles/stratagus.dir/src/sound/script_sound.cpp.o CMakeFiles/stratagus.dir/src/sound/sound.cpp.o CMakeFiles/stratagus.dir/src/sound/sound_id.cpp.o CMakeFiles/stratagus.dir/src/sound/sound_server.cpp.o CMakeFiles/stratagus.dir/src/sound/unitsound.cpp.o CMakeFiles/stratagus.dir/src/spell/script_spell.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_adjustvariable.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_adjustvital.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_areaadjustvital.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_areabombardment.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_capture.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_demolish.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_luacallback.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_polymorph.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_spawnmissile.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_spawnportal.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_summon.cpp.o CMakeFiles/stratagus.dir/src/spell/spell_teleport.cpp.o CMakeFiles/stratagus.dir/src/spell/spells.cpp.o CMakeFiles/stratagus.dir/src/stratagus/construct.cpp.o CMakeFiles/stratagus.dir/src/stratagus/groups.cpp.o CMakeFiles/stratagus.dir/src/stratagus/iolib.cpp.o CMakeFiles/stratagus.dir/src/stratagus/luacallback.cpp.o CMakeFiles/stratagus.dir/src/stratagus/main.cpp.o CMakeFiles/stratagus.dir/src/stratagus/mainloop.cpp.o CMakeFiles/stratagus.dir/src/stratagus/parameters.cpp.o CMakeFiles/stratagus.dir/src/stratagus/player.cpp.o CMakeFiles/stratagus.dir/src/stratagus/script.cpp.o CMakeFiles/stratagus.dir/src/stratagus/script_player.cpp.o CMakeFiles/stratagus.dir/src/stratagus/selection.cpp.o CMakeFiles/stratagus.dir/src/stratagus/stratagus.cpp.o CMakeFiles/stratagus.dir/src/stratagus/title.cpp.o CMakeFiles/stratagus.dir/src/stratagus/translate.cpp.o CMakeFiles/stratagus.dir/src/stratagus/util.cpp.o CMakeFiles/stratagus.dir/src/ui/botpanel.cpp.o CMakeFiles/stratagus.dir/src/ui/button_checks.cpp.o CMakeFiles/stratagus.dir/src/ui/contenttype.cpp.o CMakeFiles/stratagus.dir/src/ui/icons.cpp.o CMakeFiles/stratagus.dir/src/ui/interface.cpp.o CMakeFiles/stratagus.dir/src/ui/mainscr.cpp.o CMakeFiles/stratagus.dir/src/ui/uibuttons_proc.cpp.o CMakeFiles/stratagus.dir/src/ui/mouse.cpp.o CMakeFiles/stratagus.dir/src/ui/popup.cpp.o CMakeFiles/stratagus.dir/src/ui/script_ui.cpp.o CMakeFiles/stratagus.dir/src/ui/statusline.cpp.o CMakeFiles/stratagus.dir/src/ui/ui.cpp.o CMakeFiles/stratagus.dir/src/ui/uitimer.cpp.o CMakeFiles/stratagus.dir/src/ui/widgets.cpp.o CMakeFiles/stratagus.dir/src/unit/build.cpp.o CMakeFiles/stratagus.dir/src/unit/depend.cpp.o CMakeFiles/stratagus.dir/src/unit/script_unit.cpp.o CMakeFiles/stratagus.dir/src/unit/script_unittype.cpp.o CMakeFiles/stratagus.dir/src/unit/unit_cache.cpp.o CMakeFiles/stratagus.dir/src/unit/unit.cpp.o CMakeFiles/stratagus.dir/src/unit/unit_draw.cpp.o CMakeFiles/stratagus.dir/src/unit/unit_find.cpp.o CMakeFiles/stratagus.dir/src/unit/unit_manager.cpp.o CMakeFiles/stratagus.dir/src/unit/unit_save.cpp.o CMakeFiles/stratagus.dir/src/unit/unitptr.cpp.o CMakeFiles/stratagus.dir/src/unit/unittype.cpp.o CMakeFiles/stratagus.dir/src/unit/upgrade.cpp.o CMakeFiles/stratagus.dir/src/video/color.cpp.o CMakeFiles/stratagus.dir/src/video/cursor.cpp.o CMakeFiles/stratagus.dir/src/video/font.cpp.o CMakeFiles/stratagus.dir/src/video/graphic.cpp.o CMakeFiles/stratagus.dir/src/video/linedraw.cpp.o CMakeFiles/stratagus.dir/src/video/mng.cpp.o CMakeFiles/stratagus.dir/src/video/movie.cpp.o CMakeFiles/stratagus.dir/src/video/png.cpp.o CMakeFiles/stratagus.dir/src/video/sdl.cpp.o CMakeFiles/stratagus.dir/src/video/video.cpp.o CMakeFiles/stratagus.dir/src/video/shaders.cpp.o CMakeFiles/stratagus.dir/tolua.cpp.o -o stratagus -lstdc++fs /usr/lib/liblua-5.1.so /usr/lib/libm.so /usr/lib/libSDL2.so /usr/lib/libSDL2_mixer.so /usr/lib/libSDL2_image.so /usr/lib/libtolua++.so /usr/lib/libz.so /usr/lib/libbz2.so /usr/lib/libmng.so /usr/lib/libogg.so /usr/lib/libvorbis.so /usr/lib/libtheora.so /usr/lib/libogg.so /usr/lib/libvorbis.so /usr/lib/libtheora.so /usr/lib/gcc/i686-redhat-linux/13/libgomp.so /usr/lib/libpthread.a make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' [ 99%] Built target stratagus make -f CMakeFiles/png2stratagus.dir/build.make CMakeFiles/png2stratagus.dir/depend make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' cd /builddir/build/BUILD/stratagus-3.3.2/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2 /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles/png2stratagus.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' make -f CMakeFiles/png2stratagus.dir/build.make CMakeFiles/png2stratagus.dir/build make[2]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' make[2]: Nothing to be done for 'CMakeFiles/png2stratagus.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' [100%] Built target png2stratagus make[1]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/stratagus-3.3.2/build/CMakeFiles 0 make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/builddir/build/BUILD/stratagus-3.3.2/build' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386/usr/bin/stratagus -- Installing: /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386/usr/bin/png2stratagus -- Installing: /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386/usr/include/stratagus-game-installer.nsi -- Installing: /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386/usr/include/stratagus-gameutils.h -- Installing: /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386/usr/include/stratagus-game-launcher.h -- Installing: /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386/usr/include/stratagus-tinyfiledialogs.h make: Leaving directory '/builddir/build/BUILD/stratagus-3.3.2/build' + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 3.3.2-1.fc38 --unique-debug-suffix -3.3.2-1.fc38.i386 --unique-debug-src-base stratagus-3.3.2-1.fc38.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/stratagus-3.3.2 extracting debug info from /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386/usr/bin/png2stratagus extracting debug info from /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386/usr/bin/stratagus original debug info size: 44992kB, size after compression: 32148kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 9630 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: stratagus-3.3.2-1.fc38.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lzMMVi + umask 022 + cd /builddir/build/BUILD + cd stratagus-3.3.2 + DOCDIR=/builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386/usr/share/doc/stratagus + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386/usr/share/doc/stratagus + cp -pr README.md /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386/usr/share/doc/stratagus + cp -pr doc/ /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386/usr/share/doc/stratagus + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.BcFDP9 + umask 022 + cd /builddir/build/BUILD + cd stratagus-3.3.2 + LICENSEDIR=/builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386/usr/share/licenses/stratagus + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386/usr/share/licenses/stratagus + cp -pr COPYING /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386/usr/share/licenses/stratagus + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(guichan) stratagus = 3.3.2-1.fc38 stratagus(x86-32) = 3.3.2-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libSDL2-2.0.so.0 libSDL2_image-2.0.so.0 libSDL2_mixer-2.0.so.0 libbz2.so.1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.16) libc.so.6(GLIBC_2.28) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.32) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libgcc_s.so.1(GLIBC_2.0) libgomp.so.1 libgomp.so.1(GOMP_4.0) libgomp.so.1(OMP_1.0) liblua-5.1.so libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1) libmng.so.2 libogg.so.0 libpng16.so.16 libpng16.so.16(PNG16_0) libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(CXXABI_1.3.5) 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.11) libstdc++.so.6(GLIBCXX_3.4.14) libstdc++.so.6(GLIBCXX_3.4.15) libstdc++.so.6(GLIBCXX_3.4.18) libstdc++.so.6(GLIBCXX_3.4.19) libstdc++.so.6(GLIBCXX_3.4.20) libstdc++.so.6(GLIBCXX_3.4.21) libstdc++.so.6(GLIBCXX_3.4.26) libstdc++.so.6(GLIBCXX_3.4.29) libstdc++.so.6(GLIBCXX_3.4.30) libstdc++.so.6(GLIBCXX_3.4.9) libtheora.so.0 libtheora.so.0(libtheora.so.1.0) libtolua++-5.1.so libvorbis.so.0 libz.so.1 rtld(GNU_HASH) Processing files: stratagus-devel-3.3.2-1.fc38.noarch Provides: stratagus-devel = 3.3.2-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: stratagus-debugsource-3.3.2-1.fc38.i686 Provides: stratagus-debugsource = 3.3.2-1.fc38 stratagus-debugsource(x86-32) = 3.3.2-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: stratagus-debuginfo-3.3.2-1.fc38.i686 Provides: debuginfo(build-id) = b65b8f8b6fa1c0af98f23d7da3020b3857d91058 debuginfo(build-id) = ff3c144fc6cc112b3bdcee3047e2dd034dec32df stratagus-debuginfo = 3.3.2-1.fc38 stratagus-debuginfo(x86-32) = 3.3.2-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: stratagus-debugsource(x86-32) = 3.3.2-1.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386 Wrote: /builddir/build/RPMS/stratagus-debugsource-3.3.2-1.fc38.i686.rpm Wrote: /builddir/build/RPMS/stratagus-3.3.2-1.fc38.i686.rpm Wrote: /builddir/build/RPMS/stratagus-devel-3.3.2-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/stratagus-debuginfo-3.3.2-1.fc38.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xMF4Ex + umask 022 + cd /builddir/build/BUILD + cd stratagus-3.3.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/stratagus-3.3.2-1.fc38.i386 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.Q5wqss + umask 022 + cd /builddir/build/BUILD + rm -rf stratagus-3.3.2 stratagus-3.3.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0